]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - osl.h
afs.c: Avoid noisy log message.
[paraslash.git] / osl.h
diff --git a/osl.h b/osl.h
index 50570ee1b679d3e2183a5a8bf74bfc6b3cbda2f3..b0ad739101608f2ca9f3b853f5f2629ac9ed61e6 100644 (file)
--- a/osl.h
+++ b/osl.h
@@ -12,7 +12,7 @@ struct osl_object {
        /** Pointer to the data of the object. */
        void *data;
        /** The object's size. */
-       off_t size;
+       size_t size;
 };
 
 /** Flags that change the internal handling of osl tables. */
@@ -179,12 +179,10 @@ int osl_get_rank(const struct osl_table *t, struct osl_row *r,
 
 int for_each_file_in_dir(const char *dirname,
        int (*func)(const char *, const void *), const void *private_data);
-int para_open(const char *pathname, int flags, mode_t mode);
 int mmap_full_file(const char *filename, int open_mode, struct osl_object *obj);
 ssize_t para_write_all(int fd, const void *buf, size_t size);
 int para_lseek(int fd, off_t *offset, int whence);
 int para_write_file(const char *filename, const void *buf, size_t size);
-int para_mkdir(const char *path, mode_t mode);
 
 /**
  * A wrapper for munmap(2).