aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 3fb62e96b..b9794779d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -221,16 +221,14 @@ extern unsigned long bb_xparse_number(const char *numstr,
221 const struct suffix_mult *suffixes); 221 const struct suffix_mult *suffixes);
222 222
223 223
224//#warning change names?
225
226/* These parse entries in /etc/passwd and /etc/group. This is desirable 224/* These parse entries in /etc/passwd and /etc/group. This is desirable
227 * for BusyBox since we want to avoid using the glibc NSS stuff, which 225 * for BusyBox since we want to avoid using the glibc NSS stuff, which
228 * increases target size and is often not needed embedded systems. */ 226 * increases target size and is often not needed on embedded systems. */
229extern long my_getpwnam(const char *name); 227extern long bb_xgetpwnam(const char *name);
230extern long my_getgrnam(const char *name); 228extern long bb_xgetgrnam(const char *name);
231extern char * my_getug(char *buffer, char *idname, long id, int bufsize, char prefix); 229extern char * bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix);
232extern char * my_getpwuid(char *name, long uid, int bufsize); 230extern char * bb_getpwuid(char *name, long uid, int bufsize);
233extern char * my_getgrgid(char *group, long gid, int bufsize); 231extern char * bb_getgrgid(char *group, long gid, int bufsize);
234extern char *bb_askpass(int timeout, const char * prompt); 232extern char *bb_askpass(int timeout, const char * prompt);
235 233
236extern int device_open(const char *device, int mode); 234extern int device_open(const char *device, int mode);
@@ -471,7 +469,7 @@ extern void print_login_prompt(void);
471extern void vfork_daemon_rexec(int nochdir, int noclose, 469extern void vfork_daemon_rexec(int nochdir, int noclose,
472 int argc, char **argv, char *foreground_opt); 470 int argc, char **argv, char *foreground_opt);
473extern int get_terminal_width_height(int fd, int *width, int *height); 471extern int get_terminal_width_height(int fd, int *width, int *height);
474extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); 472extern unsigned long get_ug_id(const char *s, long (*__bb_getxxnam)(const char *));
475 473
476#define HASH_SHA1 1 474#define HASH_SHA1 1
477#define HASH_MD5 2 475#define HASH_MD5 2