2017-07-25 15:15:14 -04:00
|
|
|
#ifndef __CAPSICUM_H
|
|
|
|
#define __CAPSICUM_H
|
|
|
|
|
2017-07-27 09:20:47 -04:00
|
|
|
gboolean capsicum_enabled(void);
|
|
|
|
int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
|
2017-07-27 21:21:40 -04:00
|
|
|
int capsicum_net_gethostbyname(const char *addr, IPADDR *ip4, IPADDR *ip6);
|
2017-07-28 00:08:34 -04:00
|
|
|
int capsicum_open(const char *path, int flags, int mode);
|
2017-07-29 05:32:24 -04:00
|
|
|
void capsicum_mkdir_with_parents(const char *path, int mode);
|
2017-07-27 09:20:47 -04:00
|
|
|
|
2017-07-25 15:15:14 -04:00
|
|
|
void capsicum_init(void);
|
|
|
|
void capsicum_deinit(void);
|
|
|
|
|
|
|
|
#endif
|