Debian Codegraph @

secmem/memory.h

raw symbols SCIP
1 /* Quintuple Agent secure memory allocation
2 * Copyright (C) 1998,1999 Free Software Foundation, Inc.
3 * Copyright (C) 1999,2000 Robert Bihlmeyer <[email protected]>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301.
18 */
19
20 #ifndef _MEMORY_H
21 #define _MEMORY_Hcxx . . $ `secmem/memory.h:21:9`!
22
23 #include <sys/types.h>
24
25 /* values for flags, hardcoded in secmem.c */
26 #define SECMEM_WARNcxx . . $ `secmem/memory.h:26:9`! 0
27 #define SECMEM_DONT_WARNcxx . . $ `secmem/memory.h:27:9`! 1
28 #define SECMEM_SUSPEND_WARNcxx . . $ `secmem/memory.h:28:9`! 2
29
30 void secmem_initcxx . . $ secmem_init(2c44cd906ae4e829).( size_tcxx . . $ size_t# npool );
31 void secmem_termcxx . . $ secmem_term(49f6e7a06ebc5aa8).( void );
32 void *secmem_malloccxx . . $ secmem_malloc(bfcfa4d6b7f7ef64).( size_tcxx . . $ size_t# size );
33 void *secmem_realloccxx . . $ secmem_realloc(417ab160f6baadc6).( void *a, size_tcxx . . $ size_t# newsize );
34 void secmem_freecxx . . $ secmem_free(5d22bdacc48458e8).( void *a );
35 int m_is_securecxx . . $ m_is_secure(aa284d429d6986c8).( const void *p );
36 void secmem_dump_statscxx . . $ secmem_dump_stats(49f6e7a06ebc5aa8).(void);
37 void secmem_set_flagscxx . . $ secmem_set_flags(cb2f890c2fdad230).( unsigned flags );
38 unsigned secmem_get_flagscxx . . $ secmem_get_flags(db52760e79bf9054).(void);
39
40 #endif /* _MEMORY_H */