From: Andre Noll Date: Fri, 6 Jun 2008 16:13:38 +0000 (+0200) Subject: Change type of struct osl_column_description->storage_{type,flags}. X-Git-Tag: v0.1.0~44 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=368cbd78587922ec3620b72bdb1c9f8cdf9297d1;ds=sidebyside Change type of struct osl_column_description->storage_{type,flags}. These values get stored in the table index header as 16 bit quantities, so it does not make sense to use a different size for the structure. --- diff --git a/osl.h.in b/osl.h.in index e462479..67d705a 100644 --- a/osl.h.in +++ b/osl.h.in @@ -94,10 +94,10 @@ typedef int osl_rbtree_loop_func(struct osl_row *row, void *data); * Describes one column of a osl table. */ struct osl_column_description { - /** One of the tree possible types of storage */ - enum osl_storage_type storage_type; - /** Specifies further properties of the column */ - enum osl_storage_flags storage_flags; + /** One of the tree possible types of storage, \sa osl_storage_type. */ + uint16_t storage_type; + /** Specifies further properties of the column, \sa osl_storage_flags. */ + uint16_t storage_flags; /** * The column name determines the name of the directory where all data * for this column will be stored. Its hash is stored in the table