/******************************************************************************
*******************************************************************************
**
**  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
**  Copyright (C) 2004 Red Hat, Inc.  All rights reserved.
**  
**  This copyrighted material is made available to anyone wishing to use,
**  modify, copy, or redistribute it subject to the terms and conditions
**  of the GNU General Public License v.2.
**
*******************************************************************************
******************************************************************************/

#ifndef __AST_DOT_H__
#define __AST_DOT_H__

void lockqueue_lkb_mark(struct dlm_ls *ls);
int resend_cluster_requests(struct dlm_ls *ls);
void add_to_lockqueue(struct dlm_lkb *lkb);
void remove_from_lockqueue(struct dlm_lkb *lkb);
void add_to_deadlockqueue(struct dlm_lkb *lkb);
void remove_from_deadlockqueue(struct dlm_lkb *lkb);
void remove_from_astqueue(struct dlm_lkb *lkb);
void queue_ast(struct dlm_lkb *lkb, uint16_t astflags, uint8_t rqmode);
void wake_astd(void);
int astd_start(void);
void astd_stop(void);
void astd_suspend(void);
void astd_resume(void);

#endif				/* __AST_DOT_H__ */
