|
Revision 470
(checked in by ben, 6 years ago)
|
Untested, non-functional, partial encryption implementation.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
#ifndef OPS_TYPES_H |
|---|
| 5 |
#define OPS_TYPES_H |
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
typedef void (*ops_void_fptr)(void); |
|---|
| 11 |
#define ops_fcast(f) ((ops_void_fptr)f) |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
typedef struct |
|---|
| 16 |
{ |
|---|
| 17 |
int type; |
|---|
| 18 |
char *string; |
|---|
| 19 |
} ops_map_t; |
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
typedef unsigned ops_boolean_t; |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
typedef enum ops_content_tag_t ops_content_tag_t; |
|---|
| 26 |
|
|---|
| 27 |
typedef struct _ops_crypt_t ops_crypt_t; |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
typedef struct _ops_hash_t ops_hash_t; |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
typedef enum ops_content_tag_t ops_packet_tag_t; |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
typedef enum ops_content_tag_t ops_ss_type_t; |
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
typedef unsigned char ops_ss_rr_code_t; |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
typedef enum ops_parse_type_t ops_parse_type_t; |
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
typedef struct ops_parser_content_t ops_parser_content_t; |
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
typedef enum |
|---|
| 64 |
{ |
|---|
| 65 |
OPS_WF_DUMMY, |
|---|
| 66 |
} ops_writer_flags_t; |
|---|
| 67 |
|
|---|
| 68 |
typedef enum ops_writer_ret_t ops_writer_ret_t; |
|---|
| 69 |
|
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
typedef struct ops_create_info ops_create_info_t; |
|---|
| 75 |
|
|---|
| 76 |
#endif |
|---|
| 77 |
|
|---|