Generalized error conversion by the new captive_NTSTATUS_to_GnomeVFSResult().
[captive.git] / src / libcaptive / client / result.h
diff --git a/src/libcaptive/client/result.h b/src/libcaptive/client/result.h
new file mode 100644 (file)
index 0000000..d77bf4a
--- /dev/null
@@ -0,0 +1,36 @@
+/* $Id$
+ * Include file for captive vfs result code translation for Gnome-VFS-2.0
+ * Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; exactly version 2 of June 1991 is required
+ * 
+ * This program 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 General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+
+#ifndef _CAPTIVE_CLIENT_RESULT_H
+#define _CAPTIVE_CLIENT_RESULT_H 1
+
+
+#include <glib/gmacros.h>
+#include "reactos/napi/types.h"        /* for NTSTATUS */
+#include <libgnomevfs/gnome-vfs-result.h>
+
+
+G_BEGIN_DECLS
+
+GnomeVFSResult captive_NTSTATUS_to_GnomeVFSResult(NTSTATUS err);
+
+G_END_DECLS
+
+
+#endif /* _CAPTIVE_CLIENT_RESULT_H */