Lines Matching refs:pollcb
83 apr_pollcb_t *pollcb;
91 * but someone might implement other pollcb method in
112 pollcb = apr_palloc(p, sizeof(*pollcb));
113 pollcb->nelts = 0;
114 pollcb->nalloc = size;
115 pollcb->pool = p;
116 pollcb->provider = provider;
118 rv = (*provider->create)(pollcb, size, p, flags);
133 rv = (*provider->create)(pollcb, size, p, flags);
137 pollcb->provider = provider;
143 *ret_pollcb = pollcb;
147 APR_DECLARE(apr_status_t) apr_pollcb_create(apr_pollcb_t **pollcb,
153 return apr_pollcb_create_ex(pollcb, size, p, flags, method);
156 APR_DECLARE(apr_status_t) apr_pollcb_add(apr_pollcb_t *pollcb,
159 return (*pollcb->provider->add)(pollcb, descriptor);
162 APR_DECLARE(apr_status_t) apr_pollcb_remove(apr_pollcb_t *pollcb,
165 return (*pollcb->provider->remove)(pollcb, descriptor);
169 APR_DECLARE(apr_status_t) apr_pollcb_poll(apr_pollcb_t *pollcb,
174 return (*pollcb->provider->poll)(pollcb, timeout, func, baton);