xref: /freebsd/contrib/ntp/include/isc/mem.h (revision 9c2daa00c2315f101948c7144d62af5d5fb515cf)
19c2daa00SOllivier Robert /*
29c2daa00SOllivier Robert  * Copyright (C) 1997-2001  Internet Software Consortium.
39c2daa00SOllivier Robert  *
49c2daa00SOllivier Robert  * Permission to use, copy, modify, and distribute this software for any
59c2daa00SOllivier Robert  * purpose with or without fee is hereby granted, provided that the above
69c2daa00SOllivier Robert  * copyright notice and this permission notice appear in all copies.
79c2daa00SOllivier Robert  *
89c2daa00SOllivier Robert  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
99c2daa00SOllivier Robert  * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
109c2daa00SOllivier Robert  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
119c2daa00SOllivier Robert  * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
129c2daa00SOllivier Robert  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
139c2daa00SOllivier Robert  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
149c2daa00SOllivier Robert  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
159c2daa00SOllivier Robert  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
169c2daa00SOllivier Robert  */
179c2daa00SOllivier Robert 
189c2daa00SOllivier Robert /* $Id: mem.h,v 1.58 2001/09/07 00:51:51 marka Exp $ */
199c2daa00SOllivier Robert 
209c2daa00SOllivier Robert #ifndef ISC_MEM_H
219c2daa00SOllivier Robert #define ISC_MEM_H 1
229c2daa00SOllivier Robert 
239c2daa00SOllivier Robert #include <stdio.h>
249c2daa00SOllivier Robert #include <isc/types.h>
259c2daa00SOllivier Robert 
269c2daa00SOllivier Robert void *
279c2daa00SOllivier Robert isc_mem_get(isc_mem_t *, size_t);
289c2daa00SOllivier Robert void
299c2daa00SOllivier Robert isc_mem_put(isc_mem_t *, void *, size_t);
309c2daa00SOllivier Robert 
319c2daa00SOllivier Robert #endif /* ISC_MEM_H */
32