1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/daemons/clvmd/tcp-comms.h

14 lines
603 B
C
Raw Normal View History

2004-06-24 12:02:38 +04:00
#include <netinet/in.h>
#define GULM_MAX_CLUSTER_MESSAGE 1600
#define GULM_MAX_CSID_LEN sizeof(struct in6_addr)
#define GULM_MAX_CLUSTER_MEMBER_NAME_LEN 128
2004-06-24 12:02:38 +04:00
extern int init_comms(unsigned short);
2007-05-02 16:22:40 +04:00
extern char *print_csid(const char *);
int get_main_gulm_cluster_fd(void);
int cluster_fd_gulm_callback(struct local_client *fd, char *buf, int len, const char *csid, struct local_client **new_client);
int gulm_cluster_send_message(void *buf, int msglen, const char *csid, const char *errtext);
void get_our_gulm_csid(char *csid);
2007-05-02 16:22:40 +04:00
int gulm_connect_csid(const char *csid, struct local_client **newclient);