HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/root/opt/imunify360-webshield/lualib/resty/openssl/include/bio.lua
local ffi = require "ffi"

require "resty.openssl.include.ossl_typ"

ffi.cdef [[
  typedef struct bio_method_st BIO_METHOD;
  long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
  BIO *BIO_new_mem_buf(const void *buf, int len);
  BIO *BIO_new(const BIO_METHOD *type);
  int BIO_free(BIO *a);
  const BIO_METHOD *BIO_s_mem(void);
  // int BIO_read(BIO *b, void *data, int dlen);
]]