Lines Matching defs:connections
35 /* Don't allow more than this many concurrent connections */
42 pa_idxset *connections;
49 pa_idxset_remove_by_data(p->connections, c, NULL);
67 if (pa_idxset_size(p->connections)+1 > MAX_CONNECTIONS) {
68 pa_log("Warning! Too many connections (%u), dropping incoming connection.", MAX_CONNECTIONS);
76 pa_idxset_put(p->connections, c, NULL);
86 while ((c = pa_idxset_iterate(p->connections, &state, NULL)))
99 p->connections = pa_idxset_new(NULL, NULL);
132 while ((c = pa_idxset_first(p->connections, NULL)))
135 pa_idxset_free(p->connections, NULL);