ast.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /******************************************************************************
  3. *******************************************************************************
  4. **
  5. ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
  6. **
  7. **
  8. *******************************************************************************
  9. ******************************************************************************/
  10. #ifndef __ASTD_DOT_H__
  11. #define __ASTD_DOT_H__
  12. bool dlm_may_skip_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
  13. int status, uint32_t sbflags, int *copy_lvb);
  14. int dlm_get_cb(struct dlm_lkb *lkb, uint32_t flags, int mode,
  15. int status, uint32_t sbflags,
  16. struct dlm_callback **cb);
  17. void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
  18. uint32_t sbflags);
  19. int dlm_callback_start(struct dlm_ls *ls);
  20. void dlm_callback_stop(struct dlm_ls *ls);
  21. void dlm_callback_suspend(struct dlm_ls *ls);
  22. void dlm_callback_resume(struct dlm_ls *ls);
  23. #endif