summaryrefslogtreecommitdiff
path: root/src/shared/macro.h
AgeCommit message (Expand)AuthorFilesLines
2015-06-11build-sys: split internal basic/ library from shared/Kay Sievers1-473/+0
2015-06-10util: introduce CMSG_FOREACH() macro and make use of it everywhereLennart Poettering1-0/+3
2015-04-16shared: move assert_return_errno() from libudevTom Gundersen1-0/+9
2015-02-02macro: document that DECIMAL_STR_MAX contains space for the trailing NUL byteLennart Poettering1-1/+2
2015-01-24tmpfiles: do not bump access times of directories we are cleaning upZbigniew Jędrzejewski-Szmek1-0/+4
2015-01-23build-sys: fix build on compilers without static_assertZbigniew Jędrzejewski-Szmek1-1/+1
2015-01-18Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.hZbigniew Jędrzejewski-Szmek1-0/+7
2015-01-09logind: unify how we cast between uid_t and pointers for hashmap keysLennart Poettering1-0/+8
2014-12-30macro: add DIV_ROUND_UP()David Herrmann1-0/+11
2014-12-08sd-bus: rework ELF error mapping table magicLennart Poettering1-4/+4
2014-11-28treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1Lennart Poettering1-0/+4
2014-11-26Introduce CONF_DIRS_NULSTR helper to define standard conf dirsJosh Triplett1-0/+15
2014-08-28macro: use unique variable names for math-macrosDavid Herrmann1-23/+30
2014-08-27shared: make container_of() use unique variable namesDavid Herrmann1-5/+8
2014-08-27shared: drop UNIQUE()David Herrmann1-3/+1
2014-08-22shared: add MAXSIZE() and use it in resolvedDavid Herrmann1-0/+3
2014-08-15macro: add CONST_MAX() macroDavid Herrmann1-0/+9
2014-08-15macro: const'ify MIN/MAX/... macrosDavid Herrmann1-26/+26
2014-07-16resolved: add a DNS client stub resolverLennart Poettering1-0/+3
2014-07-11shared: add MIN3 macroDavid Herrmann1-0/+6
2014-06-16macro: add DISABLE_WARNING_SHADOWDavid Herrmann1-0/+4
2014-05-13shared: add ALIGN_POWER2 macroDavid Herrmann1-0/+13
2014-03-12macro: make sure we can use IN_SET() also with complex function calls as firs...Lennart Poettering1-4/+5
2014-03-04logind: make $XDG_RUNTIME_DIR a per-user tmpfsLennart Poettering1-1/+1
2014-02-20macro: add nice macro for disabling -Wnonnull temporarilyLennart Poettering1-0/+4
2014-02-20macro: introduce nice macro for disabling -Wmissing-prototypes warnigsLennart Poettering1-0/+4
2014-02-20macro: introduce a nice macro for disabling -Wformat-nonliteral temporarilyLennart Poettering1-0/+4
2014-02-20util: get rid of warnings around assert_cc() macroLennart Poettering1-2/+21
2014-01-11journald: do not free space when disk space runs lowZbigniew Jędrzejewski-Szmek1-0/+7
2013-12-17_noreturn_ --> noreturn for C11 compatShawn Landden1-2/+12
2013-12-17__thread --> thread_local for C11 compatShawn Landden1-0/+12
2013-12-10macro: log assertion at debug level in assert_return()Lennart Poettering1-4/+6
2013-12-03macro: better make IN_SET() macro use const arraysLennart Poettering1-10/+11
2013-12-02macro: add a macro to test whether a value is in a specified listLennart Poettering1-0/+13
2013-11-30macro.h: fix typo in commentThomas Hindoe Paaboel Andersen1-1/+1
2013-11-25swap: split state machine state ACTIVATING into twoLennart Poettering1-1/+1
2013-11-22macro: fix problem with __LINE__ macro expansionLukasz Skalski1-3/+6
2013-11-22macro: fix assert_cc() fallbackDavid Herrmann1-1/+3
2013-11-20macro: add _unlikely_() to assert_return()Lennart Poettering1-1/+1
2013-11-20macro: change assert_cc() so that it can appear outside of functionsLennart Poettering1-12/+2
2013-11-07util: add circle to special chars we can drawLennart Poettering1-2/+0
2013-10-21bus: remove static introspection file exportKay Sievers1-1/+0
2013-10-16macro: clean up usage of gcc attributesLennart Poettering1-1/+1
2013-10-11macro: add new assert_return() macro for early parameter checking in functionsLennart Poettering1-0/+6
2013-08-22remove hasprefix(), use startswith()Shawn Landden1-2/+0
2013-08-20Rename F_TYPE_CMP() to F_TYPE_EQUAL()Zbigniew Jędrzejewski-Szmek1-1/+1
2013-06-20Add hasprefix macro to check prefixes of fixed lengthZbigniew Jędrzejewski-Szmek1-0/+2
2013-05-17bus: add APIs for negotiating what is attached to messagesLennart Poettering1-0/+3
2013-05-14bus: add and use UINT64_TO_PTR()Kay Sievers1-12/+14
2013-04-25Make up for attribute malloc with alloc_sizeZbigniew Jędrzejewski-Szmek1-0/+1