| libfep Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
FepClient; void fep_client_close (FepClient *client); FepClient * fep_client_open (const char *address); void fep_client_send_data (FepClient *client,const char *data,size_t length); void fep_client_set_cursor_text (FepClient *client,const char *text,FepAttribute *attr); void fep_client_set_status_text (FepClient *client,const char *text,FepAttribute *attr);
void fep_client_close (FepClient *client);
Close the control socket and release the memory allocated for client.
|
a FepClient |
FepClient * fep_client_open (const char *address);
Connect to the FEP server running at address. If address is
NULL, it gets the address from the environment variable
`LIBFEP_CONTROL_SOCK`.
|
socket address of the FEP server. [allow-none] |
Returns : |
a new FepClient. |
void fep_client_send_data (FepClient *client,const char *data,size_t length);
Request to send data to the child process of the FEP server.
|
a FepClient |
|
data to be sent |
|
length of data
|
void fep_client_set_cursor_text (FepClient *client,const char *text,FepAttribute *attr);
Request to display text at the cursor position on the terminal.
|
a FepClient |
|
a cursor text |
|
a FepAttribute |