diff options
author | jbj <devnull@localhost> | 2004-08-02 00:45:38 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-08-02 00:45:38 +0000 |
commit | 8931f04c4dcc79d665aa703594f93ada56b6e0b9 (patch) | |
tree | f304054ab421004098182ef6051110ef3aec28bd /beecrypt/memchunk.h | |
parent | 8462a31960e9cfd3274b83edd59f9cc3b74c40d2 (diff) | |
download | rpm-8931f04c4dcc79d665aa703594f93ada56b6e0b9.tar.gz |
Upgrade to beecrypt-4.0.0.
CVS patchset: 7372
CVS date: 2004/08/02 00:45:38
Diffstat (limited to 'beecrypt/memchunk.h')
-rw-r--r-- | beecrypt/memchunk.h | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/beecrypt/memchunk.h b/beecrypt/memchunk.h index 75e4f8fd6..4778b7ca8 100644 --- a/beecrypt/memchunk.h +++ b/beecrypt/memchunk.h @@ -23,12 +23,11 @@ #ifndef _MEMCHUNK_H #define _MEMCHUNK_H -#include "beecrypt.api.h" +#include "beecrypt/api.h" typedef struct { size_t size; -/*@only@*/ byte* data; } memchunk; @@ -36,28 +35,16 @@ typedef struct extern "C" { #endif -/** - */ -BEECRYPTAPI /*@only@*/ /*@null@*/ -memchunk* memchunkAlloc(size_t size) - /*@*/; - -/** - */ BEECRYPTAPI -/*@unused@*/ void memchunkFree(/*@only@*/ /*@null@*/memchunk* m) - /*@*/; - -/** - */ -BEECRYPTAPI /*@only@*/ /*@null@*/ -memchunk* memchunkResize(/*@only@*/ /*@null@*/memchunk* m, size_t size) - /*@*/; - -/** - */ -BEECRYPTAPI /*@only@*/ /*@null@*/ /*@unused@*/ -memchunk* memchunkClone(const memchunk* m); +memchunk* memchunkAlloc(size_t); +BEECRYPTAPI +void memchunkWipe(memchunk*); +BEECRYPTAPI +void memchunkFree(memchunk*); +BEECRYPTAPI +memchunk* memchunkResize(memchunk*, size_t); +BEECRYPTAPI +memchunk* memchunkClone(const memchunk*); #ifdef __cplusplus } |