blob: 687b2894e469a8292471c1391debc9b9ad3bf1bd [file] [log] [blame]
Thomas Gleixner2522fe42019-05-28 09:57:20 -07001/* SPDX-License-Identifier: GPL-2.0-only */
David Teiglande7fd4172006-01-18 09:30:29 +00002/******************************************************************************
3*******************************************************************************
4**
5** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
Christine Caulfield391fbdc2009-05-07 10:54:16 -05006** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00007**
David Teiglande7fd4172006-01-18 09:30:29 +00008**
9*******************************************************************************
10******************************************************************************/
11
12#ifndef __LOWCOMMS_DOT_H__
13#define __LOWCOMMS_DOT_H__
14
David Teiglande7fd4172006-01-18 09:30:29 +000015int dlm_lowcomms_start(void);
16void dlm_lowcomms_stop(void);
David Teigland36b71a82012-07-26 12:44:30 -050017void dlm_lowcomms_exit(void);
David Teigland1c032c02006-04-28 10:50:41 -040018int dlm_lowcomms_close(int nodeid);
Al Viro38d6fd22006-10-09 20:27:30 +010019void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
David Teiglande7fd4172006-01-18 09:30:29 +000020void dlm_lowcomms_commit_buffer(void *mh);
Christine Caulfield391fbdc2009-05-07 10:54:16 -050021int dlm_lowcomms_connect_node(int nodeid);
David Teigland36b71a82012-07-26 12:44:30 -050022int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
David Teiglande7fd4172006-01-18 09:30:29 +000023
24#endif /* __LOWCOMMS_DOT_H__ */
25