#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ngc/core/ngcppInt.h>#include <ngc/core/ngcppCom.h>Functions | |
| int | ngcppComExec (ngcpp_link_t *lnk, const char *srvName, const char *cmd, int xt, int debugPort, int *pid, int *cmdPortReal, char *erms) |
| int | ngcppComKill (const char *host, int pid, char *erms) |
Variables | |
| ngcpp_cmd_t | ngcppCommand |
| ngcpp_rep_t | ngcppReply |
| int ngcppComExec | ( | ngcpp_link_t * | link, |
| const char * | srvName, | ||
| const char * | cmd, | ||
| int | xt, | ||
| int | debugPort, | ||
| int * | pid, | ||
| int * | cmdPortReal, | ||
| char * | erms ) |
Execute the command cmd on host. If the flag xt is one, verbose output is done on a new x-terminal. If the debugPort is greater than zero, the verbose output is sent to this port. The function returns a process id (pid) to be used for ngcppComKill() and the actual command server port.
| int ngcppComKill | ( | const char * | host, |
| int | pid, | ||
| char * | erms ) |
Terminates the acquisition process on host.
|
extern |
|
extern |