C-API: Add error socket to clixon_proc_socket()

This commit is contained in:
Olof hagsand 2024-01-31 14:36:40 +01:00
parent 9ecc7e0791
commit 3149d53564
3 changed files with 22 additions and 6 deletions

View file

@ -65,7 +65,7 @@ typedef int (proc_cb_t)(clixon_handle h,
/*
* Prototypes
*/
int clixon_proc_socket(clixon_handle h, char **argv, int sock_flags, pid_t *pid, int *sock);
int clixon_proc_socket(clixon_handle h, char **argv, int sock_flags, pid_t *pid, int *sock, int *sockerr);
int clixon_proc_socket_close(pid_t pid, int sock);
int clixon_process_pid(clixon_handle h, const char *name, pid_t *pid);
proc_operation clixon_process_op_str2int(char *opstr);