forked from minetest-mods/irc
initial commit
This commit is contained in:
30
src/luasocket/unix.h
Normal file
30
src/luasocket/unix.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifndef UNIX_H
|
||||
#define UNIX_H
|
||||
/*=========================================================================*\
|
||||
* Unix domain object
|
||||
* LuaSocket toolkit
|
||||
*
|
||||
* This module is just an example of how to extend LuaSocket with a new
|
||||
* domain.
|
||||
*
|
||||
* RCS ID: $Id: unix.h,v 1.8 2005/09/29 06:11:42 diego Exp $
|
||||
\*=========================================================================*/
|
||||
#include "lua.h"
|
||||
|
||||
#include "buffer.h"
|
||||
#include "timeout.h"
|
||||
#include "socket.h"
|
||||
|
||||
#include "mycompat.h"
|
||||
|
||||
typedef struct t_unix_ {
|
||||
t_sock sock;
|
||||
t_io io;
|
||||
t_buf buf;
|
||||
t_tm tm;
|
||||
} t_unix;
|
||||
typedef t_unix *p_unix;
|
||||
|
||||
int luaopen_socketunix(lua_State *L);
|
||||
|
||||
#endif /* UNIX_H */
|
Reference in New Issue
Block a user