X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osl.h;h=58969a4392aab2d22383cc93ecd90aa36599ec8c;hp=cb3194bea087dd95600e9e5b947435d2e8c186c5;hb=8f79f577f809506a12799cb97dba1f111c014df5;hpb=61250cf03241bf73662dac3753e44660a572fa2a diff --git a/osl.h b/osl.h index cb3194be..58969a43 100644 --- a/osl.h +++ b/osl.h @@ -1,6 +1,6 @@ #include /* - * Copyright (C) 2007 Andre Noll + * Copyright (C) 2007-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -58,7 +58,9 @@ enum osl_storage_flags { /** The data for this column will have constant size. */ OSL_FIXED_SIZE = 2, /** All values of this column will be different. */ - OSL_UNIQUE = 4 + OSL_UNIQUE = 4, + /** Do not free the data for this column (\p OSL_NO_STORAGE). */ + OSL_DONT_FREE = 8 }; struct osl_table; @@ -178,7 +180,7 @@ int osl_get_rank(const struct osl_table *t, struct osl_row *r, unsigned col_num, unsigned *rank); int for_each_file_in_dir(const char *dirname, - int (*func)(const char *, const void *), const void *private_data); + int (*func)(const char *, void *), void *private_data); 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);