3 #include <netinet/in.h>
5 #define GULM_MAX_CLUSTER_MESSAGE 1600
6 #define GULM_MAX_CSID_LEN sizeof(struct in6_addr)
7 #define GULM_MAX_CLUSTER_MEMBER_NAME_LEN 128
9 extern int init_comms(unsigned short);
10 extern char *print_csid(const char *);
11 int get_main_gulm_cluster_fd(void);
12 int cluster_fd_gulm_callback(struct local_client
*fd
, char *buf
, int len
, const char *csid
, struct local_client
**new_client
);
13 int gulm_cluster_send_message(void *buf
, int msglen
, const char *csid
, const char *errtext
);
14 void get_our_gulm_csid(char *csid
);
15 int gulm_connect_csid(const char *csid
, struct local_client
**newclient
);