Oleksiy Vyalov | 71d08b3 | 2015-02-16 00:04:19 +0000 | [diff] [blame] | 1 | //===-- SWIG Interface for SBAttachInfo--------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | class SBAttachInfo |
| 13 | { |
| 14 | public: |
| 15 | SBAttachInfo (); |
| 16 | |
| 17 | SBAttachInfo (lldb::pid_t pid); |
| 18 | |
| 19 | SBAttachInfo (const char *path, bool wait_for); |
| 20 | |
| 21 | SBAttachInfo (const lldb::SBAttachInfo &rhs); |
| 22 | |
| 23 | lldb::pid_t |
| 24 | GetProcessID (); |
| 25 | |
| 26 | void |
| 27 | SetProcessID (lldb::pid_t pid); |
| 28 | |
| 29 | void |
| 30 | SetExecutable (const char *path); |
| 31 | |
| 32 | void |
| 33 | SetExecutable (lldb::SBFileSpec exe_file); |
| 34 | |
| 35 | bool |
| 36 | GetWaitForLaunch (); |
| 37 | |
| 38 | void |
| 39 | SetWaitForLaunch (bool b); |
| 40 | |
| 41 | bool |
| 42 | GetIgnoreExisting (); |
| 43 | |
| 44 | void |
| 45 | SetIgnoreExisting (bool b); |
| 46 | |
| 47 | uint32_t |
| 48 | GetResumeCount (); |
| 49 | |
| 50 | void |
| 51 | SetResumeCount (uint32_t c); |
| 52 | |
| 53 | const char * |
| 54 | GetProcessPluginName (); |
| 55 | |
| 56 | void |
| 57 | SetProcessPluginName (const char *plugin_name); |
| 58 | |
| 59 | uint32_t |
| 60 | GetUserID(); |
| 61 | |
| 62 | uint32_t |
| 63 | GetGroupID(); |
| 64 | |
| 65 | bool |
| 66 | UserIDIsValid (); |
| 67 | |
| 68 | bool |
| 69 | GroupIDIsValid (); |
| 70 | |
| 71 | void |
| 72 | SetUserID (uint32_t uid); |
| 73 | |
| 74 | void |
| 75 | SetGroupID (uint32_t gid); |
| 76 | |
| 77 | uint32_t |
| 78 | GetEffectiveUserID(); |
| 79 | |
| 80 | uint32_t |
| 81 | GetEffectiveGroupID(); |
| 82 | |
| 83 | bool |
| 84 | EffectiveUserIDIsValid (); |
| 85 | |
| 86 | bool |
| 87 | EffectiveGroupIDIsValid (); |
| 88 | |
| 89 | void |
| 90 | SetEffectiveUserID (uint32_t uid); |
| 91 | |
| 92 | void |
| 93 | SetEffectiveGroupID (uint32_t gid); |
| 94 | |
| 95 | lldb::pid_t |
| 96 | GetParentProcessID (); |
| 97 | |
| 98 | void |
| 99 | SetParentProcessID (lldb::pid_t pid); |
| 100 | |
| 101 | bool |
| 102 | ParentProcessIDIsValid(); |
| 103 | |
| 104 | lldb::SBListener |
| 105 | GetListener (); |
| 106 | |
| 107 | void |
| 108 | SetListener (lldb::SBListener &listener); |
| 109 | }; |
| 110 | |
| 111 | } // namespace lldb |