[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20638 - gnunet-fuse/src/ext
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20638 - gnunet-fuse/src/ext |
Date: |
Wed, 21 Mar 2012 07:56:07 +0100 |
Author: mauricio
Date: 2012-03-21 07:56:07 +0100 (Wed, 21 Mar 2012)
New Revision: 20638
Added:
gnunet-fuse/src/ext/gnunet-fuse.h
Log:
added missing gnunet-fuse.h
Added: gnunet-fuse/src/ext/gnunet-fuse.h
===================================================================
--- gnunet-fuse/src/ext/gnunet-fuse.h (rev 0)
+++ gnunet-fuse/src/ext/gnunet-fuse.h 2012-03-21 06:56:07 UTC (rev 20638)
@@ -0,0 +1,70 @@
+/*
+ * gnfs.h - types and stuff
+ *
+ * Created on: Mar 16, 2012
+ * Author: mg
+ *
+ *
+ *
+ * This file is part of gnunet-fuse.
+ * Copyright (C) 2007 David Barksdale
+ *
+ * gnunet-fuse is free software; you can redistribute it and/or
+ * modify if under the terms of version 2 of the GNU General Public License
+ * as published by the Free Software Foundation.
+ *
+ * gnunet-fuse 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 GNUNETFUSE_H_
+#define GNUNETFUSE_H_
+
+#include <gnunet/platform.h>
+#include "gnunet/gnunet_common.h"
+#include "gnunet/gnunet_configuration_lib.h"
+#include "gnunet/gnunet_crypto_lib.h"
+#include "gnunet/gnunet_directories.h"
+#include "gnunet/gnunet_getopt_lib.h"
+#include "gnunet/gnunet_os_lib.h"
+#include "gnunet/gnunet_program_lib.h"
+#include "gnunet/gnunet_resolver_service.h"
+#include "gnunet/gnunet_scheduler_lib.h"
+#include <fuse.h>
+
+
+
+/* Variables from commandline for gnunet-fuse */
+
+static char *source;
+static char *directory;
+
+
+
+/* FUSE function files */
+int gn_getattr(const char *path, struct stat *stbuf);
+int gn_mknod(const char *path, mode_t mode, dev_t rdev);
+int gn_mkdir(const char *path, mode_t mode);
+int gn_unlink(const char *path);
+int gn_rmdir(const char *path);
+int gn_rename(const char *from, const char *to);
+int gn_truncate(const char *path, off_t size);
+int gn_open(const char *path, struct fuse_file_info *fi);
+int gn_read(const char *path, char *buf, size_t size, off_t offset,
+ struct fuse_file_info *fi);
+int gn_write(const char *path, const char *buf, size_t size, off_t offset,
+ struct fuse_file_info *fi);
+int gn_release(const char *path, struct fuse_file_info *fi);
+int gn_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
+ off_t offset, struct fuse_file_info *fi);
+int gn_utimens(const char *path, const struct timespec ts[2]);
+
+
+#endif /* GNUNETFUSE_H_ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20638 - gnunet-fuse/src/ext,
gnunet <=