1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-06 05:02:40 +03:00

httplib_localtime_r thread safe

This commit is contained in:
Lammert Bies
2016-12-29 01:11:44 +01:00
parent dc4a4e9f2f
commit 313c1a8d7a
6 changed files with 38 additions and 93 deletions

View File

@@ -922,6 +922,7 @@ LIBHTTP_API const char * httplib_get_option( const struct httplib_context *ctx,
LIBHTTP_API uint64_t httplib_get_random( void );
LIBHTTP_API void * httplib_get_user_connection_data( const struct httplib_connection *conn );
LIBHTTP_API int httplib_kill( pid_t pid, int sig_num );
LIBHTTP_API struct tm * httplib_localtime_r( const time_t *clock, struct tm *result );
LIBHTTP_API int httplib_mkdir( const char *path, int mode );
LIBHTTP_API DIR * httplib_opendir( const char *name );
LIBHTTP_API int httplib_poll( struct pollfd *pfd, unsigned int nfds, int timeout );