-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibpkgconf_tuple.pxd
20 lines (18 loc) · 1.04 KB
/
libpkgconf_tuple.pxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from libcpp cimport bool
from libpkgconf_iter cimport *
from libpkgconf_client cimport *
ctypedef pkgconf_tuple_ pkgconf_tuple_t
cdef extern from "libpkgconf/libpkgconf.h":
struct pkgconf_tuple_:
pkgconf_node_t iter
char *key
char *value
pkgconf_tuple_t *pkgconf_tuple_add(const pkgconf_client_t *client, pkgconf_list_t *parent, const char *key, const char *value, bool parse)
char *pkgconf_tuple_find(const pkgconf_client_t *client, pkgconf_list_t *list, const char *key)
char *pkgconf_tuple_parse(const pkgconf_client_t *client, pkgconf_list_t *list, const char *value)
void pkgconf_tuple_free(pkgconf_list_t *list)
void pkgconf_tuple_free_entry(pkgconf_tuple_t *tuple, pkgconf_list_t *list)
void pkgconf_tuple_add_global(pkgconf_client_t *client, const char *key, const char *value)
char *pkgconf_tuple_find_global(const pkgconf_client_t *client, const char *key)
void pkgconf_tuple_free_global(pkgconf_client_t *client)
void pkgconf_tuple_define_global(pkgconf_client_t *client, const char *kv)