diff options
author | June McEnroe <june@causal.agency> | 2019-10-29 18:35:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-29 18:35:44 -0400 |
commit | 9f55d9bd3f98915b1a98a4f38d467832e0148b91 (patch) | |
tree | ad86dc186782e5cb51874a2d48928267604152fc /bounce.h | |
parent | Relay optional 5th RPL_MYINFO parameter (diff) | |
download | pounce-9f55d9bd3f98915b1a98a4f38d467832e0148b91.tar.gz pounce-9f55d9bd3f98915b1a98a4f38d467832e0148b91.zip |
Implement getopt_long-integrated configuration parsing
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h index 6e9ddbd..c37ff61 100644 --- a/bounce.h +++ b/bounce.h @@ -98,3 +98,9 @@ bool stateReady(void); void stateParse(char *line); void stateSync(struct Client *client); const char *stateEcho(void); + +struct option; +int getopt_config( + int argc, char *const *argv, + const char *optstring, const struct option *longopts, int *longindex +); |