GnuCash 2.4.99
Defines | Functions
gnc-uri-utils.h File Reference

Utility functions for convert uri in separate components and back. More...

Go to the source code of this file.

Defines

#define GNC_DATAFILE_EXT   ".gnucash"
#define GNC_LOGFILE_EXT   ".log"

Functions

void gnc_uri_get_components (const gchar *uri, gchar **protocol, gchar **hostname, gint32 *port, gchar **username, gchar **password, gchar **path)
gchar * gnc_uri_get_protocol (const gchar *uri)
gchar * gnc_uri_get_path (const gchar *uri)
gchar * gnc_uri_create_uri (const gchar *protocol, const gchar *hostname, gint32 port, const gchar *username, const gchar *password, const gchar *path)
gchar * gnc_uri_normalize_uri (const gchar *uri, gboolean allow_password)
gboolean gnc_uri_is_known_protocol (const gchar *protocol)
gboolean gnc_uri_is_file_protocol (const gchar *protocol)
gboolean gnc_uri_is_file_uri (const gchar *uri)
gchar * gnc_uri_add_extension (const gchar *uri, const gchar *extension)

Detailed Description

Utility functions for convert uri in separate components and back.

Author:
Copyright (C) 2010 Geert Janssens <janssens-geert@telenet.be>

These functions help you convert a uri into its separate components (being protocol, host name, port, user name, password and path) or to compose a uri from these separate components.

Definition in file gnc-uri-utils.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines