summaryrefslogtreecommitdiff
path: root/str.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-11-07 16:55:15 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-11-09 13:33:21 +0100
commitc6aeff438d452be679cc3ba0a600db1d204b49a6 (patch)
tree03ad8f1576111b88d08dfec2c1615abab5bd4ff7 /str.h
parenta2a169affeb57a42e27dd4893da0bdb52542dae9 (diff)
str: Add converting cmdline args vector to str module
Move piece of code which converts cmdline args vector to string from netsniff-ng.c to str.c as function. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'str.h')
-rw-r--r--str.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/str.h b/str.h
index 7b8916c..7d078da 100644
--- a/str.h
+++ b/str.h
@@ -8,5 +8,6 @@ extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_forma
extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
extern char *strtrim_right(char *p, char c);
extern noinline void *xmemset(void *s, int c, size_t n);
+extern char *argv2str(int startind, int argc, char **argv);
#endif /* STR_H */