Commit 09309918 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(async_text_aux_changed): New function.

parent 460b7547
/*
* $Id: send-async.c,v 0.48 2003/08/16 11:28:56 ceder Exp $
* $Id: send-async.c,v 0.49 2003/08/16 15:32:25 ceder Exp $
* Copyright (C) 1991, 1993-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -630,6 +630,31 @@ async_new_motd(Connection *cptr,
}
}
void
async_text_aux_changed(Connection *cptr,
Text_no text_no,
Aux_item_list *aux_list,
unsigned long highest_old_aux)
{
if (!param.send_async_messages)
return;
switch(cptr->protocol)
{
case 0:
/* No protocol specified yet */
break;
case 'A':
if (handshake_ok(cptr, 0) && cptr->want_async[ay_text_aux_changed])
prot_a_async_text_aux_changed(cptr, text_no, aux_list,
highest_old_aux);
break;
default:
restart_kom("async_text_aux_changed(): bad protocol.\n");
break;
}
}
#ifdef DEBUG_CALLS
void
......
/*
* $Id: send-async.h,v 0.22 2003/08/16 11:28:56 ceder Exp $
* $Id: send-async.h,v 0.23 2003/08/16 15:32:24 ceder Exp $
* Copyright (C) 1991, 1994-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please report bugs at http://bugzilla.lysator.liu.se/.
*/
/*
* $Id: send-async.h,v 0.22 2003/08/16 11:28:56 ceder Exp $
* $Id: send-async.h,v 0.23 2003/08/16 15:32:24 ceder Exp $
*
*/
extern void
......@@ -116,6 +116,12 @@ async_new_motd(Connection *cptr,
Text_no old_motd,
Text_no new_motd);
void
async_text_aux_changed(Connection *cptr,
Text_no text_no,
Aux_item_list *aux_list,
unsigned long highest_old_aux);
#ifdef DEBUG_CALLS
void
......
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