source:
libabac/abac_util.h
@
8fa2c49
Last change on this file since 8fa2c49 was c586a3c, checked in by , 13 years ago | |
---|---|
|
|
File size: 367 bytes |
Rev | Line | |
---|---|---|
[7f25a67f] | 1 | #ifndef __UTIL_H__ |
2 | #define __UTTL_H__ | |
3 | ||
4 | #include <sys/types.h> | |
5 | ||
[3c251d0] | 6 | void *abac_xmalloc(size_t); |
7 | char *abac_xstrdup(char *); | |
[9a411d7] | 8 | void abac_split(char *string, char *delim, char **ret, int *num); |
[c586a3c] | 9 | char *abac_trim_quotes(char *); |
[7f25a67f] | 10 | |
[dbbf777] | 11 | #ifdef DEBUG |
12 | #define debug_printf(...) fprintf(stderr, __VA_ARGS__) | |
13 | #else | |
14 | #define debug_printf(...) do { } while (0) | |
15 | #endif | |
16 | ||
[7f25a67f] | 17 | #endif /* __UTIL_H__ */ |
Note: See TracBrowser
for help on using the repository browser.