diff options
| author | William Hubbs <w.d.hubbs@gmail.com> | 2015-12-23 14:06:31 -0600 |
|---|---|---|
| committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-12 10:42:14 -0600 |
| commit | bf2f40828ee26d3ba9185f29db596ee5d7b9cf61 (patch) | |
| tree | de1ccdb2fd86e476323908c37ae6588a9ac9ae97 /src/rc/_usage.h | |
| parent | fe485f44339963fdbee143687dcbef2069924bc6 (diff) | |
Remove multicall binary structure from OpenRCgithub/refactor
This eliminates the need for the selinux-specific wrapper scrript we
were installing in /lib*/rc/{bin,sbin}.
Diffstat (limited to 'src/rc/_usage.h')
| -rw-r--r-- | src/rc/_usage.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rc/_usage.h b/src/rc/_usage.h index dc859098..fd20971b 100644 --- a/src/rc/_usage.h +++ b/src/rc/_usage.h @@ -10,6 +10,8 @@ * except according to the terms contained in the LICENSE file. */ +#include <getopt.h> + #define getoptstring_COMMON "ChqVv" #define longopts_COMMON \ @@ -41,3 +43,14 @@ case 'v': case_RC_COMMON_getopt_case_v; break; \ case 'q': case_RC_COMMON_getopt_case_q; break; \ default: case_RC_COMMON_getopt_default; break; + +extern const char *applet; +extern const char *extraopts; +extern const char *getoptstring; +extern const struct option longopts[]; +extern const char * const longopts_help[]; +extern const char *usagestring; + +void set_quiet_options(void); +void show_version(void); +void usage(int exit_status); |
