mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-21 18:02:33 +01:00
20 lines
502 B
C
20 lines
502 B
C
#pragma once
|
|
|
|
#include <util/darray.h>
|
|
|
|
struct update_info;
|
|
typedef struct update_info update_info_t;
|
|
|
|
struct file_download_data {
|
|
const char *name;
|
|
int version;
|
|
|
|
DARRAY(uint8_t) buffer;
|
|
};
|
|
|
|
typedef bool (*confirm_file_callback_t)(void *param, struct file_download_data *file);
|
|
|
|
update_info_t *update_info_create_single(const char *log_prefix, const char *user_agent, const char *file_url,
|
|
confirm_file_callback_t confirm_callback, void *param);
|
|
void update_info_destroy(update_info_t *info);
|