index c03c0c1b6210b730dc0790693f642d45b4012886..c179fea84b142f836a24eb4791eb12194344f12e 100644 (file)
--- a/src/include/core/data.h
+++ b/src/include/core/data.h
#include "core/time.h"
#include <inttypes.h>
+#include <stdbool.h>
#include <stddef.h>
#include <sys/types.h>
* either datum is NULL or if the type is SDB_TYPE_NULL or if the string or
* binary datum is NULL.
*/
-_Bool
+bool
sdb_data_isnull(const sdb_data_t *datum);
/*
* sdb_data_inarray:
* Determine whether a datum is included in an array based on the usual
* comparison function of the value's type. The element type of the array has
- * to match the type of the value.
+ * to match the type of the value. The value may be another array. In that
+ * case, the element types have to match and the function returns true if all
+ * elements of the first array are included in the second where order does not
+ * matter.
*/
-_Bool
+bool
sdb_data_inarray(const sdb_data_t *value, const sdb_data_t *array);
/*