Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | indent fix, pass 2 | Laurent Ghigonis | 2013-06-05 | 1 | -22/+27 |
| | | | | no functional change | ||||
* | convert to tabs, and fix some indent manualy | Laurent Ghigonis | 2013-06-05 | 1 | -87/+88 |
| | | | | no functionnal change | ||||
* | double GGNET_DNSNAME_MAX and GG_PKTARG_MAX to allow for longer fqdn | Laurent Ghigonis | 2012-12-15 | 1 | -1/+1 |
| | |||||
* | better packet encode / decode and size display, and colorisation of blobs | Laurent Ghigonis | 2012-12-11 | 1 | -0/+6 |
| | | | | depending on connection id. | ||||
* | define constant for size factor ratio for the packet size | Laurent Ghigonis | 2012-12-11 | 1 | -0/+1 |
| | |||||
* | droppriv(): ability not to chroot, and to chroot in a specific directory | Laurent Ghigonis | 2012-12-02 | 1 | -1/+1 |
| | | | | WARNING: droppriv() API breakage | ||||
* | use BSD queue.h on linux from libbsd | Laurent Ghigonis | 2012-12-02 | 1 | -8/+8 |
| | |||||
* | prefix log_* functions by gg_ | Laurent Ghigonis | 2012-12-02 | 1 | -7/+11 |
| | |||||
* | source cleanup and utils improvements | Laurent Ghigonis | 2012-12-02 | 1 | -16/+24 |
| | | | | | | | * move utils functions to utils.c * add log functions * use an ifndef for the whole libglouglou.h for multiple inclusion * move gg_packet_props to libglougloud.c and set it as extern in libglouglou.h | ||||
* | add functions to flush send buffers | Laurent Ghigonis | 2012-12-02 | 1 | -0/+2 |
| | |||||
* | reorganise functions order. | Laurent Ghigonis | 2012-12-02 | 1 | -2/+2 |
| | | | | | no functionnal change. TODO-- | ||||
* | work in progress for sendbuf support. | Laurent Ghigonis | 2012-12-02 | 1 | -1/+3 |
| | | | | now it compiles :) | ||||
* | work in progress on sendbuf | Laurent Ghigonis | 2012-12-01 | 1 | -1/+1 |
| | |||||
* | work in progress on implementing a send buffer | Laurent Ghigonis | 2012-12-01 | 1 | -0/+1 |
| | |||||
* | handle process exit events | Laurent Ghigonis | 2012-11-30 | 1 | -1/+12 |
| | |||||
* | work on encoding / decoding gg_packet | Laurent Ghigonis | 2012-11-30 | 1 | -39/+52 |
| | | | | | | | | | | | * we now do the byte order convertion in libglouglou when *_send(pkt) is called * fix encoding and decoding: byte order, packet len * simpler packet representation, one layer of structs only * setup a nicer solution to get packets size depending on their type * when in verbose mode, show which check failed in pkt_decode() WARNING: This breaks API ! All libglouglou users need to update their gg_packet usage | ||||
* | revert +1 for \0 idea | Laurent Ghigonis | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | add comment about \0 at the end of gg_packet variable args size | Laurent Ghigonis | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | variable arguments should be one byte more, to store the \0 | Laurent Ghigonis | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | fix indent | Laurent Ghigonis | 2012-11-30 | 1 | -2/+2 |
| | |||||
* | add error() verbose() and debug() to log stuff from libglouglou, | Laurent Ghigonis | 2012-11-30 | 1 | -0/+4 |
| | | | | | and gg_verbosity_get() and gg_verbosity_set() to change libglouglou verbosity level | ||||
* | remove extra line | Laurent Ghigonis | 2012-11-29 | 1 | -1/+0 |
| | |||||
* | many improvements, mainly on gg_client | Laurent Ghigonis | 2012-11-29 | 1 | -3/+11 |
| | | | | | | | | * when client or server disconnects, correctly inform the other party * add a reconnect mechanism for gg_client() based on timers * clean function headers * improve *_send() code * client now ignores packets from someone else than it's server | ||||
* | basic process event message handling | Laurent Ghigonis | 2012-11-29 | 1 | -9/+33 |
| | |||||
* | set default ports as constants, and use them in sendrecv unittest | Laurent Ghigonis | 2012-11-29 | 1 | -0/+3 |
| | |||||
* | auto calculate the packet size in gg_*_send() | Laurent Ghigonis | 2012-11-29 | 1 | -2/+2 |
| | |||||
* | include event.h here, and also the default queue.h of the system instead of the | Laurent Ghigonis | 2012-11-29 | 1 | -1/+7 |
| | | | | shipped one for now | ||||
* | add a way to pass userdata to server and client callbacks | Laurent Ghigonis | 2012-11-29 | 1 | -2/+6 |
| | |||||
* | sending and receiving packets implemented and tested in unittest | Laurent Ghigonis | 2012-11-29 | 1 | -8/+14 |
| | |||||
* | improve connection handling between server and client. | Laurent Ghigonis | 2012-11-29 | 1 | -6/+10 |
| | | | | | better API. skeletion for packet_decode() | ||||
* | correctly handle new users | Laurent Ghigonis | 2012-11-29 | 1 | -0/+10 |
| | |||||
* | implement callbacks when server receives a connect, and test it in unit test | Laurent Ghigonis | 2012-11-29 | 1 | -14/+19 |
| | |||||
* | implement client connection | Laurent Ghigonis | 2012-11-29 | 1 | -1/+9 |
| | | | | fix includes | ||||
* | coded gg_server_start() | Laurent Ghigonis | 2012-11-28 | 1 | -13/+23 |
| | |||||
* | add skeleton from ARCHITECTURE.txt | Laurent Ghigonis | 2012-11-26 | 1 | -0/+13 |
| | |||||
* | add libglouglou, for now only containing libglouglou.h, containing the | Laurent Ghigonis | 2012-07-21 | 1 | -0/+50 |
packet structure used to communicate between client and server |