Subversion Repositories HelenOS

Rev

Rev 3480 | Rev 3483 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef UTIL_H
  2. #define UTIL_H
  3.  
  4. #include "scli.h"
  5.  
  6. /* Internal string handlers */
  7. extern char * cli_strdup(const char *);
  8. extern size_t cli_redup(char **, const char *);
  9. extern char * cli_strtok_r(char *, const char *, char **);
  10. extern char * cli_strtok(char *, const char *);
  11.  
  12. /* Utility functions */
  13. extern unsigned int cli_count_args(char **);
  14. extern unsigned int cli_set_prompt(cliuser_t *usr);
  15.  
  16. #endif
  17.