- using buffer from luasocket 3.0.

- adding getstats() and setstats().
This commit is contained in:
Bruno Silvestre
2013-06-20 13:03:58 -03:00
parent 9f16c6fb11
commit 063e8a8a5c
13 changed files with 864 additions and 102 deletions

View File

@ -1,14 +1,10 @@
#ifndef TIMEOUT_H
#define TIMEOUT_H
/*=========================================================================*\
* LuaSocket 2.0.2
* Copyright (C) 2004-2007 Diego Nehab
*
* Timeout management functions
*
* RCS ID: $Id: timeout.h 2 2006-04-30 19:30:47Z brunoos $
* LuaSocket toolkit
\*=========================================================================*/
#include <lua.h>
#include "lua.h"
/* timeout control structure */
typedef struct t_timeout_ {