Commit 08b52116 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(async_new_presentation): New function.

parent 1e9c9259
/*
* $Id: send-async.c,v 0.44 2003/08/05 09:50:53 ceder Exp $
* $Id: send-async.c,v 0.45 2003/08/08 20:57:28 ceder Exp $
* Copyright (C) 1991, 1993-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -577,6 +577,34 @@ async_new_user_area(Pers_no person,
}
}
void
async_new_presentation(Connection *cptr,
Conf_no conf_no,
Text_no old_presentation,
Text_no new_presentation)
{
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_new_presentation] == TRUE)
{
prot_a_async_new_presentation(cptr, conf_no, old_presentation,
new_presentation);
}
break;
default:
restart_kom("async_new_presentation(): bad protocol.\n");
break;
}
}
#ifdef DEBUG_CALLS
void
......
/*
* $Id: send-async.h,v 0.19 2003/01/06 13:10:02 ceder Exp $
* $Id: send-async.h,v 0.20 2003/08/08 20:57:25 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: send-async.h,v 0.19 2003/01/06 13:10:02 ceder Exp $
* $Id: send-async.h,v 0.20 2003/08/08 20:57:25 ceder Exp $
*
*/
extern void
......@@ -104,6 +104,13 @@ async_new_user_area(Pers_no person,
Text_no old_user_area,
Text_no new_user_area);
void
async_new_presentation(Connection *cptr,
Conf_no conf_no,
Text_no old_presentation,
Text_no new_presentation);
#ifdef DEBUG_CALLS
void
async_garb_ended(int no_deleted);
......
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