diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-10-02 03:25:06 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-10-02 03:25:06 +0800 |
commit | f3730d9037ce7c958b964d84212fe9ac3699cedc (patch) | |
tree | df874825c695894380b67ffe0efa6d2d99aacf84 /e-util/e-url.h | |
parent | 14d9f8c04e5e4411d0bb420bd772a6b3dfee97a3 (diff) | |
download | gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar.gz gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar.bz2 gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar.lz gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar.xz gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.tar.zst gsoc2013-evolution-f3730d9037ce7c958b964d84212fe9ac3699cedc.zip |
added basic URI management functions
2001-10-01 Rodrigo Moya <rodrigo@ximian.com>
* e-url.[ch]: added basic URI management functions
* Makefile.am: added BONOBO flags to make it compile with latest
Bonobo, which installs headers in a version-based directory
svn path=/trunk/; revision=13274
Diffstat (limited to 'e-util/e-url.h')
-rw-r--r-- | e-util/e-url.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/e-util/e-url.h b/e-util/e-url.h index 5250963dba..de24554d9b 100644 --- a/e-util/e-url.h +++ b/e-util/e-url.h @@ -6,6 +6,7 @@ * Copyright (C) 2001 Ximian, Inc. * * Developed by Jon Trowbridge <trow@ximian.com> + * Rodrigo Moya <rodrigo@ximian.com> */ /* @@ -33,5 +34,22 @@ char *e_url_shroud (const char *url); gboolean e_url_equal (const char *url1, const char *url2); +typedef struct { + char *protocol; + char *user; + char *authmech; + char *passwd; + char *host; + int port; + char *path; + GData *params; + char *query; + char *fragment; +} EUri; + +EUri *e_uri_new (const char *uri_string); +void e_uri_free (EUri *uri); +const char *e_uri_get_param (EUri *uri, const char *name); + #endif /* __E_URL_H__ */ |