23 |
#ifndef AR_UTIL_H |
#ifndef AR_UTIL_H |
24 |
#define AR_UTIL_H |
#define AR_UTIL_H |
25 |
|
|
|
/* This is a function that launches a command and returns the output. |
|
|
Make sure that you free the returned string when finished. */ |
|
|
char* |
|
|
antiright_pipe_read(char *command_string); |
|
|
|
|
|
/* This command pipes DATA into the command specified by |
|
|
COMMAND_STRING. */ |
|
|
void |
|
|
antiright_pipe_write(char *command_string, char* data); |
|
|
|
|
|
/* This pipes FIFO into COMMAND. */ |
|
|
void |
|
|
antiright_fifo_server(char *command_string, char *fifo); |
|
|
|
|
26 |
/* This is the xmalloc function for AntiRight applications. It |
/* This is the xmalloc function for AntiRight applications. It |
27 |
verifies the allocation with an assertion. */ |
verifies the allocation with an assertion. */ |
28 |
void * |
void * |