mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
d2031f6a16
Code is mixing up internal DLM and LVM definitions of lock modes and flags. OpenAIS and singlenode locking do not depend on DLM but code currently cannot be compiled without libdlm.h! LCK_* flags is LVM abstraction, used through all the code. Only low-level backend (clvmd-cman etc) should use DLM definitions, also this code should do all needed conversions. Because there are two DLM flags used in generic code (NOQUEUE, CONVERT) we define it similar way like lock modes. (So all needed binary-compatible flags are on one place in locking.h) (Further code cleaning still needed, though:-)
10 lines
412 B
C
10 lines
412 B
C
extern int get_next_node_csid(void **context, char *csid);
|
|
extern void add_down_node(char *csid);
|
|
extern int gulm_fd(void);
|
|
extern int get_ip_address(const char *node, char *addr);
|
|
extern void tcp_remove_client(const char *csid);
|
|
extern int alloc_client(int fd, const char *csid, struct local_client **new_client);
|
|
|
|
void gulm_add_up_node(const char *csid);
|
|
int gulm_name_from_csid(const char *csid, char *name);
|