mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
This is preparation for making our Varlink API a public API. Since our Varlink API is built on top of our JSON API we need to make that public first (it's a nice API, but JSON APIs there are already enough, this is purely about the Varlink angle). I made most of the json.h APIs public, and just placed them in sd-json.h. Sometimes I wasn't so sure however, since the underlying data structures would have to be made public too. If in doubt I didn#t risk it, and moved the relevant API to src/libsystemd/sd-json/json-util.h instead (without any sd_* symbol prefixes). This is mostly a giant search/replace patch.
10 lines
361 B
C
10 lines
361 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
|
|
#include "varlink.h"
|
|
|
|
int verb_status(int argc, char *argv[], void *userdata);
|
|
int verb_list(int argc, char *argv[], void *userdata);
|
|
int verb_unlink(int argc, char *argv[], void *userdata);
|
|
|
|
int vl_method_list_boot_entries(Varlink *link, sd_json_variant *parameters, VarlinkMethodFlags flags, void *userdata);
|