vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / cdcm / cdcmMem.h
blob3fe509f4ffa2fceada4511984e78b5d5d0c21cdb
1 /**
2 * @file cdcmMem.h
4 * @brief All CDCM memory handling definitions are located here.
6 * @author Georgievskiy Yury, Alain Gagnaire. CERN AB/CO.
8 * @date Created on 17/02/2007
10 * Many thanks to Julian Lewis and Nicolas de Metz-Noblat.
12 * @version $Id: cdcmMem.h,v 1.4 2009/01/09 10:26:03 ygeorgie Exp $
14 #ifndef _CDCM_MEM_H_INCLUDE_
15 #define _CDCM_MEM_H_INCLUDE_
17 /* The size and flags of a buffer are prepended to it */
18 struct cdcm_mem_header {
19 unsigned int size;
20 unsigned int flags;
23 void cdcm_mem_free(void *addr);
24 void *cdcm_mem_alloc(ssize_t size, int flags);
26 #endif /* _CDCM_MEM_H_INCLUDE_ */