blob: 757b551c6820ecccf3a6f95a3246c73263efb71b [file] [log] [blame]
David Teiglande7fd4172006-01-18 09:30:29 +00001/******************************************************************************
2*******************************************************************************
3**
David Teigland7fe2b312010-02-24 11:08:18 -06004** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00005**
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 Teiglande7fd4172006-01-18 09:30:29 +000016void dlm_del_ast(struct dlm_lkb *lkb);
David Teigland8304d6f2011-02-21 14:58:21 -060017int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
18 int status, uint32_t sbflags, uint64_t seq);
19int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
20 struct dlm_callback *cb, int *resid);
David Teigland23e8e1a2011-04-05 13:16:24 -050021void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
22 uint32_t sbflags);
David Teiglande7fd4172006-01-18 09:30:29 +000023
David Teigland23e8e1a2011-04-05 13:16:24 -050024void dlm_callback_work(struct work_struct *work);
25int dlm_callback_start(struct dlm_ls *ls);
26void dlm_callback_stop(struct dlm_ls *ls);
27void dlm_callback_suspend(struct dlm_ls *ls);
28void dlm_callback_resume(struct dlm_ls *ls);
David Teiglande7fd4172006-01-18 09:30:29 +000029
30#endif
31
David Teigland23e8e1a2011-04-05 13:16:24 -050032