~lattis/muon

ref: f9a8cbad39b665a9496cd3adb4756e85ee5ec97c muon/include/external/pkgconf.h -rw-r--r-- 523 bytes
f9a8cbadStone Tickle print stdout/stderr of failing test 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MUON_EXTERNAL_PKGCONF_H
#define MUON_EXTERNAL_PKGCONF_H

#include "lang/workspace.h"

#define MAX_VERSION_LEN 32

struct pkgconf_info {
	char version[MAX_VERSION_LEN + 1];
	uint32_t includes, libs;
};

extern const bool have_libpkgconf;

void muon_pkgconf_deinit(void);
void muon_pkgconf_init(void);
bool muon_pkgconf_lookup(struct workspace *wk, uint32_t name, bool is_static, struct pkgconf_info *info);
bool muon_pkgconf_get_variable(struct workspace *wk, const char *pkg_name, char *var, uint32_t *res);
#endif