David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | ******************************************************************************* |
| 3 | ** |
David Teigland | 7fe2b31 | 2010-02-24 11:08:18 -0600 | [diff] [blame] | 4 | ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 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 | |
| 13 | #ifndef __ASTD_DOT_H__ |
| 14 | #define __ASTD_DOT_H__ |
| 15 | |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 16 | void dlm_del_ast(struct dlm_lkb *lkb); |
David Teigland | 8304d6f | 2011-02-21 14:58:21 -0600 | [diff] [blame] | 17 | int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, |
| 18 | int status, uint32_t sbflags, uint64_t seq); |
| 19 | int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, |
| 20 | struct dlm_callback *cb, int *resid); |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 21 | void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, |
| 22 | uint32_t sbflags); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 23 | |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 24 | void dlm_callback_work(struct work_struct *work); |
| 25 | int dlm_callback_start(struct dlm_ls *ls); |
| 26 | void dlm_callback_stop(struct dlm_ls *ls); |
| 27 | void dlm_callback_suspend(struct dlm_ls *ls); |
| 28 | void dlm_callback_resume(struct dlm_ls *ls); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 29 | |
| 30 | #endif |
| 31 | |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 32 | |