[15496] | 1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
| 2 | /* gnome-vfs-private.h - Private header file for the GNOME Virtual |
---|
| 3 | File System. |
---|
| 4 | |
---|
| 5 | Copyright (C) 1999 Free Software Foundation |
---|
| 6 | |
---|
| 7 | The Gnome Library is free software; you can redistribute it and/or |
---|
| 8 | modify it under the terms of the GNU Library General Public License as |
---|
| 9 | published by the Free Software Foundation; either version 2 of the |
---|
| 10 | License, or (at your option) any later version. |
---|
| 11 | |
---|
| 12 | The Gnome Library is distributed in the hope that it will be useful, |
---|
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 15 | Library General Public License for more details. |
---|
| 16 | |
---|
| 17 | You should have received a copy of the GNU Library General Public |
---|
| 18 | License along with the Gnome Library; see the file COPYING.LIB. If not, |
---|
| 19 | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
| 20 | Boston, MA 02111-1307, USA. |
---|
| 21 | |
---|
| 22 | Author: Ettore Perazzoli <ettore@gnu.org> */ |
---|
| 23 | |
---|
| 24 | #ifndef GNOME_VFS_PRIVATE_H |
---|
| 25 | #define GNOME_VFS_PRIVATE_H |
---|
| 26 | |
---|
| 27 | #include <config.h> |
---|
| 28 | #include <glib.h> |
---|
| 29 | |
---|
| 30 | #ifdef __cplusplus |
---|
| 31 | extern "C" { |
---|
| 32 | #endif /*__cplusplus*/ |
---|
| 33 | |
---|
| 34 | /* The i18n defines */ |
---|
| 35 | #ifdef ENABLE_NLS |
---|
| 36 | # include <libintl.h> |
---|
| 37 | # undef _ |
---|
| 38 | # define _(String) dgettext (PACKAGE, String) |
---|
| 39 | # ifdef gettext_noop |
---|
| 40 | # define N_(String) gettext_noop (String) |
---|
| 41 | # else |
---|
| 42 | # define N_(String) (String) |
---|
| 43 | # endif |
---|
| 44 | #else |
---|
| 45 | /* Stubs that do something close enough. */ |
---|
| 46 | # define textdomain(String) (String) |
---|
| 47 | # define gettext(String) (String) |
---|
| 48 | # define dgettext(Domain,Message) (Message) |
---|
| 49 | # define dcgettext(Domain,Message,Type) (Message) |
---|
| 50 | # define bindtextdomain(Domain,Directory) (Domain) |
---|
| 51 | # define _(String) (String) |
---|
| 52 | # define N_(String) (String) |
---|
| 53 | #endif |
---|
| 54 | |
---|
| 55 | #define GNOME_VFS_MODULE_DIR LIBDIR "/vfs/modules" |
---|
| 56 | #define GNOME_VFS_MODULE_CFGDIR SYSCONFDIR "/vfs/modules" |
---|
| 57 | |
---|
[17127] | 58 | #include "gnome-vfs-module-callback-private.h" |
---|
[15496] | 59 | #include "gnome-vfs-cancellation.h" |
---|
| 60 | #include "gnome-vfs-configuration.h" |
---|
| 61 | #include "gnome-vfs-context.h" |
---|
| 62 | #include "gnome-vfs-handle.h" |
---|
| 63 | #include "gnome-vfs-inet-connection.h" |
---|
| 64 | #include "gnome-vfs-iobuf.h" |
---|
| 65 | #include "gnome-vfs-method.h" |
---|
| 66 | #include "gnome-vfs-cancellable-ops.h" |
---|
| 67 | #include "gnome-vfs-parse-ls.h" |
---|
| 68 | #include "gnome-vfs-regexp-filter.h" |
---|
| 69 | #include "gnome-vfs-seekable.h" |
---|
| 70 | #include "gnome-vfs-shellpattern-filter.h" |
---|
| 71 | #include "gnome-vfs-private-utils.h" |
---|
| 72 | |
---|
| 73 | /* AIX requires this to be the first thing in the file. */ |
---|
| 74 | #ifndef __GNUC__ |
---|
| 75 | # if HAVE_ALLOCA_H |
---|
| 76 | # include <alloca.h> |
---|
| 77 | # else |
---|
| 78 | # ifdef _AIX |
---|
| 79 | #pragma alloca |
---|
| 80 | # else |
---|
| 81 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
---|
| 82 | char *alloca (); |
---|
| 83 | # endif |
---|
| 84 | # endif |
---|
| 85 | # endif |
---|
| 86 | #endif |
---|
| 87 | |
---|
| 88 | #ifndef HAVE_GETDELIM |
---|
| 89 | #include <stdio.h> |
---|
| 90 | #include <unistd.h> /* ssize_t */ |
---|
| 91 | ssize_t getdelim (char **lineptr, size_t *n, int terminator, FILE *stream); |
---|
| 92 | #endif |
---|
| 93 | |
---|
| 94 | #ifdef __cplusplus |
---|
| 95 | } |
---|
| 96 | #endif /*__cplusplus*/ |
---|
| 97 | |
---|
| 98 | #endif /* GNOME_VFS_PRIVATE_H */ |
---|