summaryrefslogtreecommitdiff
path: root/beecrypt/memchunk.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-19 16:16:15 +0000
committerjbj <devnull@localhost>2001-09-19 16:16:15 +0000
commit02c1189d5951c70f632482fc0a674af35e9ea15d (patch)
tree5d8020b8d3fdca7f57d27097cbb6c44aa91e2c70 /beecrypt/memchunk.h
parent7aea4d1e958c385d5ecd01638a3f295426ccf15c (diff)
downloadlibrpm-tizen-02c1189d5951c70f632482fc0a674af35e9ea15d.tar.gz
librpm-tizen-02c1189d5951c70f632482fc0a674af35e9ea15d.tar.bz2
librpm-tizen-02c1189d5951c70f632482fc0a674af35e9ea15d.zip
Add autogen.sh et al to build from CVS.
First pass at lclint annotations. CVS patchset: 5062 CVS date: 2001/09/19 16:16:15
Diffstat (limited to 'beecrypt/memchunk.h')
-rw-r--r--beecrypt/memchunk.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/beecrypt/memchunk.h b/beecrypt/memchunk.h
index f8495b9e1..a37fbbd3f 100644
--- a/beecrypt/memchunk.h
+++ b/beecrypt/memchunk.h
@@ -32,19 +32,22 @@
typedef struct
{
int size;
- byte* data;
+/*@only@*/ byte* data;
} memchunk;
#ifdef __cplusplus
extern "C" {
#endif
+BEEDLLAPI /*@only@*/ /*@null@*/
+memchunk* memchunkAlloc(int size)
+ /*@*/;
BEEDLLAPI
-memchunk* memchunkAlloc(int);
-BEEDLLAPI
-void memchunkFree(memchunk*);
-BEEDLLAPI
-memchunk* memchunkResize(memchunk*, int);
+void memchunkFree(/*@only@*/ /*@null@*/memchunk* m)
+ /*@*/;
+BEEDLLAPI /*@only@*/ /*@null@*/
+memchunk* memchunkResize(/*@only@*/ /*@null@*/memchunk* m, int size)
+ /*@*/;
#ifdef __cplusplus
}