diff --git a/src/server/prot-a-send-async.c b/src/server/prot-a-send-async.c index 94f2aa76401175bd2773a5614f1128a35f03d903..3c87749a0f956a329d32653b8af343caaed48096 100644 --- a/src/server/prot-a-send-async.c +++ b/src/server/prot-a-send-async.c @@ -1,5 +1,5 @@ /* - * $Id: prot-a-send-async.c,v 0.29 2002/03/29 22:38:04 ceder Exp $ + * $Id: prot-a-send-async.c,v 0.30 2003/01/06 13:10:09 ceder Exp $ * Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -238,6 +238,21 @@ prot_a_async_new_membership(Connection *cptr, async_trailer(cptr); } +void +prot_a_async_new_user_area(Connection *cptr, + Pers_no pers_no, + Text_no old_user_area, + Text_no new_user_area) +{ + ASYNC_CHECK_ACCEPT(cptr, ay_new_user_area); + async_header(cptr, 3, ay_new_user_area); + prot_a_output_ul(cptr, pers_no); + prot_a_output_ul(cptr, old_user_area); + prot_a_output_ul(cptr, new_user_area); + async_trailer(cptr); +} + + #ifdef DEBUG_CALLS void diff --git a/src/server/prot-a-send-async.h b/src/server/prot-a-send-async.h index 322a00017fedddf534695ffc9d43826c2208b23e..3dfcc67161e238052b6df8812e2a7c38108759ce 100644 --- a/src/server/prot-a-send-async.h +++ b/src/server/prot-a-send-async.h @@ -1,5 +1,5 @@ /* - * $Id: prot-a-send-async.h,v 0.17 2002/03/29 22:38:04 ceder Exp $ + * $Id: prot-a-send-async.h,v 0.18 2003/01/06 13:10: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.17 2002/03/29 22:38:04 ceder Exp $ + * $Id: prot-a-send-async.h,v 0.18 2003/01/06 13:10:07 ceder Exp $ * * Asynchronous messages in protocol A. */ @@ -108,6 +108,12 @@ prot_a_async_new_membership(Connection *cptr, Pers_no pers_no, Conf_no conf_no); +void +prot_a_async_new_user_area(Connection *cptr, + Pers_no pers_no, + Text_no old_user_area, + Text_no new_user_area); + #ifdef DEBUG_CALLS void prot_a_async_garb_ended(Connection *cptr,