summaryrefslogtreecommitdiffstats
path: root/src/map.h
blob: dc42c4259994c03523aae461a461f90616e275ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
struct plugin_state;
bool_t map_supports_domain(struct plugin_state *state,
			   const char *domain,
			   bool_t *supported);
bool_t map_supports_map(struct plugin_state *state,
			const char *domain,
			const char *map,
			bool_t *supported);
bool_t map_match(struct plugin_state *state,
		 const char *domain, const char *map,
		 unsigned int key_len, char *key,
		 unsigned int *value_len, char **value);
bool_t map_first(struct plugin_state *state,
		 const char *domain, const char *map,
		 unsigned int *first_key_len, char **first_key,
		 unsigned int *first_value_len, char **first_value);
bool_t map_next(struct plugin_state *state,
		const char *domain, const char *map,
		unsigned int prev_len, const char *prev,
		unsigned int *next_key_len, char **next_key,
		unsigned int *next_value_len, char **next_value);
bool_t map_order(struct plugin_state *state,
		 const char *domain, const char *map,
		 unsigned int *order);