new server "sj3proxy".

this server is communicating between unix domain and inet.
This commit is contained in:
iratqq 2008-02-02 13:25:16 +00:00
commit 7e097c2015
16 changed files with 738 additions and 21 deletions

View file

@ -66,7 +66,7 @@
#define PORTNAME "sj3"
#define LOCALHOST "localhost"
#define CHROOTFLAG 1
#define STRICTAUTHFLAG 1
#define MAINDICTIONARY "sj3main.dic"
#define USERDICTIONARY "private.dic"
#define STUDYFILE "study.dat"

View file

@ -17,9 +17,6 @@
#ifndef SJ3LUA_H
#define SJ3LUA_H
#include <stdio.h>
#include <lua.h>
int sj3lua_check_table(lua_State *);
int lua2sj_boolean(lua_State *, char *, int, int, int *);
int lua2sj_integer(lua_State *, char *, int, int, int *);
@ -27,6 +24,7 @@ char *lua2sj_string(lua_State *, char *, int, char *, char *, size_t);
void sj2lua_boolean(lua_State *, char *, int);
void sj2lua_integer(lua_State *, char *, int);
void sj2lua_string(lua_State *, char *, char *);
void set_luafunction(lua_State *, char *, lua_CFunction);
#endif