chat: локальное удаление канала (Android) + db_sync инстансы в куче

This commit is contained in:
evgeny committed 2026-09-13 22:08:33 +03:00
1 parent ddfffad1ed
commit 7c8d65db78
30 files changed
+466 -42

No files matched your search

+2
View File
@@ -98,6 +98,8 @@ void db_sync_destroy(struct UTUN_INSTANCE* inst);
// Instance management
struct DB_SYNC_INSTANCE* db_sync_instance_add(struct UTUN_INSTANCE* inst, const char* table_name, uint64_t group_id, int auto_sync);
void db_sync_instance_remove(struct DB_SYNC_INSTANCE* si);
// Найти живой инстанс по group_id (поиск в текущем массиве db->instances — указатель всегда актуален).
struct DB_SYNC_INSTANCE* db_sync_instance_find(struct UTUN_INSTANCE* inst, uint64_t group_id);
// Data operations (per-instance)
// db_sync_insert_signed: sig MUST be non-NULL, 64 bytes.