Rev 3376 | Rev 3480 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3265 | post | 1 | #ifndef UTIL_H |
2 | #define UTIL_H |
||
3 | |||
3377 | post | 4 | #include "scli.h" |
5 | |||
3316 | post | 6 | /* Internal string handlers */ |
3345 | post | 7 | extern char * cli_strdup(const char *); |
8 | extern int cli_redup(char **, const char *); |
||
9 | extern int cli_psprintf(char **, const char *, ...); |
||
3265 | post | 10 | extern char * cli_strtok_r(char *, const char *, char **); |
11 | extern char * cli_strtok(char *, const char *); |
||
3377 | post | 12 | |
13 | /* Utility functions */ |
||
3376 | post | 14 | extern unsigned int cli_count_args(char **); |
3377 | post | 15 | extern unsigned int cli_set_prompt(cliuser_t *usr); |
3316 | post | 16 | |
3265 | post | 17 | #endif |