ast.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /******************************************************************************
  2. *******************************************************************************
  3. **
  4. ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
  5. **
  6. ** This copyrighted material is made available to anyone wishing to use,
  7. ** modify, copy, or redistribute it subject to the terms and conditions
  8. ** of the GNU General Public License v.2.
  9. **
  10. *******************************************************************************
  11. ******************************************************************************/
  12. #ifndef __ASTD_DOT_H__
  13. #define __ASTD_DOT_H__
  14. void dlm_del_ast(struct dlm_lkb *lkb);
  15. int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
  16. int status, uint32_t sbflags, uint64_t seq);
  17. int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
  18. struct dlm_callback *cb, int *resid);
  19. void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
  20. uint32_t sbflags);
  21. void dlm_callback_work(struct work_struct *work);
  22. int dlm_callback_start(struct dlm_ls *ls);
  23. void dlm_callback_stop(struct dlm_ls *ls);
  24. void dlm_callback_suspend(struct dlm_ls *ls);
  25. void dlm_callback_resume(struct dlm_ls *ls);
  26. #endif