summaryrefslogtreecommitdiff
path: root/src/mcpp-runtime.h
blob: 75d1ddf7329a1c977849031f9716a0477444a5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __MCPU_CPP_RUNTIME_H__
#define __MCPU_CPP_RUNTIME_H__ 1

typedef struct mcpp_runtime_paths mcpp_runtime_paths;
struct mcpp_runtime_paths
{
  char *executable_path;
  char *executable_dir;
  char *installation_root;
  char *config_file;
  char *system_include_path;
};

void mcpp_runtime_paths_init( mcpp_runtime_paths *paths );
void mcpp_runtime_paths_free( mcpp_runtime_paths *paths );
int  mcpp_runtime_paths_discover( mcpp_runtime_paths *paths,
                                  const char *argv0 );

#endif /* __MCPU_CPP_RUNTIME_H__ */