aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: e4b9dcbec4649c448254305d79fb3c05a5dd23d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _RUNES_UTIL_H
#define _RUNES_UTIL_H

#define UNUSED(x) ((void)x)

void runes_warn(const char *fmt, ...);
void runes_die(const char *fmt, ...);
char *runes_get_daemon_socket_name(void);
int runes_sprintf_dup(char **out, const char *fmt, ...);
void runes_mkdir_p(char *dir);

#endif