From 23da55a9f14ff5c48f0bc297f1ff745eb3dc7554 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 30 Apr 2005 23:30:55 +0000 Subject: Moved common code to util.[ch] instead of having it duplicated in sws.c and sockfilt.c. For good-to-have functions for the servers written in C. --- tests/server/util.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/server/util.h (limited to 'tests/server/util.h') diff --git a/tests/server/util.h b/tests/server/util.h new file mode 100644 index 000000000..a56c5c445 --- /dev/null +++ b/tests/server/util.h @@ -0,0 +1,30 @@ +#ifndef __SERVER_UTIL_H +#define __SERVER_UTIL_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2005, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * $Id$ + ***************************************************************************/ + +int ourerrno(void); +void logmsg(const char *msg, ...); + + +#endif -- cgit v1.2.3