aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: b2d0a28944c544fc72a97a57c6c99a9c076c28e0 (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_socket_name();
int sprintf_dup(char **out, const char *fmt, ...);
void mkdir_p(char *dir);

#endif