summaryrefslogtreecommitdiff
path: root/src/mcpp-runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mcpp-runtime.h')
-rw-r--r--src/mcpp-runtime.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mcpp-runtime.h b/src/mcpp-runtime.h
new file mode 100644
index 0000000..75d1ddf
--- /dev/null
+++ b/src/mcpp-runtime.h
@@ -0,0 +1,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__ */