Define new 'pivot-prop-loadable' property
[nautilus-actions.git] / src / core / na-gnome-vfs-uri.h
blobf45900b405abd464abf18e498c68b2d4833ff6cd
1 /*
2 * Nautilus-Actions
3 * A Nautilus extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009, 2010, 2011 Pierre Wieser and others (see AUTHORS)
9 * This Program 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 * This Program 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
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this Library; see the file COPYING. If not,
21 * write to the Free Software Foundation, Inc., 59 Temple Place,
22 * Suite 330, Boston, MA 02111-1307, USA.
24 * Authors:
25 * Frederic Ruaudel <grumz@grumz.net>
26 * Rodrigo Moya <rodrigo@gnome-db.org>
27 * Pierre Wieser <pwieser@trychlos.org>
28 * ... and many others (see AUTHORS)
31 #ifndef __NAUTILUS_ACTIONS_NA_PRIVATE_GNOME_VFS_URI_H__
32 #define __NAUTILUS_ACTIONS_NA_PRIVATE_GNOME_VFS_URI_H__
35 * pwi 2009-07-29
36 * shamelessly pull out of GnomeVFS (gnome-vfs-uri and consorts)
39 /* gnome-vfs-uri.h - URI handling for the GNOME Virtual File System.
41 Copyright (C) 1999 Free Software Foundation
43 The Gnome Library is free software; you can redistribute it and/or
44 modify it under the terms of the GNU Library General Public License as
45 published by the Free Software Foundation; either version 2 of the
46 License, or (at your option) any later version.
48 The Gnome Library is distributed in the hope that it will be useful,
49 but WITHOUT ANY WARRANTY; without even the implied warranty of
50 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51 Library General Public License for more details.
53 You should have received a copy of the GNU Library General Public
54 License along with the Gnome Library; see the file COPYING.LIB. If not,
55 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
56 Boston, MA 02111-1307, USA.
58 Author: Ettore Perazzoli <ettore@comm2000.it> */
60 #include <glib.h>
62 G_BEGIN_DECLS
64 typedef struct {
65 gchar *path;
66 gchar *scheme;
67 gchar *host_name;
68 guint host_port;
69 gchar *user_name;
70 gchar *password;
72 NAGnomeVFSURI;
75 * GNOME_VFS_URI_MAGIC_CHR:
77 * The character used to divide location from
78 * extra "arguments" passed to the method.
79 **/
81 * GNOME_VFS_URI_MAGIC_STR:
83 * The character used to divide location from
84 * extra "arguments" passed to the method.
85 **/
86 #define GNOME_VFS_URI_MAGIC_CHR '#'
87 #define GNOME_VFS_URI_MAGIC_STR "#"
90 * GNOME_VFS_URI_PATH_CHR:
92 * Defines the path seperator character.
93 **/
95 * GNOME_VFS_URI_PATH_STR:
97 * Defines the path seperator string.
98 **/
99 #define GNOME_VFS_URI_PATH_CHR '/'
100 #define GNOME_VFS_URI_PATH_STR "/"
102 void na_gnome_vfs_uri_parse( NAGnomeVFSURI *vfs, const gchar *uri );
104 void na_gnome_vfs_uri_free( NAGnomeVFSURI *vfs );
106 G_END_DECLS
108 #endif /* __NAUTILUS_ACTIONS_NA_PRIVATE_GNOME_VFS_URI_H__ */