blob: 67462e54fc2f80953979e3fb188aac35ed2195e2 [file] [log] [blame]
David Teiglande7fd4172006-01-18 09:30:29 +00001/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
Christine Caulfield391fbdc2009-05-07 10:54:16 -05005** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00006**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions
9** of the GNU General Public License v.2.
10**
11*******************************************************************************
12******************************************************************************/
13
14#ifndef __LOWCOMMS_DOT_H__
15#define __LOWCOMMS_DOT_H__
16
David Teiglande7fd4172006-01-18 09:30:29 +000017int dlm_lowcomms_start(void);
18void dlm_lowcomms_stop(void);
David Teigland36b71a82012-07-26 12:44:30 -050019void dlm_lowcomms_exit(void);
David Teigland1c032c02006-04-28 10:50:41 -040020int dlm_lowcomms_close(int nodeid);
Al Viro38d6fd22006-10-09 20:27:30 +010021void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
David Teiglande7fd4172006-01-18 09:30:29 +000022void dlm_lowcomms_commit_buffer(void *mh);
Christine Caulfield391fbdc2009-05-07 10:54:16 -050023int dlm_lowcomms_connect_node(int nodeid);
David Teigland36b71a82012-07-26 12:44:30 -050024int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
David Teiglande7fd4172006-01-18 09:30:29 +000025
26#endif /* __LOWCOMMS_DOT_H__ */
27