[Serdev] CVS:commitlog: sip_router cfg_parser.h
Jan Janak
jan at iptel.org
Wed Jun 11 13:09:57 CEST 2008
janakj 2008/06/11 13:09:57 CEST
SER CVS Repository
Modified files:
. cfg_parser.h
Log:
- return values unified
- print token info only when EXTRA_DEBUG is defined
- cfg_get_token calls accept flags from the parent function
- cfg_eat_eol implemented
- parser functions are supposed to handle EOL themselves
- various flags implemented to tell parser functions how
to return strings (pkgmem, shmmem, malloc, static buf)
- *_opt functions parse the whole option body, every of
them has an alternative without _opt suffix which parses
one token.
- cfg_parse_section accepts memory allocation flags just
like cfg_parse_str
Revision Changes Path
1.5 +16 -6 sip_router/cfg_parser.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg_parser.h.diff?r1=1.4&r2=1.5
More information about the Serdev
mailing list