Fix compilation on FreeBSD.
[osl.git] / osl.h.in
index 20e930ffae7b567c13ea72975ba1a636e589a290..67d705a5371a0f435297e9914e4efd8fd45d4072 100644 (file)
--- 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
@@ -135,8 +135,8 @@ struct osl_table_description {
        const char *name;
        /** The number of columns of this table. */
        uint16_t num_columns;
-       /** Further table-wide information. */
-       enum osl_table_flags flags;
+       /** Further table-wide information, \sa osl_table_flags. */
+       uint8_t flags;
        /** The array describing the individual columns of the table. */
        struct osl_column_description *column_descriptions;
 };
@@ -259,9 +259,9 @@ int osl_open_disk_object(const struct osl_table *t,
  *
  * \param obj Pointer to the object previously returned by open_disk_object().
  *
- * \return The return value of the underlying call to para_munmap().
+ * \return The return value of the underlying call to munmap().
  *
- * \sa para_munmap().
+ * \sa munmap(2).
  */
 int osl_close_disk_object(struct osl_object *obj);
 
@@ -313,7 +313,7 @@ int osl_add_row(struct osl_table *t, struct osl_object *objects);
  * This removes all disk storage objects, removes all rbtree nodes,  and frees
  * all volatile objects belonging to the given row. For mapped columns, the
  * data is merely marked invalid and may be pruned from time to time by
- * para_fsck.
+ * osl_fsck.
  *
  * \return Standard.
  */