Lines Matching defs:conf
29 int local_server_create(struct local_server *server, struct local_conf *conf)
38 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &conf->reuseaddr,
39 sizeof(conf->reuseaddr)) == -1) {
41 unlink(conf->path);
46 strcpy(local.sun_path, conf->path);
48 unlink(conf->path);
52 unlink(conf->path);
56 if (listen(fd, conf->backlog) == -1) {
58 unlink(conf->path);
63 strcpy(server->path, conf->path);
92 int local_client_create(struct local_conf *conf)
102 strcpy(local.sun_path, conf->path);
140 struct local_conf *conf,
145 fd = local_client_create(conf);