diff options
author | June McEnroe <june@causal.agency> | 2020-02-01 02:33:17 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-01 02:33:17 -0500 |
commit | 03cb0d7c04d287ba95b26924620ece0855002ad5 (patch) | |
tree | 1906bd93e28d13b03b31da2e06ef70b1729b7252 /chat.c | |
parent | Add -v flag (diff) | |
download | catgirl-03cb0d7c04d287ba95b26924620ece0855002ad5.tar.gz catgirl-03cb0d7c04d287ba95b26924620ece0855002ad5.zip |
Add IDs and names
Diffstat (limited to '')
-rw-r--r-- | chat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chat.c b/chat.c index 5796085..462faa0 100644 --- a/chat.c +++ b/chat.c @@ -23,6 +23,13 @@ #include "chat.h" +char *idNames[IDCap] = { + [None] = "<none>", + [Debug] = "<debug>", + [Network] = "<network>", +}; +size_t idNext = Network + 1; + struct Self self; int main(int argc, char *argv[]) { |