luasocket/src/unix.h

29 lines
585 B
C
Raw Normal View History

2004-06-22 18:12:53 +02:00
#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$
\*=========================================================================*/
#include <lua.h>
#include "buffer.h"
#include "timeout.h"
#include "socket.h"
typedef struct t_unix_ {
t_sock sock;
t_io io;
t_buf buf;
t_tm tm;
} t_unix;
typedef t_unix *p_unix;
2005-02-08 11:01:01 +01:00
int luaopen_socketunix(lua_State *L);
2004-06-22 18:12:53 +02:00
#endif /* UNIX_H */