增加sql的waf功能
This commit is contained in:
19
resty/sha.lua
Normal file
19
resty/sha.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
-- Copyright (C) by Yichun Zhang (agentzh)
|
||||
|
||||
|
||||
local ffi = require "ffi"
|
||||
|
||||
|
||||
local _M = { _VERSION = '0.14' }
|
||||
|
||||
|
||||
ffi.cdef[[
|
||||
typedef unsigned long SHA_LONG;
|
||||
typedef unsigned long long SHA_LONG64;
|
||||
|
||||
enum {
|
||||
SHA_LBLOCK = 16
|
||||
};
|
||||
]];
|
||||
|
||||
return _M
|
||||
Reference in New Issue
Block a user