diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -22,5 +22,20 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
22 | 22 | ||
23 | #pragma once | 23 | #pragma once |
24 | 24 | ||
25 | #include <the_Foundation/defs.h> | 25 | #include <the_Foundation/string.h> |
26 | #include <the_Foundation/process.h> | ||
26 | 27 | ||
28 | void init_Ipc (const char *runDir); | ||
29 | void deinit_Ipc (void); | ||
30 | |||
31 | iProcessId check_Ipc (void); | ||
32 | void listen_Ipc (void); | ||
33 | iString * communicate_Ipc (const iString *command); | ||
34 | void signal_Ipc (iProcessId pid); | ||
35 | |||
36 | enum iIpcWrite { | ||
37 | command_IpcWrite, | ||
38 | response_IpcWrite, | ||
39 | }; | ||
40 | |||
41 | iBool write_Ipc (iProcessId pid, const iString *input, enum iIpcWrite type); | ||