aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/macros.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* m doc + iprint and iprintf macros + siginfo on mds, mds-vt and mds-respawnMattias Andrée2015-04-181-0/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* document siginfo and add it to macros.hMattias Andrée2015-04-121-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2015-02-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-111-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-101-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make it easier to track memory allocationsMattias Andrée2014-12-101-3/+101
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xmemdup macroMattias Andrée2014-12-101-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-101-2/+49
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-12-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* merge track-errors and resolve conflictMattias Andrée2014-12-091-3/+13
|\ | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make sure errno is not changed during fail_ifMattias Andrée2014-12-091-0/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * 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>
* | improve with_mutex and with_mutex_if alsoMattias Andrée2014-12-091-8/+22
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | make some macros easiler on the syntaxMattias Andrée2014-12-091-31/+37
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | typoMattias Andrée2014-12-081-2/+2
|/ | | | 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>