* Licensed under the GPL v2. For licencing details see COPYING.
*/
-/** \file adu.h Global definitions. */
+/** \file adu.h \brief Global definitions. */
#include <sys/stat.h>
#include <fcntl.h>
NUM_DT_COLUMNS
};
-extern uint32_t num_uids;
extern struct osl_table *dir_table;
/** The adu command line options. */
extern struct gengetopt_args_info conf;
+/** Computed database dir. */
+extern char *database_dir;
+
/**
* The select command line options.
*
*
* \sa osl_compare_func, osl_hash_compare().
*/
-static inline int uint64_compare(const struct osl_object *obj1,
+_static_inline_ int uint64_compare(const struct osl_object *obj1,
const struct osl_object *obj2)
{
uint64_t d1 = read_u64((const char *)obj1->data);
* equal, the address of \a obj1 and \a obj2 are compared. So this compare function
* returns zero if and only if \a obj1 and \a obj2 point to the same memory area.
*/
-static inline int size_compare(const struct osl_object *obj1, const struct osl_object *obj2)
+_static_inline_ int size_compare(const struct osl_object *obj1, const struct osl_object *obj2)
{
uint64_t d1 = *(uint64_t *)obj1->data;
uint64_t d2 = *(uint64_t *)obj2->data;
__printf_2_3 void __log(int, const char*, ...);
int open_dir_table(int create);
void check_signals(void);
-void close_all_tables(void);
/* create.c */
int com_create(void);