/******************************************************************************1*******************************************************************************2**3** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.4** Copyright (C) 2004-2005 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 conditions8** of the GNU General Public License v.2.9**10*******************************************************************************11******************************************************************************/1213#ifndef __DIR_DOT_H__14#define __DIR_DOT_H__151617int dlm_dir_nodeid(struct dlm_rsb *rsb);18int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash);19void dlm_dir_remove_entry(struct dlm_ls *ls, int nodeid, char *name, int len);20void dlm_dir_clear(struct dlm_ls *ls);21void dlm_clear_free_entries(struct dlm_ls *ls);22int dlm_recover_directory(struct dlm_ls *ls);23int dlm_dir_lookup(struct dlm_ls *ls, int nodeid, char *name, int namelen,24int *r_nodeid);25void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen,26char *outbuf, int outlen, int nodeid);2728#endif /* __DIR_DOT_H__ */29303132