Files
utun2/tools/chatgui-android/libutun_lite/photo_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

19 lines
760 B
C

/* Отправка уже подготовленного изображения в канал: MIME выбирается по расширению, width/height даёт caller.
* Не декодирует и не масштабирует изображение; ставит копирование/индексацию в chat_core/media_index.
* 0 = запрос поставлен в uasync, -1 = отказ. src_file_path должен существовать до завершения задачи. */
#ifndef PHOTO_SENDER_H
#define PHOTO_SENDER_H
#ifdef __cplusplus
extern "C" {
#endif
int photo_send(const char* channel_id, const char* src_file_path, const char* db_path,
int width, int height);
#ifdef __cplusplus
}
#endif
#endif