X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=blobdiff_plain;f=osl.h.in;h=5d81459a380772fd63764dcae930119a1c938258;hp=e4624799d12999044bdb1e2bdaa4b0add6de8374;hb=7364f975c92ff28a9ca6f2decb7d0ab28e94db48;hpb=a0c9be13b316e5a69c41d849e6eaa302b22c7e08 diff --git a/osl.h.in b/osl.h.in index e462479..5d81459 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 @@ -171,7 +171,7 @@ int osl_create_table(const struct osl_table_description *desc); * * Each osl table must be opened before its data can be accessed. * - * \param table_desc Describes the table to be opened. + * \param desc Describes the table to be opened. * \param result Contains a pointer to the open table on success. * * The table description given by \a desc should coincide with the @@ -220,7 +220,7 @@ int osl_get_row(const struct osl_table *t, unsigned col_num, * Retrieve an object identified by row and column * * \param t Pointer to an open osl table. - * \param r Pointer to the row. + * \param row Pointer to the row. * \param col_num The column number. * \param object The result pointer. * @@ -476,19 +476,6 @@ int osl_get_nth_row(const struct osl_table *t, unsigned col_num, int osl_get_rank(const struct osl_table *t, struct osl_row *r, unsigned col_num, unsigned *rank); -/** - * Compare two osl objects pointing to hash values. - * - * \param obj1 Pointer to the first hash object. - * \param obj2 Pointer to the second hash object. - * - * \return The values required for an osl compare function. - * - * \sa osl_compare_func, uint32_compare(). - */ -int osl_hash_compare(const struct osl_object *obj1, - const struct osl_object *obj2); - /** * Get a string describing the error code passed in the argument. *