/* -*-c-*-
*
- * $Id: lmem.h,v 1.3 2000/07/29 21:58:15 mdw Exp $
+ * $Id: lmem.h,v 1.5 2004/04/08 01:36:15 mdw Exp $
*
* Locked memory allocation
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: lmem.h,v $
- * Revision 1.3 2000/07/29 21:58:15 mdw
- * (l_destroy): New function for destroying locked memory blocks.
- *
- * Revision 1.2 2000/06/17 11:29:38 mdw
- * Add arena support.
- *
- * Revision 1.1 1999/12/22 16:02:52 mdw
- * Interface to allocating `locked' memory (which isn't paged out).
- *
- */
-
#ifndef CATACOMB_LMEM_H
#define CATACOMB_LMEM_H
unsigned f; /* Various flags */
} l_node;
-enum {
- LF_ALLOC = 1
-};
+#define LF_ALLOC 1u
/* --- Locked memory buffer state --- */
int err; char *emsg; /* Error indicators */
} lmem;
-enum {
- LF_LOCKED = 1
-};
+#define LF_LOCKED 1u
/*----- Functions provided ------------------------------------------------*/