Mercurial > hg > toybox
comparison lib/lib.h @ 858:34ac05521d94
Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 14 Apr 2013 21:43:22 -0500 |
parents | 46919d9f14f7 |
children | aa5bd0a358dd |
comparison
equal
deleted
inserted
replaced
857:da601285a86e | 858:34ac05521d94 |
---|---|
78 struct dirtree *dirtree_handle_callback(struct dirtree *new, | 78 struct dirtree *dirtree_handle_callback(struct dirtree *new, |
79 int (*callback)(struct dirtree *node)); | 79 int (*callback)(struct dirtree *node)); |
80 void dirtree_recurse(struct dirtree *node, | 80 void dirtree_recurse(struct dirtree *node, |
81 int (*callback)(struct dirtree *node), int symfollow); | 81 int (*callback)(struct dirtree *node), int symfollow); |
82 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)); | 82 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)); |
83 | |
84 // help.c | |
85 | |
86 void show_help(void); | |
83 | 87 |
84 // lib.c | 88 // lib.c |
85 void xstrcpy(char *dest, char *src, size_t size); | 89 void xstrcpy(char *dest, char *src, size_t size); |
86 void verror_msg(char *msg, int err, va_list va); | 90 void verror_msg(char *msg, int err, va_list va); |
87 void error_msg(char *msg, ...); | 91 void error_msg(char *msg, ...); |