aboutsummaryrefslogtreecommitdiff
path: root/src/lib/lib.h
AgeCommit message (Expand)AuthorLines
2021-05-10lib: abort() on unexpected exit()Timo Sirainen-1/+5
2021-05-10global: Replace exit() with lib_exit()Timo Sirainen-0/+1
2020-09-11lib: Add some helpers for random valuesAki Tuomi-0/+10
2017-12-13lib: Add event APITimo Sirainen-0/+1
2017-10-05lib: move fd_close_maybe_stdio() to fd-util.[ch]Josef 'Jeff' Sipek-4/+0
2017-10-05lib: always include fd-close-on-exec.h & fd-set-nonblock.h via fd-util.hJosef 'Jeff' Sipek-0/+1
2017-10-03lib: remove close_keep_errno()Josef 'Jeff' Sipek-1/+0
2017-09-19lib: introduce i_rand_limit() and i_rand_minmax()Josef 'Jeff' Sipek-0/+9
2017-09-07lib: Replace rand.c with i_rand functionAki Tuomi-1/+2
2017-06-12lib: import byte swapping & endian converting functionsJosef 'Jeff' Sipek-0/+1
2017-05-17lib: include inttypes.h to get PRIu64 & friendsJosef 'Jeff' Sipek-0/+1
2016-12-16lib: Add MALLOC_MULTIPLY() and MALLOC_ADD()Timo Sirainen-0/+1
2016-11-16lib: Add fd_close_maybe_stdio()Timo Sirainen-0/+4
2016-11-16lib: Make sure stdin/stdout/stderr have fd at startup and keep /dev/null alwa...Timo Sirainen-0/+4
2016-10-31lib: Add function to see if lib is initializedAki Tuomi-0/+1
2015-12-07doveadm: Fixed reseting getopt() with glibc when processing multiple commands...Timo Sirainen-0/+2
2015-09-23lib: Include stdlib.h in lib.h.Teemu Huovila-0/+1
2015-09-08lib: Added i_unlink() and i_unlink_if_exists()Timo Sirainen-0/+10
2014-10-30lib: Added lib_atexit_priority()Timo Sirainen-0/+7
2014-06-27lib: add rand helper libraryPhil Carmody-0/+1
2014-06-09lib: bit twiddlesPhil Carmody-1/+1
2013-11-03Call lib_atexit() callbacks before destroying the lib-master ioloop.Timo Sirainen-0/+3
2012-11-27liblib: Added lib_atexit() to register process deinit callbacks.Timo Sirainen-0/+8
2012-08-19Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) nameTimo Sirainen-1/+1
2012-08-19Hash table API is now (mostly) type safe.Timo Sirainen-0/+1
2012-06-28Changed i_close_fd() API to set the fd to -1 after closing.Timo Sirainen-0/+1
2010-04-07Added str_to_*() for converting strings to numbers, plus a few helper functions.Timo Sirainen-0/+1
2008-06-20Added more consts, ATTR_CONSTs and ATTR_PUREs.Timo Sirainen-1/+1
2007-09-16Changed .h ifdef/defines to use <NAME>_H format.Timo Sirainen-2/+2
2006-11-04Include stddef.h always to make NULL expand correctly in Solaris.Timo Sirainen-0/+1
2006-06-28Array API redesigned to work using unions. It now provides type safetyTimo Sirainen-1/+0
2005-09-25Removed null4 and replaced the few uses of it with buffer_append_zero().Timo Sirainen-2/+0
2005-07-12Include just "config.h", not "../../config.h". The absolute path breaksTimo Sirainen-1/+1
2005-07-04Moved array declaration to array-decl.h and include it in lib.h. So array.hTimo Sirainen-1/+1
2005-03-12Added dynamic array implementation. When compiling with gcc and DEBUGTimo Sirainen-2/+4
2005-03-12extern was missing from null4 declaration.Timo Sirainen-1/+1
2004-09-11Added null4[] variable.Timo Sirainen-0/+2
2004-05-10Define PREAD_WRAPPERS if we're using GLIBC, not if we're using Linux.Timo Sirainen-0/+3
2003-01-05Naming style changes, finally got tired of most of the typedefs. Also theTimo Sirainen-10/+6
2002-12-22Replaced TempString with a String which can use any memory pool and usesTimo Sirainen-1/+1
2002-12-08Added buffer API. Point is to hide all buffer writing behind this API whichTimo Sirainen-0/+1
2002-12-06Renamed IBuffer and OBuffer to IStream and OStream which describes theirTimo Sirainen-2/+2
2002-11-26Renamed largest_t to uintmax_t which already exists in C99.Timo Sirainen-0/+4
2002-10-14Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer andTimo Sirainen-1/+2
2002-10-09s/temporary memory pool/data stack/ which is the correct name for it.Timo Sirainen-1/+1
2002-09-08nearest_power() uses now size_t.Timo Sirainen-1/+1
2002-09-08added dec2str() function and largest_t type, removed itoa() and ltoa()Timo Sirainen-10/+0
2002-08-28config.h should be included first.Timo Sirainen-5/+5
2002-08-2864bit off_t fixesTimo Sirainen-0/+1
2002-08-27Introduced uoff_t which is the unsigned-equilevant of off_t. This was neededTimo Sirainen-0/+11