Revision 21108,
1.5 KB
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r21107,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2000-2003, Ximian, Inc. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef SOUP_MISC_H |
---|
7 | #define SOUP_MISC_H 1 |
---|
8 | |
---|
9 | #include <glib-object.h> |
---|
10 | |
---|
11 | /* Base64 encoding/decoding */ |
---|
12 | |
---|
13 | char *soup_base64_encode (const char *text, |
---|
14 | int len); |
---|
15 | |
---|
16 | int soup_base64_encode_close (const guchar *in, |
---|
17 | int inlen, |
---|
18 | gboolean break_lines, |
---|
19 | guchar *out, |
---|
20 | int *state, |
---|
21 | int *save); |
---|
22 | |
---|
23 | int soup_base64_encode_step (const guchar *in, |
---|
24 | int len, |
---|
25 | gboolean break_lines, |
---|
26 | guchar *out, |
---|
27 | int *state, |
---|
28 | int *save); |
---|
29 | |
---|
30 | char *soup_base64_decode (const gchar *text, |
---|
31 | int *out_len); |
---|
32 | |
---|
33 | int soup_base64_decode_step (const guchar *in, |
---|
34 | int len, |
---|
35 | guchar *out, |
---|
36 | int *state, |
---|
37 | guint *save); |
---|
38 | |
---|
39 | /* Misc utils */ |
---|
40 | |
---|
41 | guint soup_signal_connect_once (gpointer instance, |
---|
42 | const char *detailed_signal, |
---|
43 | GCallback c_handler, |
---|
44 | gpointer data); |
---|
45 | |
---|
46 | guint soup_str_case_hash (gconstpointer key); |
---|
47 | gboolean soup_str_case_equal (gconstpointer v1, |
---|
48 | gconstpointer v2); |
---|
49 | |
---|
50 | /* SSL support */ |
---|
51 | |
---|
52 | extern gboolean soup_ssl_supported; |
---|
53 | |
---|
54 | #endif /* SOUP_MISC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.