35#include "downloadtarget.h"
50#define LR_CURL_VERSION_CHECK(major,minor,patch) \
51 (LIBCURL_VERSION_MAJOR > (major) || \
52 (LIBCURL_VERSION_MAJOR == (major) && LIBCURL_VERSION_MINOR > (minor)) || \
53 (LIBCURL_VERSION_MAJOR == (major) && LIBCURL_VERSION_MINOR == (minor) && \
54 LIBCURL_VERSION_PATCH >= (patch)))
154 GError **err G_GNUC_UNUSED) G_GNUC_UNUSED;
205 const gchar *filename,
217lr_checksum_from_zck_hash(zck_hash zck_checksum_type);
241lr_zck_init_read_base(
const char *checksum,
LrChecksumType checksum_type,
242 gint64 zck_header_size,
int fd, GError **err);
255lr_zck_valid_header_base(
const char *checksum,
LrChecksumType checksum_type,
256 gint64 zck_header_size,
int fd, GError **err);
267lr_zck_init_read(LrDownloadTarget *target,
char *filename,
int fd, GError **err);
278lr_zck_valid_header(LrDownloadTarget *target,
char *filename,
int fd, GError **err);
292lr_get_recursive_files(
char *path,
char *extension, GError **err);
void * lr_malloc0(size_t len)
gchar * lr_string_chunk_insert(GStringChunk *chunk, const gchar *string)
void lr_global_init(void)
gboolean lr_key_file_save_to_file(GKeyFile *key_file, const gchar *filename, GError **error)
void * lr_realloc(void *ptr, size_t len)
int lr_xml_parser_warning_logger(LrXmlParserWarningType type G_GNUC_UNUSED, char *msg, void *cbdata, GError **err G_GNUC_UNUSED) G_GNUC_UNUSED
void lr_out_of_memory(void)
gboolean lr_best_checksum(GSList *list, LrChecksumType *type, gchar **value)
gchar ** lr_strv_dup(gchar **array)
int lr_remove_dir(const char *path)
char * lr_gettmpdir(void)
void * lr_malloc(size_t len)
gchar * lr_url_without_path(const char *url)
gboolean lr_is_local_path(const gchar *path)
void lr_log_librepo_summary(void)
char * lr_prepend_url_protocol(const char *path)
int lr_copy_content(int source, int dest)
char * lr_pathconcat(const char *str,...) G_GNUC_NULL_TERMINATED