| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #ifndef COMMAND_SERIALIZE_H | ||
| 2 | #define COMMAND_SERIALIZE_H | ||
| 3 | |||
| 4 | #include <stdbool.h> | ||
| 5 | #include "util/macros.h" | ||
| 6 | #include "util/string.h" | ||
| 7 | #include "util/string-view.h" | ||
| 8 | |||
| 9 | void string_append_escaped_arg_sv(String *s, StringView arg, bool escape_tilde) NONNULL_ARGS; | ||
| 10 | |||
| 11 | 788 | static inline void string_append_escaped_arg(String *s, const char *arg, bool escape_tilde) | |
| 12 | { | ||
| 13 | 788 | string_append_escaped_arg_sv(s, strview(arg), escape_tilde); | |
| 14 | 788 | } | |
| 15 | |||
| 16 | #endif | ||
| 17 |