diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-22 13:49:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-22 13:49:16 +0000 |
commit | 1cf4a0eb81ed85d222d3310c39ac89c84c13ca17 (patch) | |
tree | 11875bcafe1a1bb8b41ab1ef41d47c0a6d856326 /include/libbb.h | |
parent | 574c316e5ac576ba8f4aa07596dd21bca95eb333 (diff) | |
download | busybox-w32-1cf4a0eb81ed85d222d3310c39ac89c84c13ca17.tar.gz busybox-w32-1cf4a0eb81ed85d222d3310c39ac89c84c13ca17.tar.bz2 busybox-w32-1cf4a0eb81ed85d222d3310c39ac89c84c13ca17.zip |
httpd: simplify insane conf file parser
function old new delta
bb_simplify_abs_path_inplace - 98 +98
parse_expr 824 832 +8
passwd_main 1025 1027 +2
evalvar 1374 1376 +2
parse_command 1463 1460 -3
bb_simplify_path 137 55 -82
parse_conf 1572 1422 -150
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 3/3 up/down: 126/-251) Total: -125 bytes
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4de3e7915..3a94a0070 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1093,6 +1093,8 @@ const char *get_signame(int number) FAST_FUNC; | |||
1093 | void print_signames(void) FAST_FUNC; | 1093 | void print_signames(void) FAST_FUNC; |
1094 | 1094 | ||
1095 | char *bb_simplify_path(const char *path) FAST_FUNC; | 1095 | char *bb_simplify_path(const char *path) FAST_FUNC; |
1096 | /* Returns ptr to NUL */ | ||
1097 | char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC; | ||
1096 | 1098 | ||
1097 | #define FAIL_DELAY 3 | 1099 | #define FAIL_DELAY 3 |
1098 | extern void bb_do_delay(int seconds) FAST_FUNC; | 1100 | extern void bb_do_delay(int seconds) FAST_FUNC; |