aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/util.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-08m + add full_write and add full_readMattias Andrée1-0/+18
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-08use the data structure marshallersMattias Andrée6-182/+109
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-08split up mds-server structs into their own .h-files and add marshal functionsMattias Andrée10-135/+490
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-08Move mds-server into its own directoryMattias Andrée3-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-08whitespaceMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-08work on supporting re-exec during message coordinationMattias Andrée2-30/+97
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07derpMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07mMattias Andrée1-9/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07mMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07use more macros and do not du null-check before free:ing, free does that for usMattias Andrée8-292/+241
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07mMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07send to clients (does not implement modifiers yet)Mattias Andrée1-1/+29
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07sort interceptors by priorityMattias Andrée1-0/+18
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07get multicast recipientsMattias Andrée2-4/+92
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07collect headers in preparation to multicastMattias Andrée2-10/+109
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07mMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07m + ignore EINTR when sending a messageMattias Andrée1-5/+28
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07do not destroy the mutex and condition before we have used to to join with all slavesMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07m + docMattias Andrée1-5/+36
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07list interception conditionsMattias Andrée2-2/+151
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07I should really write better commit messagesMattias Andrée2-41/+186
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07m docMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07derpMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-07miscMattias Andrée5-7/+126
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add a todoMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06miscMattias Andrée4-27/+58
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-05-06add xsigactionMattias Andrée4-19/+53
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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>