upd_send.c: Use write_nonblock() rather than write_all().
[paraslash.git] / osl_core.h
index d6661617725e3436a78ba7ee12e19c42800462c6..de53cdd1f07390010c29ae3afecf8a74f2a41e7e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -9,6 +9,7 @@
 #include "rbtree.h"
 #include "osl.h"
 #include "string.h"
+#include "portable_io.h"
 #include "hash.h"
 
 /** Internal representation of a column of an osl table. */
@@ -56,7 +57,7 @@ struct osl_table {
        unsigned num_rbtrees;
        /**
         * The number of the column that determines the name of the disk
-        * storage objcts.
+        * storage objects.
         */
        unsigned disk_storage_name_column;
        /** The number of bytes of an index entry of a row. */
@@ -95,7 +96,7 @@ int init_rbtrees(struct osl_table *t);
 enum map_table_flags {
        /**
         * Check whether the entries in the table index match the entries in
-        * the table desctiption.
+        * the table description.
         */
        MAP_TBL_FL_VERIFY_INDEX = 1,
        /** Do not complain even if the dirty flag is set. */
@@ -113,7 +114,7 @@ int mark_row_invalid(struct osl_table *t, uint32_t row_num);
  * Get the description of a column by column number
  *
  * \param d Pointer to the table description.
- * \param col_num The number of the column to get the desctiption for.
+ * \param col_num The number of the column to get the description for.
  *
  * \return The table description.
  *