summaryrefslogtreecommitdiff
path: root/Userland/Services/ConfigServer/ConfigServer.ipc
blob: 4a7bd1a4282afd28ffbefc922ee19306d0154538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
endpoint ConfigServer
{
    pledge_domains(Vector<DeprecatedString> domains) =|

    monitor_domain(DeprecatedString domain) =|

    list_config_groups(DeprecatedString domain) => (Vector<DeprecatedString> groups)
    list_config_keys(DeprecatedString domain, DeprecatedString group) => (Vector<DeprecatedString> keys)

    read_string_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<DeprecatedString> value)
    read_i32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<i32> value)
    read_bool_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<bool> value)

    write_string_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, DeprecatedString value) => ()
    write_i32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, i32 value) => ()
    write_bool_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, bool value)  => ()
    remove_key_entry(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => ()
    remove_group_entry(DeprecatedString domain, DeprecatedString group) => ()
    add_group_entry(DeprecatedString domain, DeprecatedString group)  => ()
}