diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-03 18:31:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-03 18:31:51 +0100 |
commit | 98940a3cd93807b5a3809bb1fb7ab43d450939f1 (patch) | |
tree | dbb62547f2b34adcb2bab0b382d24382cf5f84ef /src/shared/strv.h | |
parent | localed: log xkbcommon errors (diff) | |
download | systemd-98940a3cd93807b5a3809bb1fb7ab43d450939f1.tar.xz systemd-98940a3cd93807b5a3809bb1fb7ab43d450939f1.zip |
strv: add calls to add two entries to an strv at once
Diffstat (limited to 'src/shared/strv.h')
-rw-r--r-- | src/shared/strv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h index 774c67a8c8..2c0280b713 100644 --- a/src/shared/strv.h +++ b/src/shared/strv.h @@ -42,8 +42,10 @@ int strv_extend_strv_concat(char ***a, char **b, const char *suffix); int strv_extend(char ***l, const char *value); int strv_extendf(char ***l, const char *format, ...) _printf_(2,0); int strv_push(char ***l, char *value); +int strv_push_pair(char ***l, char *a, char *b); int strv_push_prepend(char ***l, char *value); int strv_consume(char ***l, char *value); +int strv_consume_pair(char ***l, char *a, char *b); int strv_consume_prepend(char ***l, char *value); char **strv_remove(char **l, const char *s); |