summaryrefslogtreecommitdiff
path: root/H64E-2/h64e.h
diff options
context:
space:
mode:
authorsystemcoder <systemcoder@protonmail.com>2020-03-13 22:58:43 +0000
committersystemcoder <systemcoder@protonmail.com>2020-03-13 22:58:43 +0000
commitedc949143c3e0a93c3868f0bbcc884fe721f4e92 (patch)
tree68e3bc4e663baa42d7e5d0217ca238dcf3fec016 /H64E-2/h64e.h
parent07ff9b8204da0b4a5ea8ad8a66ba12ae3e48abb8 (diff)
downloadH64D-2-edc949143c3e0a93c3868f0bbcc884fe721f4e92.tar.gz
H64D-2-edc949143c3e0a93c3868f0bbcc884fe721f4e92.zip
Added code for arguments settings, all function names defined
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r--H64E-2/h64e.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h
index bd5f13f..f96edbd 100644
--- a/H64E-2/h64e.h
+++ b/H64E-2/h64e.h
@@ -15,6 +15,27 @@
Set data structure from arguments and use to handle data
*/
+
+#define H64E_G_NONE 0
+#define H64E_G_BYTE 1
+#define H64E_G_WORD 2
+#define H64E_G_DWORD 3
+#define H64E_G_QWORD 4
+
+
+#define H64E_O_START 0
+#define H64E_O_NONE 0
+#define H64E_O_STRING 1
+#define H64E_O_INT8 2
+#define H64E_O_UINT8 3
+#define H64E_O_INT16 4
+#define H64E_O_UINT16 5
+#define H64E_O_INT32 6
+#define H64E_O_UINT32 7
+#define H64E_O_INT64 8
+#define H64E_O_UINT64 9
+#define H64E_O_END H64E_O_UINT64
+
typedef struct H64E_format
{
@@ -29,14 +50,18 @@ typedef struct H64E_format
typedef struct H64E_t
{
- H64E_format format;
+ H64E_format fmt;
H64E_stream_in sin;
H64E_stream_out sout;
+ int fd_in;
+ int fd_out;
} H64E_t;
int h64e_init(H64E_t *s);
+int h64e_check_param( H64E_t *s );
int h64e_set_input(H64E_t *s);
int h64e_set_output(H64E_t *s);
+int h64e_convert(H64E_t *s);
int h64e_destroy(H64E_t *s);