1 /* http-method.h - HTTP access method for the GNOME Virtual File System.
3 Copyright (C) 1999 Free Software Foundation
5 The Gnome Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The Gnome Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the Gnome Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
20 Author: Ettore Perazzoli <ettore@gnu.org>
26 #include <glib/gtypes.h>
28 typedef gint64 utime_t;
30 utime_t http_util_get_utime (void);
32 gchar * http_util_base64 (const gchar *text);
34 #undef DEBUG_HTTP_ENABLE
36 #ifdef DEBUG_HTTP_ENABLE
38 void http_debug_printf(char *fmt, ...) G_GNUC_PRINTF (1,2);
40 #define DEBUG_HTTP(x) http_debug_printf x
41 /*#define ANALYZE_HTTP(x) http_debug_printf (x)*/
42 #define ANALYZE_HTTP(x)
44 #else /* DEBUG_HTTP_ENABLE */
47 #define ANALYZE_HTTP(x)
49 #endif /* DEBUG_HTTP_ENABLE */
51 #endif /* HTTP_METHOD_H */