summaryrefslogtreecommitdiff
path: root/util.h
blob: ab0b15832f690ce8c11d2b38db60c5c6a32f47e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef LIBMC_UTIL_H
#define LIBMC_UTIL_H

#ifdef __cplusplus
extern "C" {
#endif /* } */

/* build a new C string by concatenate strings in ss
 * @ss: C strings, the last element is NULL
 * @note callers should call free() to free the returned C string
 */
char * alloc_build_string(const char *ss[]);

#ifdef __cplusplus
}
#endif

#endif