// SPDX-License-Identifier: GPL-2.0-only
/*
 *  ppm/src/util/http.h
 *
 *  Tiny libcurl wrapper. Downloads a URL straight to a local path.
 *  HTTPS only by default; HTTP is accepted for localhost mirrors used
 *  in tests.
 *
 *  Copyright (C) 2026 Project Tick
 */

#ifndef PPM_UTIL_HTTP_H
#define PPM_UTIL_HTTP_H

#include <ppm/error.h>

ppm_error_t ppm_http_init(void);
ppm_error_t ppm_http_download(const char *url, const char *dest_path);

#endif
