1N/A/*
1N/A * gnome-vfs-module.h - Exports for Gnome-VFS init/shutdown implementation of
1N/A * interface to libntfs. Part of the Linux-NTFS project.
1N/A *
1N/A * Copyright (c) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
1N/A * Copyright (c) 2000-2004 Anton Altaparmakov
1N/A *
1N/A * This program/include file is free software; you can redistribute it and/or
1N/A * modify it under the terms of the GNU General Public License as published
1N/A * by the Free Software Foundation; either version 2 of the License, or
1N/A * (at your option) any later version.
1N/A *
1N/A * This program/include file is distributed in the hope that it will be
1N/A * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
1N/A * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A * GNU General Public License for more details.
1N/A *
1N/A * You should have received a copy of the GNU General Public License
1N/A * along with this program (in the main directory of the Linux-NTFS
1N/A * distribution in the file COPYING); if not, write to the Free Software
1N/A * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1N/A */
1N/A
1N/A#ifndef _NTFS_GNOME_VFS_MODULE_H
1N/A#define _NTFS_GNOME_VFS_MODULE_H
1N/A
1N/A#ifdef HAVE_CONFIG_H
1N/A#include "config.h"
1N/A#endif
1N/A
1N/AG_BEGIN_DECLS
1N/A
1N/AG_LOCK_EXTERN(libntfs);
1N/A
1N/A#define libntfs_newn(objp, n) ((objp) = (typeof(objp))g_new(typeof(*(objp)), (n)))
1N/A#define libntfs_new(objp) (libntfs_newn((objp), 1))
1N/A#define LIBNTFS_MEMZERO(objp) (memset((objp), 0, sizeof(*(objp))))
1N/A
1N/AG_END_DECLS
1N/A
1N/A#endif /* _NTFS_GNOME_VFS_MODULE_H */
1N/A