projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added quit msg to send before network close
[my-code/ivac.git]
/
src
/
ivac.h
diff --git
a/src/ivac.h
b/src/ivac.h
index
9fb5263
..
b635160
100644
(file)
--- a/
src/ivac.h
+++ b/
src/ivac.h
@@
-28,6
+28,7
@@
#define IVAC_SEND_NAME 'n'
#define IVAC_SEND_G_CAP 'g'
#define IVAC_SEND_AV_CAP 'c'
#define IVAC_SEND_NAME 'n'
#define IVAC_SEND_G_CAP 'g'
#define IVAC_SEND_AV_CAP 'c'
+#define IVAC_SEND_QUIT 'q'
#define NETWORK (1<<0)
#define NETWORK (1<<0)
@@
-41,6
+42,9
@@
#define IVAC_PROMPT_LEN 3
#define IVAC_CONSOLE_LEN 8
#define IVAC_PROMPT_LEN 3
#define IVAC_CONSOLE_LEN 8
+#define IVAC_ARG_LEN CHAR_USERNAME
+#define IVAC_ARG_COUNT 4
+
/* variables */
typedef struct s_challenger {
char name[CHAR_USERNAME];
/* variables */
typedef struct s_challenger {
char name[CHAR_USERNAME];