blob: f8e2a866abfd4126297064a794303287658c77b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __G_VFS_URI_UTILS_H__
#define __G_VFS_URI_UTILS_H__
#include <glib.h>
#include <gio/gurifuncs.h>
G_BEGIN_DECLS
typedef struct {
char *scheme;
char *userinfo;
char *host;
int port; /* -1 => not in uri */
char *path;
char *query;
char *fragment;
} GDecodedUri;
char * g_encode_uri (GDecodedUri *decoded,
gboolean allow_utf8);
void g_decoded_uri_free (GDecodedUri *decoded);
GDecodedUri *g_decode_uri (const char *uri);
GDecodedUri *g_decoded_uri_new (void);
G_END_DECLS
#endif /* __G_VFS_URI_UTILS_H__ */
|