aboutsummaryrefslogtreecommitdiffstats
path: root/camel/url-util.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-05-01 14:57:40 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-01 14:57:40 +0800
commit0a65118fb835549009ae4d17cae758182fcc096b (patch)
tree4c9ccc437970dad8fd4f22a4649b15dcac3d4a2b /camel/url-util.c
parent33cc724af206d8269e18126474a948090e4c555b (diff)
downloadgsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar.gz
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar.bz2
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar.lz
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar.xz
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.tar.zst
gsoc2013-evolution-0a65118fb835549009ae4d17cae758182fcc096b.zip
some more comments
1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.c (g_url_new): some more comments 1999-04-27 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (camel_folder_create): new public function. svn path=/trunk/; revision=884
Diffstat (limited to 'camel/url-util.c')
-rw-r--r--camel/url-util.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/camel/url-util.c b/camel/url-util.c
index 089254bc9c..1b784385f5 100644
--- a/camel/url-util.c
+++ b/camel/url-util.c
@@ -37,13 +37,16 @@
#include "url-util.h"
-
+/* general item finder */
+/* it begins the search at position @position in @url,
+ returns true when the item is found, amd set position after the item */
typedef gboolean find_item_func(GString *url, GString **item, guint *position, gboolean *error);
+/* used to find one item (protocol, then user .... */
typedef struct {
- char *item_name;
- GString **item_value;
- find_item_func *find_func;
+ char *item_name; /* item name : for debug only */
+ GString **item_value; /* where the item value will go */
+ find_item_func *find_func; /* item finder */
} FindStepStruct;
static gboolean find_protocol(GString *url, GString **item, guint *position, gboolean *error);