1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2024-07-22 01:58:46 -03:00

31 lines
556 B
C

/*
* Memory allocation unit
*
* $Id: mem.h,v 1.1.1.1 2007/04/12 09:42:38 ian Exp $
*
*/
#ifndef LANE_MEM_H
#define LANE_MEM_H
/* System includes needed for types */
#include "sys/types.h"
/* Local includes needed for types */
#include "units.h"
/* Type definitions */
/* Global function prototypes */
void *mem_alloc(const Unit_t *unit, size_t nbytes);
void mem_free(const Unit_t *unit, const void *mem);
/* Dump memory allocation info, NULL == all */
void mem_dump(const Unit_t *unit);
/* Global data */
extern const Unit_t mem_unit;
#endif