Commit 207d7915 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_async_i_am_off, prot_a_async_broadcast): Removed.

(prot_a_async_send_message): The recipient is now a Conf_no, not
	necessarily a Pers_no.
parent 4fda53db
/*
* $Id: prot-a-send-async.c,v 0.9 1994/04/05 08:03:36 ceder Exp $
* $Id: prot-a-send-async.c,v 0.10 1994/12/31 11:54:27 ceder Exp $
* Copyright (C) 1991, 1993 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -26,7 +26,7 @@
* Asynchronous messages in protocol A.
*/
static char *rcsid = "$Id: prot-a-send-async.c,v 0.9 1994/04/05 08:03:36 ceder Exp $";
static char *rcsid = "$Id: prot-a-send-async.c,v 0.10 1994/12/31 11:54:27 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -90,16 +90,6 @@ prot_a_async_i_am_on(Connection *cptr,
async_trailer(cptr);
}
void
prot_a_async_i_am_off(Connection *cptr,
Pers_no pers_no)
{
async_header(cptr, 1, ay_i_am_off);
mux_printf(cptr, " %lu", pers_no);
async_trailer(cptr);
}
void
prot_a_async_logout(Connection *cptr,
Pers_no pers_no,
......@@ -150,21 +140,6 @@ prot_a_async_login(Connection *cptr,
(unsigned long)session_no);
async_trailer(cptr);
}
void
prot_a_async_broadcast(Connection *cptr,
Pers_no pers_no,
String message)
{
prot_a_async_send_message(cptr, 0, pers_no, message);
#if 0
async_header(cptr, 2, ay_broadcast);
mux_printf(cptr, " %lu", (unsigned long)pers_no);
prot_a_output_string(cptr, message);
async_trailer(cptr);
#endif
}
void
prot_a_async_rejected_connection(Connection *cptr)
......@@ -175,7 +150,7 @@ prot_a_async_rejected_connection(Connection *cptr)
void
prot_a_async_send_message(Connection *cptr,
Pers_no recipient,
Conf_no recipient,
Pers_no sender,
String message)
{
......
/*
* $Id: prot-a-send-async.h,v 0.3 1991/09/15 10:30:00 linus Exp $
* $Id: prot-a-send-async.h,v 0.4 1994/12/31 11:54:36 ceder Exp $
* Copyright (C) 1991 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.3 1991/09/15 10:30:00 linus Exp $
* $Id: prot-a-send-async.h,v 0.4 1994/12/31 11:54:36 ceder Exp $
*
* Asynchronous messages in protocol A.
*/
......@@ -37,9 +37,6 @@ void
prot_a_async_i_am_on(Connection *cptr,
Who_info info);
void
prot_a_async_i_am_off(Connection *cptr,
Pers_no pers_no);
void
prot_a_async_logout(Connection *cptr,
Pers_no pers_no,
Session_no session_no);
......@@ -62,17 +59,11 @@ prot_a_async_login(Connection *cptr,
Pers_no pers_no,
int session_no);
void
prot_a_async_broadcast(Connection *cptr,
Pers_no pers_no,
String message);
void
prot_a_async_rejected_connection(Connection *cptr);
void
prot_a_async_send_message(Connection *cptr,
Pers_no recipient,
Conf_no recipient,
Pers_no sender,
String message);
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