[Serdev] CVS:commitlog: sip_router cfg_parser.c
Jan Janak
jan at iptel.org
Wed Jun 11 13:08:32 CEST 2008
janakj 2008/06/11 13:08:32 CEST
SER CVS Repository
Modified files:
. cfg_parser.c
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.6 +138 -104 sip_router/cfg_parser.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg_parser.c.diff?r1=1.5&r2=1.6
More information about the Serdev
mailing list