Home | History | Annotate | Download | only in bthcid

Lines Matching defs:ctl

90 	int			ctl;
101 ctl = socket(PF_LOCAL, SOCK_STREAM, 0);
102 if (ctl < 0)
109 if (bind(ctl, (struct sockaddr *)&un, sizeof(un)) < 0) {
110 close(ctl);
115 close(ctl);
120 if (listen(ctl, 10) < 0) {
121 close(ctl);
126 event_set(&control_ev, ctl, EV_READ | EV_PERSIST, process_control, NULL);
128 close(ctl);