+3
-14
@@ -1,17 +1,8 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "hashmap.h"
|
||||
#include "memory-util.h"
|
||||
#include "strv-fundamental.h"
|
||||
|
||||
typedef enum ExtractFlags ExtractFlags;
|
||||
#include "forward.h"
|
||||
#include "strv-fundamental.h" /* IWYU pragma: export */
|
||||
|
||||
char* strv_find(char * const *l, const char *name) _pure_;
|
||||
char* strv_find_case(char * const *l, const char *name) _pure_;
|
||||
@@ -216,9 +207,7 @@ int fputstrv(FILE *f, char * const *l, const char *separator, bool *space);
|
||||
free_and_replace_full(a, b, strv_free)
|
||||
|
||||
void string_strv_hashmap_remove(Hashmap *h, const char *key, const char *value);
|
||||
static inline void string_strv_ordered_hashmap_remove(OrderedHashmap *h, const char *key, const char *value) {
|
||||
string_strv_hashmap_remove(PLAIN_HASHMAP(h), key, value);
|
||||
}
|
||||
void string_strv_ordered_hashmap_remove(OrderedHashmap *h, const char *key, const char *value);
|
||||
int string_strv_hashmap_put(Hashmap **h, const char *key, const char *value);
|
||||
int string_strv_ordered_hashmap_put(OrderedHashmap **h, const char *key, const char *value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user