=================================================================== RCS file: /cvs/cvs/blind/blind.h,v retrieving revision 1.10 retrieving revision 1.14 diff -u -p -r1.10 -r1.14 --- blind/blind.h 2022/03/29 20:11:47 1.10 +++ blind/blind.h 2022/04/19 03:01:37 1.14 @@ -14,7 +14,11 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef BLIND_H +#define BLIND_H + #include +#include #define BL_TEXT "blind" #define BL_VERS "0.0.1" @@ -31,7 +35,18 @@ struct blind { char bl_conf[PATH_MAX]; - char bl_sock[PATH_MAX]; + char bl_sock[PATH_MAX]; int bl_ttl; - uint32_t bl_opt; + uint32_t bl_opt; }; + +struct file { + FILE *stream; + char *name; + size_t unpos; + size_t unsize; + u_char *unbuf; + int lineno; +}; + +#endif /* BLIND_H */