diff options
author | Paul Colomiets <paul@colomiets.name> | 2013-11-08 09:00:06 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2013-11-08 09:00:06 +0100 |
commit | 99131593aed8eab2795ba4bfaaea32b0a64b14c8 (patch) | |
tree | 79093eccebc9846f7cdacb89608ff160a9fb4518 /tools/options.h | |
parent | 25b6c37f8ff90f584fff112240d9c3bc0ce8a1a5 (diff) | |
download | nanomsg-99131593aed8eab2795ba4bfaaea32b0a64b14c8.tar.gz |
Two small bugs fixed in nanocat
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tools/options.h')
-rw-r--r-- | tools/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/options.h b/tools/options.h index ca148c4..fb8f41e 100644 --- a/tools/options.h +++ b/tools/options.h @@ -74,17 +74,21 @@ struct nn_enum_item { struct nn_string_list { char **items; + char **to_free; int num; + int to_free_num; }; struct nn_blob { char *data; int length; + int need_free; }; void nn_parse_options (struct nn_commandline *cline, void *target, int argc, char **argv); +void nn_free_options (struct nn_commandline *cline, void *target); #endif /* NN_OPTIONS_HEADER */ |