The client program to connect to para_server.
- Parameters
-
argc | Usual argument count. |
argv | Usual argument vector. |
When called without a paraslash command, an interactive session is started. Otherwise, the client task and the supervisor task are started. The former communicates with para_server while the latter monitors whether the client task intends to read from stdin or write to stdout.
Once it has been determined whether the client command corresponds to a stdin command (addmood, addimg, ..), either the stdin task or the stdout task is set up to replace the supervisor task.
- Returns
- EXIT_SUCCESS or EXIT_FAILURE
- See also
- client_open(), stdin.c, stdout.c, para_client(1), para_server(1).
References client_parse_config(), crypt_init(), and sched::default_timeout.