From 9f55d9bd3f98915b1a98a4f38d467832e0148b91 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 29 Oct 2019 18:35:44 -0400 Subject: Implement getopt_long-integrated configuration parsing --- bounce.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bounce.h') 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 +); -- cgit 1.4.1