1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
8 * Developed by Jon Trowbridge <trow@ximian.com>
9 * Rodrigo Moya <rodrigo@ximian.com>
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of version 2 of the GNU Lesser General Public
15 * License as published by the Free Software Foundation.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
28 #if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION)
29 #error "Only <libedataserver/libedataserver.h> should be included directly."
32 #ifndef EDS_DISABLE_DEPRECATED
34 /* Do not generate bindings. */
35 #ifndef __GI_SCANNER__
44 typedef struct _EUri EUri;
48 * @protocol: The protocol to use.
50 * @authmech: The authentication mechanism.
51 * @passwd: The connection password.
52 * @host: The host name.
53 * @port: The port number.
54 * @path: The file path on the host.
55 * @params: Additional parameters.
56 * @query: The URI query.
57 * @fragment: The URI fragment.
59 * A structure representing a URI.
74 EUri * e_uri_new (const gchar *uri_string);
75 void e_uri_free (EUri *uri);
76 const gchar * e_uri_get_param (EUri *uri,
78 EUri * e_uri_copy (EUri *uri);
79 gchar * e_uri_to_string (EUri *uri,
80 gboolean show_password);
81 gchar * e_url_shroud (const gchar *url);
82 gboolean e_url_equal (const gchar *url1,
89 #endif /* __GI_SCANNER__ */
91 #endif /* EDS_DISABLE_DEPRECATED */