diff options
author | Anton L. Šijanec <anton@sijanec.eu> | 2020-05-03 21:00:05 +0200 |
---|---|---|
committer | Anton L. Šijanec <anton@sijanec.eu> | 2020-05-03 21:00:05 +0200 |
commit | f80f005c602654abe137f152a5128c8abd81f9a7 (patch) | |
tree | 883df3ae2bb5873c34ea05a379122bd28db7a831 /src/bvr.h | |
parent | fix glede na prejšnji komit (diff) | |
download | bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.gz bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.bz2 bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.lz bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.xz bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.zst bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.zip |
Diffstat (limited to 'src/bvr.h')
-rw-r--r-- | src/bvr.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/bvr.h b/src/bvr.h new file mode 100644 index 0000000..c6431ae --- /dev/null +++ b/src/bvr.h @@ -0,0 +1,27 @@ +#pragma once +#include <strlcpy.c> +#define SUCCESS 0 +#define FAILURE -1 +#define COPY_BUFFER_SIZE 128 +#define OPENING_COMMAND_TAG_LENGTH 2 +#define OPENING_COMMAND_TAG_CHAR_1 '<' +#define OPENING_COMMAND_TAG_CHAR_2 '@' +#define CLOSING_COMMAND_TAG_CHAR_1 '@' +#define CLOSING_COMMAND_TAG_CHAR_2 '>' +#define LINE_COMMENT_CHAR '#' +#define LINE_COMMAND_CHAR '?' +#define WAITING_FOR_COMMAND 8922 +#define READING_COMMAND 2343 +#define PROCESSING_COMMAND 346 +#define THE_VOID "/dev/null" + +#define BVR_INITIAL_VARIABLES_COUNT 128 +#define BVR_MAX_VARIABLE_SIZE 128 +#define BVR_UNDEFINED "BVR_UNDEFINED" + +char bvr_variables[BVR_INITIAL_VARIABLES_COUNT*2][BVR_MAX_VARIABLE_SIZE]; +int bvr_bvrvar_first_time_set = 1; + +#define BVR_VER_MAJOR 0 +#define BVR_VER_MINOR 0 +#define BVR_VER_PATCH 0 |