blob: 1eb56402e72fa9efa094c6c06de9ecded362faad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef __CAPSICUM_H
#define __CAPSICUM_H
gboolean capsicum_enabled(void);
int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
int capsicum_net_gethostbyname(const char *addr, IPADDR *ip4, IPADDR *ip6);
int capsicum_open(const char *path, int flags, int mode);
void capsicum_mkdir_with_parents(const char *path, int mode);
void capsicum_init(void);
void capsicum_deinit(void);
#endif
|