diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-06 00:55:51 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-06 00:55:51 +0100 |
commit | f3df1c7ac8182f9b250e0aab7e91b8a0d74c2cb2 (patch) | |
tree | cac281b94973791ea82138caf5d3b57a37b138a0 /ARCHITECTURE.txt | |
parent | new architecture doc (diff) | |
download | glouglou-f3df1c7ac8182f9b250e0aab7e91b8a0d74c2cb2.tar.xz glouglou-f3df1c7ac8182f9b250e0aab7e91b8a0d74c2cb2.zip |
tweaks
Diffstat (limited to '')
-rw-r--r-- | ARCHITECTURE.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ARCHITECTURE.txt b/ARCHITECTURE.txt index 2948f4e..721b094 100644 --- a/ARCHITECTURE.txt +++ b/ARCHITECTURE.txt @@ -27,7 +27,7 @@ gg_server_start(char *ip, int port, int (*handle_packet)(struct gg_server *s, struct gg_packet *p)); int -gg_server_send(struct gg_server *s, int client_id, void *p); +gg_server_send(struct gg_server *s, int client_id, struct gg_packet *p); void gg_server_stop(struct gg_server *s); @@ -38,11 +38,11 @@ gg_server_stop(struct gg_server *s); */ struct gg_client * gg_client_connect(char *ip, int port, - int (*handle_conn)(struct gg_client *c, struct sockaddr_in *addr), + int (*handle_conn)(struct gg_client *c, int status), int (*handle_packet)(struct gg_client *c, struct gg_packet *p)); int -gg_client_send(struct gg_client *c, void *p); +gg_client_send(struct gg_client *c, struct gg_packet *p); void gg_client_disconnect(struct gg_client *c); |