/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Cherokee * * Authors: * Alvaro Lopez Ortega * Ross Smith II * * Copyright (C) 2001-2007 Alvaro Lopez Ortega * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef CHEROKEE_WIN32_MISC_H #define CHEROKEE_WIN32_MISC_H #include "common-internal.h" #include #include #include "buffer.h" #undef localtime_r /* in */ #define SHUT_WR SD_SEND #define pipe(h) _pipe(h,0,0) void init_win32 (void); char *win_strerror (int err, char *buf, size_t bufsize); struct tm *localtime_r (const time_t *time, struct tm *tm); unsigned int sleep (unsigned int seconds); int cherokee_win32_stat (const char *path, struct stat *buf); int cherokee_win32_shutdown_signaled(); int cherokee_win32_mkstemp (cherokee_buffer_t *buffer); #endif /* CHEROKEE_WIN32_MISC_H */