Rev 3483 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3483 | Rev 3813 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef UTIL_H |
1 | #ifndef UTIL_H |
2 | #define UTIL_H |
2 | #define UTIL_H |
3 | 3 | ||
4 | #include "scli.h" |
4 | #include "scli.h" |
5 | 5 | ||
6 | /* Internal string handlers */ |
- | |
7 | extern char * cli_strdup(const char *); |
- | |
8 | extern char * cli_strtok_r(char *, const char *, char **); |
- | |
9 | extern char * cli_strtok(char *, const char *); |
- | |
10 | - | ||
11 | /* Utility functions */ |
6 | /* Utility functions */ |
12 | extern unsigned int cli_count_args(char **); |
7 | extern unsigned int cli_count_args(char **); |
13 | extern unsigned int cli_set_prompt(cliuser_t *usr); |
8 | extern unsigned int cli_set_prompt(cliuser_t *usr); |
14 | 9 | ||
15 | #endif |
10 | #endif |