Code

use ne_get_range64 which is new in neon 0.26
[fusedav.git] / src / filecache.h
index 90972b05ee35e0d8ab6aab3fe2b3c18a1f79af8a..c3845ca1171a69df0440931a45883cf326f5cae0 100644 (file)
@@ -1,8 +1,30 @@
 #ifndef foofilecachehfoo
 #define foofilecachehfoo
 
+/* $Id$ */
+
+/***
+  This file is part of fusedav.
+
+  fusedav 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; either version 2 of the License, or
+  (at your option) any later version.
+  
+  fusedav 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 fusedav; if not, write to the Free Software Foundation,
+  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+***/
+
 #include <sys/types.h>
 
+#include <ne_session.h>
+
 void* file_cache_open(const char *path, int flags);
 void* file_cache_get(const char *path);
 void file_cache_unref(void *f);
@@ -15,5 +37,6 @@ int file_cache_truncate(void *f, off_t s);
 int file_cache_sync(void *f);
 int file_cache_close_all(void);
 
+off_t file_cache_get_size(void *f);
 
 #endif