Files
utun2/tools/chatgui-android/libutun_lite/attachment_sender.h
T
evgeny a97e8bcc1f docs: update file inventory and module header contracts
Refresh both AGENTS guides and clarify module purpose, usage, ownership, threading, return values and wire formats in headers. Remove the unused timeout_heap freed_count field and unimplemented getter.
2026-10-04 13:10:01 +02:00

18 lines
675 B
C

/* Android-обёртка отправки обычного файла в канал через chat_core_submit_trampoline.
* Строит имя назначения в db_path/media/channel_id, копирование/индексацию выполняет media_index.
* 0 = запрос поставлен в uasync, -1 = отказ подготовки. Исходный файл нужен до завершения media-задачи. */
#ifndef ATTACHMENT_SENDER_H
#define ATTACHMENT_SENDER_H
#ifdef __cplusplus
extern "C" {
#endif
int attachment_send(const char* channel_id, const char* src_file_path, const char* db_path);
#ifdef __cplusplus
}
#endif
#endif