blob: 8ce1ed7bd5b708dc5b32a013874637dbad62736f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "../lua.h"
#include <stdint.h>
struct loselose_hash {
uint64_t hash;
};
struct loselose_hash loselose_init();
void loselose_update(uint8_t*, size_t, struct loselose_hash*);
uint64_t loselose_final(struct loselose_hash*);
uint64_t loselose(uint8_t* in, size_t len);
int l_loselose(lua_State*);
int l_loselose_init(lua_State*);
int l_loselose_update(lua_State*);
int l_loselose_final(lua_State*);
|