Lines Matching refs:ctlpath
69 char* ctlpath; member
277 if (!(s->ctlpath = ctl_makepath(name, "ctl"))) in ctl_open()
287 memcpy(saddr.sun_path, s->ctlpath, strlen(s->ctlpath)); in ctl_open()
288 if (unlink(s->ctlpath) && errno != ENOENT) { in ctl_open()
289 BWPRINTF("error unlinking old socket path %s: %s", s->ctlpath, in ctl_open()
295 BWPRINTF("error binding control socket to %s: %s", s->ctlpath, in ctl_open()
318 free(s->ctlpath); in ctl_open()
319 s->ctlpath = NULL; in ctl_open()
341 if (s->ctlpath) { in ctl_close()
342 unlink(s->ctlpath); in ctl_close()
343 free(s->ctlpath); in ctl_close()
344 s->ctlpath = NULL; in ctl_close()