aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* some re-exec stuffMattias Andrée2014-05-021-7/+54
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add version when marshalingMattias Andrée2014-04-288-4/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use sig_atomic_t for runningMattias Andrée2014-04-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todoMattias Andrée2014-04-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* store the socket's stateMattias Andrée2014-04-282-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* handle closing of sockets by peerMattias Andrée2014-04-281-4/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* we should of cause use recv and not readMattias Andrée2014-04-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-04-281-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* read messages from clientMattias Andrée2014-04-282-2/+45
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-04-271-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixes + docMattias Andrée2014-04-271-6/+61
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* return -1 not 1 on failureMattias Andrée2014-04-271-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* well, that was unnecessaryMattias Andrée2014-04-271-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* finish mds-messageMattias Andrée2014-04-272-13/+199
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ipc message class, does not do reading yetMattias Andrée2014-04-272-0/+352
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-04-266-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-04-264-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* take care of realloc failuresMattias Andrée2014-04-262-10/+34
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add table optimised for file descriptorsMattias Andrée2014-04-266-44/+564
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixes + store client information in a hash table and in a linked listMattias Andrée2014-04-234-7/+101
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add value remapping to hash table unmarshalingMattias Andrée2014-04-232-10/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add missed includeMattias Andrée2014-04-231-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add string comparatorMattias Andrée2014-04-221-1/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add string hasherMattias Andrée2014-04-221-0/+44
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* error supportMattias Andrée2014-04-222-7/+20
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* more restrictMattias Andrée2014-04-222-17/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + implement marshaling for hash tableMattias Andrée2014-04-222-73/+161
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* second draft of hash table implementationMattias Andrée2014-04-222-49/+52
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* first draft of hash table implementationMattias Andrée2014-04-222-0/+646
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-222-19/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add marshaling for linked-listMattias Andrée2014-04-222-2/+112
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix error handlingMattias Andrée2014-04-221-1/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* linked list implementationMattias Andrée2014-04-222-0/+639
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + accept incoming connectionsMattias Andrée2014-04-222-65/+205
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* run mdsinitrcMattias Andrée2014-04-213-4/+132
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add missing includeMattias Andrée2014-04-211-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make it possible to select master serverMattias Andrée2014-04-211-10/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* master server also drops prilivegesMattias Andrée2014-04-211-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m misc + create directory for temporary dataMattias Andrée2014-04-213-46/+185
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* unlink pid file on exitMattias Andrée2014-04-211-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-server: parse command line argumentsMattias Andrée2014-04-213-7/+165
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + spawn and respawn master serverMattias Andrée2014-04-213-3/+155
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + listen on socketMattias Andrée2014-04-201-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* create and bind socketMattias Andrée2014-04-202-1/+33
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-201-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + reuse display indicesMattias Andrée2014-04-202-2/+59
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* create pid file and set environmentMattias Andrée2014-04-202-10/+54
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-04-203-14/+149
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>