summaryrefslogtreecommitdiff
path: root/beecrypt/memchunk.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-08-02 00:45:38 +0000
committerjbj <devnull@localhost>2004-08-02 00:45:38 +0000
commit8931f04c4dcc79d665aa703594f93ada56b6e0b9 (patch)
treef304054ab421004098182ef6051110ef3aec28bd /beecrypt/memchunk.h
parent8462a31960e9cfd3274b83edd59f9cc3b74c40d2 (diff)
downloadrpm-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.h33
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
}