[Title] Add packaging/nettle.spec to build nettle on OBS system
[external/nettle.git] / realloc.h
1 /* realloc.h
2  *
3  */
4
5 /* nettle, low-level cryptographics library
6  *
7  * Copyright (C) 2002 Niels Möller
8  *  
9  * The nettle library is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or (at your
12  * option) any later version.
13  * 
14  * The nettle library is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
17  * License for more details.
18  * 
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with the nettle library; see the file COPYING.LIB.  If not, write to
21  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22  * MA 02111-1307, USA.
23  */
24  
25 #ifndef NETTLE_REALLOC_H_INCLUDED
26 #define NETTLE_REALLOC_H_INCLUDED
27
28 #include "nettle-types.h"
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 typedef void *nettle_realloc_func(void *ctx, void *p, unsigned length);
35
36 nettle_realloc_func nettle_realloc;
37 nettle_realloc_func nettle_xrealloc;
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* NETTLE_REALLOC_H_INCLUDED */