irc/src/luasocket/unix.h

31 lines
652 B
C

#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 */