haproxy/include/common
Willy Tarreau 9a7bea52b1 MINOR: standard: add a memprintf() function to build formatted error messages
memprintf() is just like snprintf() except that it always returns a properly
sized allocated string that the caller is responsible for freeing. NULL is
returned on serious errors. It also supports stackable calls over the same
pointer since it offers support for automatically freeing a previous one :

     memprintf(&err, "invalid argument: '%s'", arg);
     ...
     memprintf(&err, "keyword parser said: <%s>", *err);
     ...
     memprintf(&err, "line parser said: %s\n", *err);
     ...
     free(*err);
2012-04-30 11:55:35 +02:00
..
appsession.h [MINOR] Make appsess{,ion}_refresh static 2011-06-25 21:07:01 +02:00
base64.h [MINOR] add encode/decode function for 30-bit integers from/to base64 2010-10-30 19:04:33 +02:00
cfgparse.h [MEDIUM] Manage peers section parsing and stick table registration on peers. 2010-11-11 09:29:08 +01:00
compat.h OPTIM/MINOR: make it possible to change pipe size (tune.pipesize) 2011-10-23 21:15:38 +02:00
compiler.h CLEANUP: ebtree: clarify licence and update to 6.0.6 2011-12-02 17:09:49 +01:00
config.h
debug.h
defaults.h MEDIUM: tune.http.maxhdr makes it possible to configure the maximum number of HTTP headers 2011-10-24 19:14:41 +02:00
epoll.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
errors.h [MINOR] errors: provide new status codes for config parsing functions 2010-08-10 14:01:15 +02:00
memory.h
mini-clist.h
rbtree.h
regex.h
sessionhash.h
splice.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
standard.h MINOR: standard: add a memprintf() function to build formatted error messages 2012-04-30 11:55:35 +02:00
syscall.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
template.h
ticks.h
time.h MINOR: Date and time fonctions that don't use snprintf 2012-02-09 17:03:28 +01:00
tools.h [MINOR] tools: add two macros MID_RANGE and MAX_RANGE 2011-03-28 15:55:43 +02:00
uri_auth.h [REORG] http: move the http-request rules to proto_http 2011-03-13 22:00:24 +01:00
version.h [CLEANUP] reference product branch 1.5 2010-08-27 11:09:17 +02:00