~vcs-imports/libgnet/main

« back to all changes in this revision

Viewing changes to src/uri.h

  • Committer: tpm
  • Date: 2007-12-18 23:31:23 UTC
  • Revision ID: vcs-imports@canonical.com-20071218233123-57cq2cljyqtds9b6
        * src/uri.c: (gnet_uri_parse), (parse_inplace_munge_string_part),
          (gnet_uri_parse_inplace):
        * src/uri.h:
          API: add gnet_uri_parse_inplace()
        * tests/check/gnet/gneturi.c:
        * doc/gnet-sections.txt:
        * doc/tmpl/uri.sgml:
          Add unit test and docs for the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <glib.h>
25
25
 
26
 
#ifdef __cplusplus
27
 
extern "C" {
28
 
#endif /* __cplusplus */
29
 
 
 
26
G_BEGIN_DECLS
30
27
 
31
28
/**
32
29
 *  GURI:
83
80
void      gnet_uri_set_query    (GURI* uri, const gchar* query);
84
81
void      gnet_uri_set_fragment (GURI* uri, const gchar* fragment);
85
82
 
86
 
#ifdef __cplusplus
87
 
}
88
 
#endif                          /* __cplusplus */
 
83
gboolean  gnet_uri_parse_inplace (GURI * guri, gchar * uri, gchar * hostname, gsize len);
 
84
 
 
85
G_END_DECLS
89
86
 
90
87
#endif /* _GNET_URI_H */