aboutsummaryrefslogtreecommitdiffstats
path: root/ARCHITECTURE.txt
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-02 15:39:06 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-02 15:39:06 +0100
commit9824878d04a33f1982465e408f07bcb347c82c9f (patch)
tree8f50d0d0308811485d1b628ec2102d51f3cff335 /ARCHITECTURE.txt
parentfix sendrecv unit test by using send buffer flush functions (diff)
downloadglouglou-9824878d04a33f1982465e408f07bcb347c82c9f.tar.xz
glouglou-9824878d04a33f1982465e408f07bcb347c82c9f.zip
move some files to doc/
Diffstat (limited to 'ARCHITECTURE.txt')
-rw-r--r--ARCHITECTURE.txt48
1 files changed, 0 insertions, 48 deletions
diff --git a/ARCHITECTURE.txt b/ARCHITECTURE.txt
deleted file mode 100644
index 721b094..0000000
--- a/ARCHITECTURE.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-===============================================================================
-2012-11-06_00-19
-
-refer to architecture.xoj for big picture
-* libglouglou
-* viz clients
-* probes (trackproc, netsniff, fwsniff)
-
-===============================================================================
-libglouglou/includes
-* protocol version
-* packet structure
-* common constants
-
-===============================================================================
-libglouglou/lib
-* client and server code
-* tools
-
-/*
- * start a server
- * totaly unblocking, using libevent
- */
-struct gg_server *
-gg_server_start(char *ip, int port,
- int (*handle_conn)(struct gg_server *s, int client_id, struct sockaddr_in *addr),
- int (*handle_packet)(struct gg_server *s, struct gg_packet *p));
-
-int
-gg_server_send(struct gg_server *s, int client_id, struct gg_packet *p);
-
-void
-gg_server_stop(struct gg_server *s);
-
-/*
- * connect to a server
- * totaly unblocking, using libevent
- */
-struct gg_client *
-gg_client_connect(char *ip, int port,
- 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, struct gg_packet *p);
-
-void
-gg_client_disconnect(struct gg_client *c);