You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
783 B

#include "db_sync.h"
#include "utun_instance.h"
#include "../lib/u_async.h"
#include "../lib/debug_config.h"
#include "../lib/mem.h"
int db_sync_init(struct UTUN_INSTANCE* inst) {
(void)inst;
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "db_sync: stub (disabled for chatgui)");
return 0;
}
void db_sync_destroy(struct UTUN_INSTANCE* inst) {
(void)inst;
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "db_sync: stub destroyed");
}
int db_sync_insert_len(struct UTUN_INSTANCE* inst, const char* json_data, size_t len) {
(void)inst; (void)json_data; (void)len;
return 0;
}
int db_sync_insert(struct UTUN_INSTANCE* inst, const char* json_data) {
(void)inst; (void)json_data;
return 0;
}
uint32_t db_sync_count(struct UTUN_INSTANCE* inst) {
(void)inst;
return 0;
}