making the kernel build with up to date compilers again, see https://bbs.archlinux...
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / fs / dlm / memory.h
blob485fb29143bdd0d86af973523ea8ab4a584780ab
1 /******************************************************************************
2 *******************************************************************************
3 **
4 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5 ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
6 **
7 ** This copyrighted material is made available to anyone wishing to use,
8 ** modify, copy, or redistribute it subject to the terms and conditions
9 ** of the GNU General Public License v.2.
11 *******************************************************************************
12 ******************************************************************************/
14 #ifndef __MEMORY_DOT_H__
15 #define __MEMORY_DOT_H__
17 int dlm_memory_init(void);
18 void dlm_memory_exit(void);
19 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls, int namelen);
20 void dlm_free_rsb(struct dlm_rsb *r);
21 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
22 void dlm_free_lkb(struct dlm_lkb *l);
23 char *dlm_allocate_lvb(struct dlm_ls *ls);
24 void dlm_free_lvb(char *l);
26 #endif /* __MEMORY_DOT_H__ */