aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/macros.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make exit_if easier on the syntaxMattias Andrée2014-12-091-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make fail_if friendlier to complex if-statementsMattias Andrée2014-12-091-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalitiesMattias Andrée2014-12-091-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-081-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whenever fail_if gotos to the failure clause, print whenceMattias Andrée2014-12-081-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fail_if supports sequences without being double bracketedMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: m + function callingMattias Andrée2014-12-061-6/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Starting on some reworkMattias Andrée2014-11-221-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + make sure the code ends with a new lineMattias Andrée2014-09-281-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* SIGRTMAX is used internally by valgrindMattias Andrée2014-09-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-17/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-21/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* if the system is awesome enough to have sigupdate defined, use it instead of sigusr1Mattias Andrée2014-08-241-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-121-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-2/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-07-281-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* test and fix mds-respawn + add missed staging: monotonic clock should be rawMattias Andrée2014-06-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-06-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-0/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* style + reduce code complexityMattias Andrée2014-05-181-2/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* a much of multicasting stuffMattias Andrée2014-05-111-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macros and do not du null-check before free:ing, free does that for usMattias Andrée2014-05-071-0/+68
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add monotone macroMattias Andrée2014-05-061-0/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strequals and startswith macros + add drop_privileges macro that drops the group before the userMattias Andrée2014-05-061-0/+35
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use macros in mds.cMattias Andrée2014-05-061-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add buf_set/get_next macrosMattias Andrée2014-05-061-0/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macrosMattias Andrée2014-05-051-0/+97
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macrosMattias Andrée2014-05-051-0/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xsnprintf macroMattias Andrée2014-05-051-0/+37
Signed-off-by: Mattias Andrée <maandree@operamail.com>