src/__unused/t_htp_srv.c
void
t_htp_srv_setnow( struct t_htp_srv *s, int force )
{
	time_t     nw = time( NULL );
	struct tm *tm_struct;

	if ((nw - s->nw) > 0 || force )
	{
		s->nw = nw;
		tm_struct = gmtime( &(s->nw) );
		/* Sun, 06 Nov 1994 08:49:37 GMT */
		strftime( s->fnw, 30, "%a, %d %b %Y %H:%M:%S %Z", tm_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.
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 .
void
t_htp_srv_setnow( struct t_htp_srv *s, int force )
{
	time_t     nw = time( NULL );
	struct tm *tm_struct;
	if ((nw - s->nw) > 0 || force )
	{
		s->nw = nw;
		tm_struct = gmtime( &(s->nw) );
		strftime( s->fnw, 30, "%a, %d %b %Y %H:%M:%S %Z", tm_struct );
	}
}
void t_htp_srv_setnow ( struct t_htp_srv * s , int force ) { time_t nw = time ( NULL ) ; struct tm * tm_struct ; if ( ( nw - s -> nw ) > 0 || force ) { s -> nw = nw ; tm_struct = gmtime ( & ( s -> nw ) ) ; strftime ( s -> fnw , 30 , " " , tm_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
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
/* Sun, 06 Nov 1994 08:49:37 GMT */