chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util-lib: simplify personality() string matching
[elogind.git]
/
src
/
basic
/
strv.h
diff --git
a/src/basic/strv.h
b/src/basic/strv.h
index 13ed1b371e69057dd8576a4fb5fe8db5b0c505ae..8e83ffde755016432450df90eaa0ccc5f21a7675 100644
(file)
--- a/
src/basic/strv.h
+++ b/
src/basic/strv.h
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
#pragma once
/***
@@
-24,8
+22,11
@@
#include <fnmatch.h>
#include <stdarg.h>
#include <stdbool.h>
#include <fnmatch.h>
#include <stdarg.h>
#include <stdbool.h>
+#include <stddef.h>
+#include "alloc-util.h"
#include "extract-word.h"
#include "extract-word.h"
+#include "macro.h"
#include "util.h"
char *strv_find(char **l, const char *name) _pure_;
#include "util.h"
char *strv_find(char **l, const char *name) _pure_;
@@
-181,4
+182,6
@@
char ***strv_free_free(char ***l);
char **strv_skip(char **l, size_t n);
int strv_extend_n(char ***l, const char *value, size_t n);
char **strv_skip(char **l, size_t n);
int strv_extend_n(char ***l, const char *value, size_t n);
+
+int fputstrv(FILE *f, char **l, const char *separator, bool *space);
#endif // 0
#endif // 0