Create socket directly from ctl_connect()

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-02-28 08:18:18 +00:00
parent ff5b966866
commit f95aaef092
5 changed files with 29 additions and 20 deletions

View File

@@ -39,6 +39,6 @@ struct ctl_msg {
};
int ctl_create (const char *, const char *);
int ctl_connect (int, const char *, const char *);
int ctl_connect (const char *, const char *);
int ctl_reply (int, struct ctl_msg *, struct ctl_msg *);
void ctl_delete (int);