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

(prot_a_async_new_motd): New function.

parent 5ebe9a5b
/*
* $Id: prot-a-send-async.c,v 0.34 2003/08/08 20:57:32 ceder Exp $
* $Id: prot-a-send-async.c,v 0.35 2003/08/08 21:45:09 ceder Exp $
* Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -270,6 +270,20 @@ prot_a_async_new_presentation(Connection *cptr,
async_trailer(cptr);
}
void
prot_a_async_new_motd(Connection *cptr,
Conf_no conf_no,
Text_no old_motd,
Text_no new_motd)
{
ASYNC_CHECK_ACCEPT(cptr, ay_new_motd);
async_header(cptr, 3, ay_new_motd);
prot_a_output_ul(cptr, conf_no);
prot_a_output_ul(cptr, old_motd);
prot_a_output_ul(cptr, new_motd);
async_trailer(cptr);
}
#ifdef DEBUG_CALLS
......
/*
* $Id: prot-a-send-async.h,v 0.19 2003/08/08 20:57:30 ceder Exp $
* $Id: prot-a-send-async.h,v 0.20 2003/08/08 21:45:07 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 mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: prot-a-send-async.h,v 0.19 2003/08/08 20:57:30 ceder Exp $
* $Id: prot-a-send-async.h,v 0.20 2003/08/08 21:45:07 ceder Exp $
*
* Asynchronous messages in protocol A.
*/
......@@ -120,6 +120,12 @@ prot_a_async_new_presentation(Connection *cptr,
Text_no old_presentation,
Text_no new_presentation);
void
prot_a_async_new_motd(Connection *cptr,
Conf_no conf_no,
Text_no old_motd,
Text_no new_motd);
#ifdef DEBUG_CALLS
void
prot_a_async_garb_ended(Connection *cptr,
......
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