diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 945dc95bc..21ea31690 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -473,4 +473,10 @@ extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); | |||
473 | extern void get_terminal_width_height(int fd, int *width, int *height); | 473 | extern void get_terminal_width_height(int fd, int *width, int *height); |
474 | extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); | 474 | extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); |
475 | extern void xregcomp(regex_t *preg, const char *regex, int cflags); | 475 | extern void xregcomp(regex_t *preg, const char *regex, int cflags); |
476 | |||
477 | #define HASH_SHA1 1 | ||
478 | #define HASH_MD5 2 | ||
479 | extern int hash_fd(int fd, const off_t size, const uint8_t hash_algo, uint8_t *hashval); | ||
480 | |||
481 | |||
476 | #endif /* __LIBCONFIG_H__ */ | 482 | #endif /* __LIBCONFIG_H__ */ |