Subversion Repositories HelenOS

Rev

Rev 3265 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3265 Rev 3280
1
#ifndef UTIL_H
1
#ifndef UTIL_H
2
#define UTIL_H
2
#define UTIL_H
3
 
3
 
4
/* For internal getopt-like stuff */
4
/* For internal getopt-like stuff */
5
extern unsigned int is_option(char *);
5
extern unsigned int is_option(char *);
6
extern unsigned int count_options(char *[]);
6
extern unsigned int count_options(char *[]);
7
 
7
 
8
/* String functions not yet present in HelenOS uspace libc */
8
/* String functions not yet present in HelenOS uspace libc */
9
extern char * cli_strdup(const char *s1);
9
extern char * cli_strdup(const char *s1);
10
extern char * cli_strtok_r(char *, const char *, char **);
10
extern char * cli_strtok_r(char *, const char *, char **);
11
extern char * cli_strtok(char *, const char *);
11
extern char * cli_strtok(char *, const char *);
12
extern void cli_free(void **);
-
 
13
#endif
12
#endif
14
 
13