| 9 | { |
| 10 | |
| 11 | enum command_result |
| 12 | { |
| 13 | CR_LINK_FAILURE = -3, // RPC call failed due to I/O or protocol error |
| 14 | CR_NEEDS_CONSOLE = -2, // Attempt to call interactive command without console |
| 15 | CR_NOT_IMPLEMENTED = -1, // Command not implemented, or plugin not loaded |
| 16 | CR_OK = 0, // Success |
| 17 | CR_FAILURE = 1, // Failure |
| 18 | CR_WRONG_USAGE = 2, // Wrong arguments or ui state |
| 19 | CR_NOT_FOUND = 3 // Target object not found (for RPC mainly) |
| 20 | }; |
| 21 | |
| 22 | enum state_change_event |
| 23 | { |