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