ring_tx: handle EINTR from sendto
[netsniff-ng-new.git] / curvetun_mgmt_servers.h
blob9c5cd848483d51d2f71011ffa410e7bfdd60f351
1 #ifndef CT_SERVMGMT_H
2 #define CT_SERVMGMT_H
4 #include <stdio.h>
5 #include "curve.h"
7 extern void parse_userfile_and_generate_serv_store_or_die(char *homedir);
8 extern void dump_serv_store(void);
9 extern void get_serv_store_entry_by_alias(char *alias, size_t len,
10 char **host, char **port, int *udp);
11 extern struct curve25519_proto *get_serv_store_entry_proto_inf(void);
12 extern unsigned char *get_serv_store_entry_auth_token(void);
13 extern void destroy_serv_store(void);
15 #endif /* CT_SERVMGMT_H */