aboutsummaryrefslogtreecommitdiff
path: root/util.h
blob: 7ea531189eef3bba83b4dea76d26ae378724216f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef H_UTIL
#define H_UTIL

#include <inttypes.h>
#include <sds/sds.h>

uint16_t inet_atop(const char *port);
void herr(int output, const char* funcName);
void herrc(int output, const char* funcName);
sds gsub(sds str, const char* regex, const char* repl);

#endif