| 1 | /** |
| 2 | @file lzo/lzo1x.h |
| 3 | This service provides dynamic access to LZO. |
| 4 | */ |
| 5 | |
| 6 | #ifndef LZO_INCLUDED |
| 7 | #ifdef __cpluspluscxx . . $ `<built-in>:471:9`! |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | #ifndef MYSQL_ABI_CHECK |
| 12 | #include <stdbool.h> |
| 13 | #endif |
| 14 | |
| 15 | #ifndef MYSQL_DYNAMIC_PLUGIN |
| 16 | #define provider_service_lzocxx . . $ `include/providers/lzo/lzo1x.h:16:9`! provider_service_lzo_static |
| 17 | #endif |
| 18 | |
| 19 | #ifndef LZO_E_OK |
| 20 | #define LZO_E_OKcxx . . $ `include/providers/lzo/lzo1x.h:20:9`! 0 |
| 21 | #define LZO_E_INTERNAL_ERRORcxx . . $ `include/providers/lzo/lzo1x.h:21:9`! (-99) |
| 22 | |
| 23 | #define LZO1X_1_15_MEM_COMPRESScxx . . $ `include/providers/lzo/lzo1x.h:23:9`! ((unsigned int) (32768L * ((unsigned) sizeof(unsigned char *)))) |
| 24 | |
| 25 | typedef size_t lzo_uint; |
| 26 | |
| 27 | #define lzo1x_1_15_compresscxx . . $ `include/providers/lzo/lzo1x.h:27:9`!(...) provider_service_lzo->lzo1x_1_15_compress_ptr (__VA_ARGS__) |
| 28 | #define lzo1x_decompress_safecxx . . $ `include/providers/lzo/lzo1x.h:28:9`!(...) provider_service_lzo->lzo1x_decompress_safe_ptr (__VA_ARGS__) |
| 29 | #endif |
| 30 | |
| 31 | #define DEFINE_lzo1x_1_15_compresscxx . . $ `include/providers/lzo/lzo1x.h:31:9`!(NAME) NAME( \ |
| 32 | const unsigned char *src, \ |
| 33 | lzo_uint src_len, \ |
| 34 | unsigned char *dst, \ |
| 35 | lzo_uint *dst_len, \ |
| 36 | void *wrkmem \ |
| 37 | ) |
| 38 | |
| 39 | #define DEFINE_lzo1x_decompress_safecxx . . $ `include/providers/lzo/lzo1x.h:39:9`!(NAME) NAME( \ |
| 40 | const unsigned char *src, \ |
| 41 | lzo_uint src_len, \ |
| 42 | unsigned char *dst, \ |
| 43 | lzo_uint *dst_len, \ |
| 44 | void *wrkmem \ |
| 45 | ) |
| 46 | |
| 47 | struct provider_service_lzo_st |
| 48 | { |
| 49 | int DEFINE_lzo1x_1_15_compresscxx . . $ `include/providers/lzo/lzo1x.h:31:9`!((*lzo1x_1_15_compress_ptr)); |
| 50 | int DEFINE_lzo1x_decompress_safecxx . . $ `include/providers/lzo/lzo1x.h:39:9`!((*lzo1x_decompress_safe_ptr)); |
| 51 | |
| 52 | bool is_loaded; |
| 53 | }; |
| 54 | |
| 55 | extern struct provider_service_lzo_st *provider_service_lzocxx . . $ `include/providers/lzo/lzo1x.h:16:9`!; |
| 56 | |
| 57 | #ifdef __cpluspluscxx . . $ `<built-in>:471:9`! |
| 58 | } |
| 59 | #endif |
| 60 | |
| 61 | #define LZO_INCLUDEDcxx . . $ `include/providers/lzo/lzo1x.h:61:9`! |
| 62 | #endif |