src/__unused/t_htp_srv.c
struct t_htp_srv
*t_htp_srv_check_ud( lua_State *L, int pos, int check )
{
	void *ud = luaL_testudata( L, pos, T_HTP_SRV_TYPE );
	if (NULL == ud && check) t_typeerror( L , pos, T_HTP_SRV_TYPE );
	return (NULL==ud) ? NULL : (struct t_htp_srv *) ud;
}
/**--------------------------------------------------------------------------
 * Check if the item on stack position pos is an t_htp_srv struct and return it
 * \param  L    the Lua State
 * \param  pos      position on the stack
 *
 * \return  struct t_htp_srv*  pointer to the struct.
 * --------------------------------------------------------------------------*/
Check if the item on stack position pos is an t_htp_srv struct and return it
\param  L    the Lua State
\param  pos      position on the stack

\return  struct t_htp_srv*  pointer to the struct.
Check if the item on stack position pos is an t_htp_srv struct and return it \ param L the Lua State \ param pos position on the stack \ return struct t_htp_srv * pointer to the struct .
struct t_htp_srv
*t_htp_srv_check_ud( lua_State *L, int pos, int check )
{
	void *ud = luaL_testudata( L, pos, T_HTP_SRV_TYPE );
	if (NULL == ud && check) t_typeerror( L , pos, T_HTP_SRV_TYPE );
	return (NULL==ud) ? NULL : (struct t_htp_srv *) ud;
}
struct t_htp_srv * t_htp_srv_check_ud ( lua_State * L , int pos , int check ) { void * ud = luaL_testudata ( L , pos , T_HTP_SRV_TYPE ) ; if ( NULL == ud && check ) t_typeerror ( L , pos , T_HTP_SRV_TYPE ) ; return ( NULL == ud ) ? NULL : ( struct t_htp_srv * ) ud ; }
Check if the item on stack position pos is an t_htp_srv struct and return it
 \param  L    the Lua State
 \param  pos      position on the stack
Check if the item on stack position pos is an t_htp_srv struct and return it \ param L the Lua State \ param pos position on the stack