diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-02 05:54:31 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-02 05:54:31 +0100 |
commit | 5e67a4962e242e05776d731a7cb6f5cdd5cfd9da (patch) | |
tree | fcd38b9334320b977eca2cfbda5c050f6a87050a /libglouglou/libglouglou.h | |
parent | work in progress on sendbuf (diff) | |
download | glouglou-5e67a4962e242e05776d731a7cb6f5cdd5cfd9da.tar.xz glouglou-5e67a4962e242e05776d731a7cb6f5cdd5cfd9da.zip |
work in progress for sendbuf support.
now it compiles :)
Diffstat (limited to 'libglouglou/libglouglou.h')
-rw-r--r-- | libglouglou/libglouglou.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libglouglou/libglouglou.h b/libglouglou/libglouglou.h index 4cd17f2..989bdff 100644 --- a/libglouglou/libglouglou.h +++ b/libglouglou/libglouglou.h @@ -131,7 +131,8 @@ struct gg_server { int (*handle_conn)(struct gg_server *, struct gg_user *); int (*handle_packet)(struct gg_server *, struct gg_user *, struct gg_packet *); void *usrdata; - LIST_HEAD(, gg_user) user_list; + LIST_HEAD(, gg_user) user_list; + int user_count; int user_id_count; }; @@ -152,6 +153,7 @@ struct gg_client { int (*handle_conn)(struct gg_client *); int (*handle_packet)(struct gg_client *, struct gg_packet *); void *usrdata; + struct sendbuf *sbuf; }; struct gg_server *gg_server_start(struct event_base *, char *, int, |