/* and because saxdb is tied in to lots of stuff.. */
-time_t now;
+unsigned long now;
void *conf_get_data(UNUSED_ARG(const char *full_path), UNUSED_ARG(enum recdb_type type)) {
return NULL;
void reg_exit_func(UNUSED_ARG(exit_func_t handler)) {
}
-void timeq_add(UNUSED_ARG(time_t when), UNUSED_ARG(timeq_func func), UNUSED_ARG(void *data)) {
+void timeq_add(UNUSED_ARG(unsigned long when), UNUSED_ARG(timeq_func func), UNUSED_ARG(void *data)) {
}
-void timeq_del(UNUSED_ARG(time_t when), UNUSED_ARG(timeq_func func), UNUSED_ARG(void *data), UNUSED_ARG(int mask)) {
+void timeq_del(UNUSED_ARG(unsigned long when), UNUSED_ARG(timeq_func func), UNUSED_ARG(void *data), UNUSED_ARG(int mask)) {
}
int send_message(UNUSED_ARG(struct userNode *dest), UNUSED_ARG(struct userNode *src), UNUSED_ARG(const char *message), ...) {
struct record_data *rd = data;
switch (rd->type) {
case RECDB_INVALID:
- fprintf(stdout, "Invalid database record type for key %s\n", key);
- return 1;
+ fprintf(stdout, "Invalid database record type for key %s\n", key);
+ return 1;
case RECDB_QSTRING:
case RECDB_STRING_LIST:
- return 0;
+ return 0;
case RECDB_OBJECT:
- return dict_foreach(rd->d.object, check_record, NULL) ? 1 : 0;
+ return dict_foreach(rd->d.object, check_record, NULL) ? 1 : 0;
}
return 0;
}