Commit 114c21e4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_async_garb_ended): New function, only present when DEBUG_CALLS

	is defined.
parent f982a56a
/*
* $Id: prot-a-send-async.c,v 0.23 1999/05/24 09:34:33 ceder Exp $
* $Id: prot-a-send-async.c,v 0.24 1999/05/30 09:26:23 ceder Exp $
* Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
#endif
static const char *
rcsid = "$Id: prot-a-send-async.c,v 0.23 1999/05/24 09:34:33 ceder Exp $";
rcsid = "$Id: prot-a-send-async.c,v 0.24 1999/05/30 09:26:23 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -242,3 +242,17 @@ prot_a_async_new_membership(Connection *cptr,
prot_a_output_ul(cptr, conf_no);
async_trailer(cptr);
}
#ifdef DEBUG_CALLS
void
prot_a_async_garb_ended(Connection *cptr,
int deleted_texts)
{
ASYNC_CHECK_ACCEPT(cptr, ay_garb_ended);
async_header(cptr, 1, ay_garb_ended);
prot_a_output_ul(cptr, deleted_texts);
async_trailer(cptr);
}
#endif
/*
* $Id: prot-a-send-async.h,v 0.13 1999/05/24 09:38:28 ceder Exp $
* $Id: prot-a-send-async.h,v 0.14 1999/05/30 09:26:24 ceder Exp $
* Copyright (C) 1991, 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: prot-a-send-async.h,v 0.13 1999/05/24 09:38:28 ceder Exp $
* $Id: prot-a-send-async.h,v 0.14 1999/05/30 09:26:24 ceder Exp $
*
* Asynchronous messages in protocol A.
*/
......@@ -107,3 +107,9 @@ void
prot_a_async_new_membership(Connection *cptr,
Pers_no pers_no,
Conf_no conf_no);
#ifdef DEBUG_CALLS
void
prot_a_async_garb_ended(Connection *cptr,
int deleted_texts);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment