1e7fd4179SDavid Teigland /****************************************************************************** 2e7fd4179SDavid Teigland ******************************************************************************* 3e7fd4179SDavid Teigland ** 47fe2b319SDavid Teigland ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. 5e7fd4179SDavid Teigland ** 6e7fd4179SDavid Teigland ** This copyrighted material is made available to anyone wishing to use, 7e7fd4179SDavid Teigland ** modify, copy, or redistribute it subject to the terms and conditions 8e7fd4179SDavid Teigland ** of the GNU General Public License v.2. 9e7fd4179SDavid Teigland ** 10e7fd4179SDavid Teigland ******************************************************************************* 11e7fd4179SDavid Teigland ******************************************************************************/ 12e7fd4179SDavid Teigland 13e7fd4179SDavid Teigland #ifndef __ASTD_DOT_H__ 14e7fd4179SDavid Teigland #define __ASTD_DOT_H__ 15e7fd4179SDavid Teigland 16e7fd4179SDavid Teigland void dlm_del_ast(struct dlm_lkb *lkb); 178304d6f2SDavid Teigland int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, 188304d6f2SDavid Teigland int status, uint32_t sbflags, uint64_t seq); 198304d6f2SDavid Teigland int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, 208304d6f2SDavid Teigland struct dlm_callback *cb, int *resid); 21*23e8e1aaSDavid Teigland void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, 228304d6f2SDavid Teigland uint32_t sbflags); 23e7fd4179SDavid Teigland 24*23e8e1aaSDavid Teigland void dlm_callback_work(struct work_struct *work); 25*23e8e1aaSDavid Teigland int dlm_callback_start(struct dlm_ls *ls); 26*23e8e1aaSDavid Teigland void dlm_callback_stop(struct dlm_ls *ls); 27*23e8e1aaSDavid Teigland void dlm_callback_suspend(struct dlm_ls *ls); 28*23e8e1aaSDavid Teigland void dlm_callback_resume(struct dlm_ls *ls); 29e7fd4179SDavid Teigland 30e7fd4179SDavid Teigland #endif 31e7fd4179SDavid Teigland 32*23e8e1aaSDavid Teigland 33