20 |
#ifndef UTIL_H_ |
#ifndef UTIL_H_ |
21 |
#define UTIL_H_ |
#define UTIL_H_ |
22 |
|
|
23 |
|
#include <config.h> |
24 |
|
|
25 |
|
#ifndef HAVE_VASPRINTF |
26 |
|
#include <stdarg.h> |
27 |
|
#endif |
28 |
#include <stdio.h> |
#include <stdio.h> |
29 |
#include <stdlib.h> |
#include <stdlib.h> |
30 |
|
|
83 |
|
|
84 |
void free_dir_list(struct DirListEntry * list); |
void free_dir_list(struct DirListEntry * list); |
85 |
|
|
86 |
|
#ifndef HAVE_VASPRINTF |
87 |
|
int vasprintf(char ** s, const char * template, va_list a); |
88 |
|
#endif |
89 |
|
|
90 |
|
#ifndef HAVE_ASPRINTF |
91 |
|
int asprintf(char ** s, const char * template, ...) |
92 |
|
__attribute__((__format__(printf, 2, 3))); |
93 |
|
#endif |
94 |
|
|
95 |
#endif |
#endif |