/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #pragma once #include #include #include namespace slack { struct JobData { sqlite3 *db; CURL *curl; }; CURLcode get_file (CURL **curl, char *source_url, char *dest); char **split_package_name (const char *pkg_filename); PkInfoEnum is_installed (const char *pkg_fullname); extern "C" { int cmp_repo (const void *a, const void *b); } }