summaryrefslogtreecommitdiff
path: root/utils.h
Commit message (Expand)AuthorAgeFilesLines
* utils: introduce mkdir_pDaniel Golle2020-12-121-0/+2
* utils: add const_* byteswapping functionsFelix Fietkau2018-06-071-0/+32
* utils: fix build error with g++Felix Fietkau2018-04-121-0/+9
* switch from typeof to the more portable __typeof__Felix Fietkau2018-04-071-1/+1
* utils: ensure that byte-order conversion functions evaluate the argument only...Felix Fietkau2018-04-071-16/+24
* utils: use constant byte-order conversionFelix Fietkau2018-03-211-26/+33
* utils: nuke bitfield functions and macrosStijn Tintel2017-09-291-16/+0
* utils: fix build on Mac OS X 10.12Felix Fietkau2017-01-201-1/+2
* utils: add helper functions useful for allocating a ring bufferFelix Fietkau2016-12-281-0/+20
* add a base64 implementation (based on FreeBSD code)Felix Fietkau2015-05-081-0/+8
* utils: use clock_get_time() for clock_gettime() on Apple.Yousong Zhou2015-01-211-3/+8
* utils: add a bitfield size macroFelix Fietkau2014-04-301-0/+2
* utils: add __constructor and __hidden definesFelix Fietkau2014-03-181-0/+8
* utils.h: fix name collisions in __u_bswap16 with using "val" both inside the ...Felix Fietkau2013-10-241-1/+4
* utils: add bitfield inline opsFelix Fietkau2013-06-101-0/+15
* utils: make le16 endian conversion functions work with arguments that have si...Felix Fietkau2013-02-141-1/+1
* utils.h: make 16-bit little endian conversion robust against pointer subtract...Felix Fietkau2013-02-141-4/+4
* utils: add little-endian swap helpersFelix Fietkau2013-02-131-20/+27
* utils: prefer using gccs builtin swapping functions which support constant fo...Felix Fietkau2013-02-111-1/+24
* utils: move endian swap helpers and __packed definition to utils.hFelix Fietkau2013-02-111-0/+58
* uloop: add a clock_gettime() implementation for mac os xFelix Fietkau2013-01-061-0/+11
* utils: add BUILD_BUG_ON (similar to the one in the linux kernel)Felix Fietkau2013-01-011-0/+14
* utils: make it unnecessary to specify the last NULL argument for calloc_aFelix Fietkau2012-12-311-1/+1
* utils: move ARRAY_SIZE from uloop to utils.hFelix Fietkau2012-12-311-0/+4
* add utils.c, containing a calloc-like function to allocate multiple chunks wi...Felix Fietkau2012-12-311-0/+37