lowcomms.h 1.1 KB

123456789101112131415161718192021222324252627
  1. /******************************************************************************
  2. *******************************************************************************
  3. **
  4. ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
  5. ** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
  6. **
  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. #ifndef __LOWCOMMS_DOT_H__
  14. #define __LOWCOMMS_DOT_H__
  15. int dlm_lowcomms_start(void);
  16. void dlm_lowcomms_stop(void);
  17. void dlm_lowcomms_exit(void);
  18. int dlm_lowcomms_close(int nodeid);
  19. void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
  20. void dlm_lowcomms_commit_buffer(void *mh);
  21. int dlm_lowcomms_connect_node(int nodeid);
  22. int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
  23. #endif /* __LOWCOMMS_DOT_H__ */