add mongo auth support, and copy a md5 lib to 3rd

This commit is contained in:
Cloud Wu
2014-04-02 14:35:17 +08:00
parent 043311e654
commit 7c43421784
9 changed files with 535 additions and 1 deletions

20
3rd/lua-md5/md5.h Normal file
View File

@@ -0,0 +1,20 @@
/**
* $Id: md5.h,v 1.2 2006/03/03 15:04:49 tomas Exp $
* Cryptographic module for Lua.
* @author Roberto Ierusalimschy
*/
#ifndef md5_h
#define md5_h
#include <lua.h>
#define HASHSIZE 16
void md5 (const char *message, long len, char *output);
int luaopen_md5_core (lua_State *L);
#endif