summaryrefslogtreecommitdiff
path: root/buf.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2019-09-25 19:17:09 +0100
committerFreeArtMan <dos21h@gmail.com>2019-09-25 19:17:09 +0100
commit3e187c094f12ef41ea6de2f55d128c3e037b5c12 (patch)
treef0dbbc5df260532e284ca5264297d0a8044eaeb4 /buf.h
parentbbd73385a0db271b457c63e4d6bab54f581410f9 (diff)
downloadihe-3e187c094f12ef41ea6de2f55d128c3e037b5c12.tar.gz
ihe-3e187c094f12ef41ea6de2f55d128c3e037b5c12.zip
Untested version, recompiled with new buf library and with c+
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/buf.h b/buf.h
deleted file mode 100644
index 72bbc45..0000000
--- a/buf.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef __IHE_BUF_H
-#define __IHE_BUF_H
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdint.h>
-#include <string.h>
-
-typedef struct buf_t
-{
- uint8_t *buf;
- int size;
- int buf_size;
-} buf_t;
-
-/*
-create empty buffer structure
-*/
-buf_t* buf_init();
-
-int buf_not_null( buf_t *bf );
-
-/*
-if empty setup new buffer
-if not empty resize?
-*/
-int buf_size( buf_t *bf, int size );
-/*
-set used buffer size
-*/
-int buf_used_size( buf_t *bf, int size );
-/*
-change buffer size
-*/
-int buf_resize( buf_t *bf, int size );
-/*
-make buffer full of zeros
-*/
-int buf_zero( buf_t *bf );
-/*
-clean all buffer
-*/
-void buf_free( buf_t *bf );
-
-
-#endif \ No newline at end of file