diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-30 23:30:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-30 23:30:55 +0000 |
commit | 23da55a9f14ff5c48f0bc297f1ff745eb3dc7554 (patch) | |
tree | 14a55b55be48c061aebd4f0b5cf85475bcf2b263 /tests/server/util.h | |
parent | 41e6292e7be530c0a273de4121c48169996cb547 (diff) |
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.
Diffstat (limited to 'tests/server/util.h')
-rw-r--r-- | tests/server/util.h | 30 |
1 files changed, 30 insertions, 0 deletions
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, <daniel@haxx.se>, 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 |