From 24672e3dd455c3ad8c603fb935408add1578a8d1 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 12 Mar 2008 16:19:18 +0000 Subject: Added archive backend from Benjamin Otte Requires libarchive 2008-03-12 Alexander Larsson * configure.ac: * daemon/Makefile.am: * daemon/gvfsbackendarchive.[ch]: Added archive backend from Benjamin Otte Requires libarchive svn path=/trunk/; revision=1648 --- daemon/gvfsbackendarchive.h | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 daemon/gvfsbackendarchive.h (limited to 'daemon/gvfsbackendarchive.h') diff --git a/daemon/gvfsbackendarchive.h b/daemon/gvfsbackendarchive.h new file mode 100644 index 00000000..14526ffc --- /dev/null +++ b/daemon/gvfsbackendarchive.h @@ -0,0 +1,50 @@ +/* GIO - GLib Input, Output and Streaming Library + * + * Copyright (C) 2008 Benjamin Otte + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Benjamin Otte + */ + +#ifndef __G_VFS_BACKEND_ARCHIVE_H__ +#define __G_VFS_BACKEND_ARCHIVE_H__ + +#include +#include + +G_BEGIN_DECLS + +#define G_VFS_TYPE_BACKEND_ARCHIVE (g_vfs_backend_archive_get_type ()) +#define G_VFS_BACKEND_ARCHIVE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchive)) +#define G_VFS_BACKEND_ARCHIVE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchiveClass)) +#define G_VFS_IS_BACKEND_ARCHIVE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_BACKEND_ARCHIVE)) +#define G_VFS_IS_BACKEND_ARCHIVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_BACKEND_ARCHIVE)) +#define G_VFS_BACKEND_ARCHIVE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_BACKEND_ARCHIVE, GVfsBackendArchiveClass)) + +typedef struct _GVfsBackendArchive GVfsBackendArchive; +typedef struct _GVfsBackendArchiveClass GVfsBackendArchiveClass; + +struct _GVfsBackendArchiveClass +{ + GVfsBackendClass parent_class; +}; + +GType g_vfs_backend_archive_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __G_VFS_BACKEND_ARCHIVE_H__ */ -- cgit v1.2.1