README: add deprecation notice
[nautilus-actions.git] / src / core / fma-gnome-vfs-uri.h
blobf8a040e0b60fdf26c3fcaa5a99ff84fab1e3c3ee
1 /*
2 * FileManager-Actions
3 * A file-manager extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 * FileManager-Actions is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * FileManager-Actions is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with FileManager-Actions; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
23 * Authors:
24 * Frederic Ruaudel <grumz@grumz.net>
25 * Rodrigo Moya <rodrigo@gnome-db.org>
26 * Pierre Wieser <pwieser@trychlos.org>
27 * ... and many others (see AUTHORS)
30 #ifndef __CORE_FMA_GNOME_VFS_URI_H__
31 #define __CORE_FMA_GNOME_VFS_URI_H__
34 * pwi 2009-07-29
35 * shamelessly pull out of GnomeVFS (gnome-vfs-uri and consorts)
38 /* gnome-vfs-uri.h - URI handling for the GNOME Virtual File System.
40 Copyright (C) 1999 Free Software Foundation
42 The Gnome Library is free software; you can redistribute it and/or
43 modify it under the terms of the GNU Library General Public License as
44 published by the Free Software Foundation; either version 2 of the
45 License, or (at your option) any later version.
47 The Gnome Library is distributed in the hope that it will be useful,
48 but WITHOUT ANY WARRANTY; without even the implied warranty of
49 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
50 Library General Public License for more details.
52 You should have received a copy of the GNU Library General Public
53 License along with the Gnome Library; see the file COPYING.LIB. If not,
54 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
55 Boston, MA 02111-1307, USA.
57 Author: Ettore Perazzoli <ettore@comm2000.it> */
59 #include <glib.h>
61 G_BEGIN_DECLS
63 typedef struct {
64 gchar *path;
65 gchar *scheme;
66 gchar *host_name;
67 guint host_port;
68 gchar *user_name;
69 gchar *password;
71 FMAGnomeVFSURI;
74 * GNOME_VFS_URI_MAGIC_CHR:
76 * The character used to divide location from
77 * extra "arguments" passed to the method.
78 **/
80 * GNOME_VFS_URI_MAGIC_STR:
82 * The character used to divide location from
83 * extra "arguments" passed to the method.
84 **/
85 #define GNOME_VFS_URI_MAGIC_CHR '#'
86 #define GNOME_VFS_URI_MAGIC_STR "#"
89 * GNOME_VFS_URI_PATH_CHR:
91 * Defines the path seperator character.
92 **/
94 * GNOME_VFS_URI_PATH_STR:
96 * Defines the path seperator string.
97 **/
98 #define GNOME_VFS_URI_PATH_CHR '/'
99 #define GNOME_VFS_URI_PATH_STR "/"
101 void fma_gnome_vfs_uri_parse( FMAGnomeVFSURI *vfs, const gchar *uri );
103 void fma_gnome_vfs_uri_free( FMAGnomeVFSURI *vfs );
105 G_END_DECLS
107 #endif /* __CORE_FMA_GNOME_VFS_URI_H__ */