aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/table-common.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-06add foreach_linked_list_nodeMattias Andrée2-22/+16
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06mMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add util.cMattias Andrée5-51/+131
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06move config.h into libmdsserverMattias Andrée3-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add monotone macroMattias Andrée2-2/+14
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add strequals and startswith macros + add drop_privileges macro that drops the group before the userMattias Andrée3-10/+44
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06mMattias Andrée1-2/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06use macros in mds.cMattias Andrée2-48/+25
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add buf_set/get_next macrosMattias Andrée5-74/+74
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06kill all threadsMattias Andrée2-20/+57
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06close files before running initrcMattias Andrée1-15/+29
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06close untracked files if unmarshal from re-exec failsMattias Andrée2-2/+32
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-05use more macrosMattias Andrée6-161/+253
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-05use more macrosMattias Andrée2-32/+44
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-05add xsnprintf macroMattias Andrée2-9/+47
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-05it would be a shame if we could not re-exec because we have filled the pipeMattias Andrée3-46/+51
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-04change doc in preparation for upcoming changeMattias Andrée2-14/+14
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-04restart slave threads after a re-execMattias Andrée1-79/+102
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-04unlist clients we failed to loadMattias Andrée1-43/+61
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-04populate address remap tableMattias Andrée3-20/+82
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-04read the marshalled data from the pipeMattias Andrée1-1/+43
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03some work on unmarshallingMattias Andrée2-24/+155
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03m + docMattias Andrée1-4/+41
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03mMattias Andrée1-1/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03compile-time configurable api-fs pathMattias Andrée2-1/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03separation of server state marshaling into a new methodMattias Andrée2-98/+117
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-03no need to marshal the socket's fd, it is already included in the cmdlineMattias Andrée1-3/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-02more re-exec stuffMattias Andrée1-4/+79
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-02some more work on re-execMattias Andrée2-17/+141
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-02some re-exec stuffMattias Andrée1-7/+54
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28add version when marshalingMattias Andrée8-4/+38
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28use sig_atomic_t for runningMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28add todoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28store the socket's stateMattias Andrée2-0/+7
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28handle closing of sockets by peerMattias Andrée1-4/+13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28we should of cause use recv and not readMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28derpMattias Andrée1-4/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-28read messages from clientMattias Andrée2-2/+45
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27fix readmeMattias Andrée1-10/+43
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27whoopsMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27docMattias Andrée1-2/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27m fixes + docMattias Andrée1-6/+61
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27return -1 not 1 on failureMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27well, that was unnecessaryMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27finish mds-messageMattias Andrée2-13/+199
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-27ipc message class, does not do reading yetMattias Andrée3-1/+353
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-26typoMattias Andrée6-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-26m docMattias Andrée4-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>