aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/libbb.h2
-rw-r--r--include/usage.h7
3 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 67f7db4a6..a7aee3a1d 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -101,6 +101,7 @@ USE_CP(APPLET_NOEXEC(cp, cp, _BB_DIR_BIN, _BB_SUID_NEVER, cp))
101USE_CPIO(APPLET(cpio, _BB_DIR_BIN, _BB_SUID_NEVER)) 101USE_CPIO(APPLET(cpio, _BB_DIR_BIN, _BB_SUID_NEVER))
102USE_CROND(APPLET(crond, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) 102USE_CROND(APPLET(crond, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
103USE_CRONTAB(APPLET(crontab, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)) 103USE_CRONTAB(APPLET(crontab, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
104USE_CRYPTPW(APPLET(cryptpw, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
104USE_CUT(APPLET_NOEXEC(cut, cut, _BB_DIR_USR_BIN, _BB_SUID_NEVER, cut)) 105USE_CUT(APPLET_NOEXEC(cut, cut, _BB_DIR_USR_BIN, _BB_SUID_NEVER, cut))
105USE_DATE(APPLET(date, _BB_DIR_BIN, _BB_SUID_NEVER)) 106USE_DATE(APPLET(date, _BB_DIR_BIN, _BB_SUID_NEVER))
106USE_DC(APPLET(dc, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 107USE_DC(APPLET(dc, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/libbb.h b/include/libbb.h
index be51f2520..32bb3113d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -718,6 +718,7 @@ extern int bb_parse_mode(const char* s, mode_t* theMode);
718 718
719char *concat_path_file(const char *path, const char *filename); 719char *concat_path_file(const char *path, const char *filename);
720char *concat_subpath_file(const char *path, const char *filename); 720char *concat_subpath_file(const char *path, const char *filename);
721/* NB: can violate const-ness (similarly to strchr) */
721char *last_char_is(const char *s, int c); 722char *last_char_is(const char *s, int c);
722 723
723 724
@@ -755,6 +756,7 @@ extern int index_in_substr_array(const char * const string_array[], const char *
755extern void print_login_issue(const char *issue_file, const char *tty); 756extern void print_login_issue(const char *issue_file, const char *tty);
756extern void print_login_prompt(void); 757extern void print_login_prompt(void);
757 758
759extern void crypt_make_salt(char *p, int cnt);
758 760
759int get_terminal_width_height(const int fd, int *width, int *height); 761int get_terminal_width_height(const int fd, int *width, int *height);
760 762
diff --git a/include/usage.h b/include/usage.h
index afcc4b3d7..eab96011e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -474,6 +474,13 @@
474 " -d [user] delete crontab for user\n" \ 474 " -d [user] delete crontab for user\n" \
475 " -c dir specify crontab directory" 475 " -c dir specify crontab directory"
476 476
477#define cryptpw_trivial_usage \
478 "[-a des|md5] [string]"
479#define cryptpw_full_usage \
480 "Outputs crypted string.\n" \
481 "If string isn't supplied on cmdline, reads it from stdin.\n" \
482 "\nOptions:" \
483 "\n -a Algorithm to use (default: md5)"
477 484
478#define cut_trivial_usage \ 485#define cut_trivial_usage \
479 "[OPTION]... [FILE]..." 486 "[OPTION]... [FILE]..."