diff options
| author | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
|---|---|---|
| committer | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
| commit | 065da3509019b15dd0e678072e6be629e5330bef (patch) | |
| tree | 69c934c9e786ac048b4fbe8f4c4c5571661521f4 /utils/mcpu-runtime.h | |
| parent | d130fe27fa753be02ed76fd9b277aa3c3d928eb9 (diff) | |
| download | libmcpu-0.4.0.tar.xz | |
Version 0.4.00.4.0
Diffstat (limited to 'utils/mcpu-runtime.h')
| -rw-r--r-- | utils/mcpu-runtime.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/mcpu-runtime.h b/utils/mcpu-runtime.h new file mode 100644 index 0000000..d68f7a6 --- /dev/null +++ b/utils/mcpu-runtime.h @@ -0,0 +1,23 @@ +#ifndef __MCPU_RUNTIME_H__ +#define __MCPU_RUNTIME_H__ 1 + +typedef struct mcpu_runtime_paths mcpu_runtime_paths; +struct mcpu_runtime_paths +{ + char *executable_path; + char *executable_dir; + char *installation_root; + char *config_file; + char *system_library_path; +}; + +void mcpu_runtime_paths_init( mcpu_runtime_paths *paths ); +void mcpu_runtime_paths_free( mcpu_runtime_paths *paths ); +int mcpu_runtime_paths_discover( mcpu_runtime_paths *paths, + const char *argv0 ); +int mcpu_runtime_paths_set_root( mcpu_runtime_paths *paths, + const char *root ); +int mcpu_runtime_paths_set_system_library( mcpu_runtime_paths *paths, + const char *path ); + +#endif /* __MCPU_RUNTIME_H__ */ |
