summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* nserver: protocol.h: Add sslist.rsiddharth2020-04-173-0/+45
| | | | | | | * nserver/src/protocol.c (sslist): New function. * nserver/src/protocol.h (sslist): New function declaration. * nserver/tests/protocol_tests.c (test_sslist): Test fr sslist. (all_tests): Add test_sslist.
* nserver: Update hashmap.rsiddharth2020-04-172-0/+38
| | | | Add 'Hashmap_keys'. Taken from lcthw/hashmap.
* nserver: Update hashmap.rsiddharth2020-04-172-0/+50
| | | | Add missing functions from lcthw/hashmap.
* nserver: protocol: Update ssmean.rsiddharth2020-04-171-1/+1
| | | | * nserver/src/protocol.c (ssmean): Fix typo in comment.
* nserver: protocol: Define ssdump.rsiddharth2020-04-172-0/+48
| | | | | | * nserver/src/protocol.c (ssdump): New function. * nserver/tests/protocol_tests.c (test_ssdump): New test. (all_tests): Add test_ssdump.
* nserver: stats: Update Stats_dump.rsiddharth2020-04-172-7/+20
| | | | | * nserver/src/stats.c (Stats_dump): Update function. * nserver/src/stats.h (Stats_dump): Return (char *).
* nserver: protocol: Define ssdelete.rsiddharth2020-04-172-0/+44
| | | | | | * nserver/src/protocol.c (ssdelete): New function. * nserver/tests/protocol_tests.c (test_ssdelete): New test. (all_tests): Add test_ssdelete.
* nserver: protocol: Define ssmean.rsiddharth2020-04-172-0/+36
| | | | | | * nserver/src/protocol.c (ssmean): New function. * nserver/tests/protocol_tests.c (test_ssmean): New test. (all_tests): ADd test_ssmean.
* nserver: protocol: Define sssample.rsiddharth2020-04-172-0/+50
| | | | | | * nserver/src/protocol.c (sssample): New function. * nserver/tests/protocol_tests.c (test_sssample): New test. (all_tests): Add test_sssample.
* nserver/tests: Update test_sscreate.rsiddharth2020-04-171-2/+2
| | | | Change key names.
* nserver/tests: Update test_sscreate.rsiddharth2020-04-171-1/+4
|
* nserver/src/protocol.c: Update sscreate.rsiddharth2020-04-172-0/+16
| | | | | * nserver/src/protocol.c (sscreate): Flesh it out. Initial version. * nserver/src/protocol.h: Include bstrlib, stats.
* nserver: Add .gitignorersiddharth2020-04-171-0/+1
|
* nserver: Add protocol_tests.crsiddharth2020-04-171-0/+23
|
* nserver: Add protocol.crsiddharth2020-04-171-0/+24
|
* nserver; Add protocol.hrsiddharth2020-04-171-0/+14
|
* nserver/Makefile: Update all.rsiddharth2020-04-171-1/+1
| | | | Add tests.
* nserver/Makefile: Update tests.rsiddharth2020-04-171-1/+1
| | | | Replace CFLAGS with LDLIBS.
* nserver/src/darray_algos.c: Update DArray_fucked_heapsort_swap.rsiddharth2020-04-171-1/+1
| | | | | nserver/src/darray_algos.c (DArray_fucked_heapsort_swap): Make function static.
* nserver: darray_algos: Move std lib includes to .h file.rsiddharth2020-04-172-2/+2
|
* nserver: Add stats.hrsiddharth2020-04-172-0/+87
|
* nserver: Add hashmap.hrsiddharth2020-04-172-0/+290
|
* nserver: Add darray_algos.hrsiddharth2020-04-172-0/+248
|
* nserver: Add darray.hrsiddharth2020-04-172-0/+312
|
* nserver/bin/statserve.c: Use echoserve.rsiddharth2020-04-171-50/+2
| | | | | * nserver/bin/statserve.c (echo, serve): Remove function. (main): Use echoserve from necho.h for echoing back to client.
* nserver: Add necho.h.rsiddharth2020-04-172-0/+79
|
* nserver: nsocket.c: Move includes to nsocket.h.rsiddharth2020-04-172-5/+6
|
* nserver: Add bstrlib.hrsiddharth2020-04-172-0/+3473
|
* nserver: Add ringbuffer.hrsiddharth2020-04-172-0/+146
|
* nserver/src/nsocket.c: Update get_socket.rsiddharth2020-04-171-11/+20
| | | | | | * nserver/src/nsocket.c (get_socket): Use SO_REUSEADDR to dodge 'address already in use' error. Put all socket related code in the loop.
* nserver/bin/statserve.c: Update main.rsiddharth2020-04-171-2/+0
| | | | | * nserver/bin/statserve.c (main): Remove 'check' calls for close socke statements in the error block.
* nserver/Makefile: clean: Add $(PROGRAMS).rsiddharth2020-04-171-1/+1
|
* nserver/Makefile: Add snafu to build stuff under src/rsiddharth2020-04-171-2/+2
|
* nserver: statserver: Use nsocket.hrsiddharth2020-04-171-22/+3
| | | | | * nserver/bin/statserve.c (PORT): Remove constant. (main): Use get_socket from nsocket.h to get the socket.
* nserver: Add nsocket.hrsiddharth2020-04-172-0/+60
|
* Add nserver.rsiddharth2020-04-177-0/+302
For now it contains only "statserve".