diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-24 23:38:04 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-24 23:38:04 +0000 |
commit | 0f99d49ae680e675809428deace3c4fe839d323c (patch) | |
tree | 712afab828ee4fb02493bc60e1a37f1142231263 /include | |
parent | 22f741484391c3b2fd94881fd41c8c0df9749e95 (diff) | |
download | busybox-w32-0f99d49ae680e675809428deace3c4fe839d323c.tar.gz busybox-w32-0f99d49ae680e675809428deace3c4fe839d323c.tar.bz2 busybox-w32-0f99d49ae680e675809428deace3c4fe839d323c.zip |
*: conversion to config parser
function old new delta
config_read 540 597 +57
config_open2 41 44 +3
rtnl_rtprot_initialize 70 66 -4
rtnl_rttable_initialize 78 73 -5
rtnl_rtscope_initialize 88 83 -5
rtnl_rtrealm_initialize 48 43 -5
rtnl_rtdsfield_initialize 48 43 -5
process_module 566 560 -6
bbunpack 391 383 -8
rtnl_tab_initialize 279 121 -158
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/8 up/down: 60/-196) Total: -136 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index c0b731b36..47fcdf08b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1006,6 +1006,7 @@ enum { | |||
1006 | PARSE_MIN_DIE = 0x00100000, // die if less tokens found | 1006 | PARSE_MIN_DIE = 0x00100000, // die if less tokens found |
1007 | // keep a copy of current line | 1007 | // keep a copy of current line |
1008 | PARSE_KEEP_COPY = 0x00200000 * ENABLE_DEBUG_CROND_OPTION, | 1008 | PARSE_KEEP_COPY = 0x00200000 * ENABLE_DEBUG_CROND_OPTION, |
1009 | PARSE_ESCAPE = 0x00400000, // process escape sequences in tokens | ||
1009 | }; | 1010 | }; |
1010 | typedef struct parser_t { | 1011 | typedef struct parser_t { |
1011 | FILE *fp; | 1012 | FILE *fp; |