NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/include/mysql/server/private/providers/lzo/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/include/mysql/server/private/providers/lzo/lzo1x.h
/**
  @file lzo/lzo1x.h
  This service provides dynamic access to LZO.
*/

#ifndef LZO_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif

#ifndef MYSQL_ABI_CHECK
#include <stdbool.h>
#endif

#ifndef MYSQL_DYNAMIC_PLUGIN
#define provider_service_lzo provider_service_lzo_static
#endif

#ifndef LZO_E_OK
#define LZO_E_OK                0
#define LZO_E_INTERNAL_ERROR    (-99)

#define LZO1X_1_15_MEM_COMPRESS ((unsigned int) (32768L * ((unsigned) sizeof(unsigned char *))))

typedef size_t lzo_uint;

#define lzo1x_1_15_compress(...)   provider_service_lzo->lzo1x_1_15_compress_ptr   (__VA_ARGS__)
#define lzo1x_decompress_safe(...) provider_service_lzo->lzo1x_decompress_safe_ptr (__VA_ARGS__)
#endif

#define DEFINE_lzo1x_1_15_compress(NAME) NAME(   \
    const unsigned char *src,                    \
    lzo_uint src_len,                            \
    unsigned char *dst,                          \
    lzo_uint *dst_len,                           \
    void *wrkmem                                 \
)

#define DEFINE_lzo1x_decompress_safe(NAME) NAME( \
    const unsigned char *src,                    \
    lzo_uint src_len,                            \
    unsigned char *dst,                          \
    lzo_uint *dst_len,                           \
    void *wrkmem                                 \
)

struct provider_service_lzo_st
{
  int DEFINE_lzo1x_1_15_compress((*lzo1x_1_15_compress_ptr));
  int DEFINE_lzo1x_decompress_safe((*lzo1x_decompress_safe_ptr));

  bool is_loaded;
};

extern struct provider_service_lzo_st *provider_service_lzo;

#ifdef __cplusplus
}
#endif

#define LZO_INCLUDED
#endif

NineSec Team - 2022