1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6 * Copyright (C) 2001 Ximian, Inc.
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
35 char *e_url_shroud (const char *url);
36 gboolean e_url_equal (const char *url1, const char *url2);
40 * @protocol: The protocol to use.
42 * @authmech: The authentication mechanism.
43 * @passwd: The connection password.
44 * @host: The host name.
45 * @port: The port number.
46 * @path: The file path on the host.
47 * @params: Additional parameters.
51 * A structure representing a URI.
66 EUri *e_uri_new (const char *uri_string);
67 void e_uri_free (EUri *uri);
68 const char *e_uri_get_param (EUri *uri, const char *name);
69 EUri *e_uri_copy (EUri *uri);
70 char *e_uri_to_string (EUri *uri, gboolean show_password);
74 #endif /* __E_URL_H__ */