ring: Mark potentially unused parameters as such
[netsniff-ng-new.git] / str.h
blob7879af6c91e1e1b1f8a95f8d62d14e91239c0552
1 #ifndef STR_H
2 #define STR_H
4 #include <stdlib.h>
6 #include "built_in.h"
8 extern size_t strlcpy(char *dest, const char *src, size_t size);
9 extern int slprintf(char *dst, size_t size, const char *fmt, ...) __check_format_printf(3, 4);
10 extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
11 extern char *strtrim_right(char *p, char c);
12 extern noinline void *xmemset(void *s, int c, size_t n);
13 extern char *argv2str(int startind, int argc, char **argv);
14 extern char **argv_insert(char **argv, size_t *count, const char *str);
15 extern void argv_free(char **argv);
16 extern int str2mac(const char *str, uint8_t *mac, size_t len);
18 #endif /* STR_H */