version 1.7, 2022/03/19 07:44:35 |
version 1.12, 2022/04/03 11:01:52 |
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
|
|
|
#ifndef BLIND_H |
|
#define BLIND_H |
|
|
#include <limits.h> |
#include <limits.h> |
|
|
#define BL_TEXT "blind" |
#define BL_TEXT "blind" |
|
|
#define BL_OPT_DEFAULT 0x00000000 |
#define BL_OPT_DEFAULT 0x00000000 |
#define BL_OPT_VERBOSE 0x00000001 |
#define BL_OPT_VERBOSE 0x00000001 |
#define BL_OPT_ACTION 0x00000002 |
#define BL_OPT_ACTION 0x00000002 |
|
#define BL_OPT_COMPRESS 0x00000004 |
|
#define BL_OPT_ENCRYPT 0x00000008 |
|
|
#define BL_FLG_DEFAULT 0x00000000 |
|
#define BL_FLG_COMPRESS 0x00000001 |
|
#define BL_FLG_ENCRYPT 0x00000002 |
|
|
|
struct blind { |
struct blind { |
char bl_conf[PATH_MAX]; |
char bl_conf[PATH_MAX]; |
char bl_sock[PATH_MAX]; |
char bl_sock[PATH_MAX]; |
int bl_ttl; |
int bl_ttl; |
uint32_t bl_opt; |
uint32_t bl_opt; |
uint32_t bl_flg; |
|
//char *bl_key; |
|
//char bl_host[HOST_NAME_MAX+1]; |
|
//time_t bl_uptime; |
|
//char *bl_cipher; |
|
//char *bl_proto; |
|
}; |
}; |
|
|
|
#endif /* BLIND_H */ |