diff options
Diffstat (limited to 'scripts/interface/SBProcessInfo.i')
-rw-r--r-- | scripts/interface/SBProcessInfo.i | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/scripts/interface/SBProcessInfo.i b/scripts/interface/SBProcessInfo.i new file mode 100644 index 0000000000000..7332e67a966ad --- /dev/null +++ b/scripts/interface/SBProcessInfo.i @@ -0,0 +1,66 @@ +//===-- SWIG Interface for SBProcessInfo-------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +namespace lldb { + +%feature("docstring", +"Describes an existing process and any discoverable information that pertains to +that process." +) SBProcessInfo; + +class SBProcessInfo +{ +public: + SBProcessInfo(); + + SBProcessInfo (const SBProcessInfo &rhs); + + ~SBProcessInfo (); + + bool + IsValid (); + + const char * + GetName (); + + SBFileSpec + GetExecutableFile (); + + lldb::pid_t + GetProcessID (); + + uint32_t + GetUserID (); + + uint32_t + GetGroupID (); + + bool + UserIDIsValid (); + + bool + GroupIDIsValid (); + + uint32_t + GetEffectiveUserID (); + + uint32_t + GetEffectiveGroupID (); + + bool + EffectiveUserIDIsValid (); + + bool + EffectiveGroupIDIsValid (); + + lldb::pid_t + GetParentProcessID (); +}; + +} // namespace lldb |