summaryrefslogtreecommitdiff
path: root/src/mcpp-runtime.h
blob: 96a65a963d7125ab53ffffbadb69d966df851e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 );
int  mcpp_runtime_paths_set_root( mcpp_runtime_paths *paths,
                                  const char *root );

#endif /* __MCPU_CPP_RUNTIME_H__ */