mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
6e19ab2bbc
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
20 lines
1.3 KiB
Text
20 lines
1.3 KiB
Text
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) => ()
|
|
}
|