diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-06 22:59:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 11:19:19 +0100 |
| commit | 152197adf5b060602ecdd99e6f272c4e8b2b410e (patch) | |
| tree | 153cd87897b1d172d2ed3132524ff7c22bb5acc0 /src/lib/cross.h | |
| parent | 6a5c7209770aa2c20d702b6f31d877ad2864ece7 (diff) | |
Add get_process_id()
Diffstat (limited to 'src/lib/cross.h')
| -rw-r--r-- | src/lib/cross.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h index d8f0e56a5..cc066488a 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -67,6 +67,9 @@ extern bool running_32_on_64 (); extern void unprivileged (); extern boost::filesystem::path config_path (); extern boost::filesystem::path directory_containing_executable (); +namespace dcpomatic { + std::string get_process_id (); +} class PrivilegeEscalator { |
