summaryrefslogtreecommitdiff
path: root/apt-private/private-json-hooks.h
blob: 41be2950e18e5db5090479ebbff1b1c85d6f160d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * private-json-hooks.h - 2nd generation, JSON-RPC, hooks for APT
 *
 * Copyright (c) 2018 Canonical Ltd
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#include <set>
#include <string>

#include <apt-private/private-cachefile.h>

bool RunJsonHook(std::string const &option, std::string const &method, const char **FileList, CacheFile &Cache, std::set<std::string> const &UnknownPackages = {});