Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
32841e29
Commit
32841e29
authored
Jun 14, 1996
by
David Byers
Browse files
Include-only-once ifdefs added.
(Async): Added ay_dummy_last (ASYNC_DEFAULT_MESSAGES): New define.
parent
b395fc89
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/async.h
View file @
32841e29
/*
* $Id: async.h,v 0.
6
199
5
/0
1/01 20:17:19 ced
er Exp $
* $Id: async.h,v 0.
7
199
6
/0
6/14 15:34:29 by
er
s
Exp $
* Copyright (C) 1991, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -23,13 +23,16 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: async.h,v 0.
6
199
5
/0
1/01 20:17:19 ced
er Exp $
* $Id: async.h,v 0.
7
199
6
/0
6/14 15:34:29 by
er
s
Exp $
*
* This file contains the parts of the async protocol that are common
* to the server and the client.
*/
#ifndef LYSKOM_ASYNC_H
#define LYSKOM_ASYNC_H
/*
* What does this packet contain? (See doc/com-spec)
*/
...
...
@@ -53,6 +56,18 @@ typedef enum {
/* A connection attempt was rejected
because LysKOM is full. */
ay_send_message
=
12
,
/* A message is sent. */
ay_logout
=
13
/* Someone logs out. */
ay_logout
=
13
,
/* Someone logs out. */
ay_dummy_last
/* Keep this last in the list */
}
Async
;
#define ASYNC_DEFAULT_MESSAGES { ay_new_text, \
ay_new_name, \
ay_sync_db, \
ay_login, \
ay_rejected_connection, \
ay_send_message, \
ay_logout }
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment