summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-29 18:35:44 -0400
committerJune McEnroe <june@causal.agency>2019-10-29 18:35:44 -0400
commit9f55d9bd3f98915b1a98a4f38d467832e0148b91 (patch)
treead86dc186782e5cb51874a2d48928267604152fc /bounce.h
parentRelay optional 5th RPL_MYINFO parameter (diff)
downloadpounce-9f55d9bd3f98915b1a98a4f38d467832e0148b91.tar.gz
pounce-9f55d9bd3f98915b1a98a4f38d467832e0148b91.zip
Implement getopt_long-integrated configuration parsing
Diffstat (limited to '')
-rw-r--r--bounce.h6
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
+);