summaryrefslogtreecommitdiff
path: root/accel-pppd/utils.h
blob: be62f6a30011cacd905c4f41aa9a0e635b025ab1 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __UTILS_H
#define __UTILS_H

#include <netinet/in.h>

void u_inet_ntoa(in_addr_t, char *str);
int u_readlong(long int *dst, const char *src, long int min, long int max);
int u_randbuf(void *buf, size_t buf_len, int *err);

#endif