Added parse_options

This commit is contained in:
James Booth
2014-04-14 22:48:18 +01:00
parent cc68fc5e9a
commit 8d77930ece
5 changed files with 224 additions and 1 deletions

View File

@@ -29,5 +29,7 @@ gchar** parse_args(const char * const inp, int min, int max, gboolean *result);
gchar** parse_args_with_freetext(const char * const inp, int min, int max, gboolean *result);
int count_tokens(char *string);
char* get_start(char *string, int tokens);
GHashTable* parse_options(gchar **args, int start, GList *keys, gboolean *res);
void options_destroy(GHashTable *options);
#endif
#endif