mod_proxy_http2: own h2_proxy_util.c source file to avoid duplicate use of h2_util.c, updated dsp and cmake as well as configure files

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747550 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Eissing
2016-06-09 14:03:07 +00:00
parent a61612e189
commit fb0a918862
10 changed files with 891 additions and 158 deletions

View File

@ -70,33 +70,6 @@ void h2_ihash_clear(h2_ihash_t *ih);
size_t h2_ihash_shift(h2_ihash_t *ih, void **buffer, size_t max);
size_t h2_ihash_ishift(h2_ihash_t *ih, int *buffer, size_t max);
/*******************************************************************************
* ilist - sorted list for structs with int identifier as first member
******************************************************************************/
typedef struct h2_ilist_t h2_ilist_t;
typedef int h2_ilist_iter_t(void *ctx, void *val);
h2_ilist_t *h2_ilist_create(apr_pool_t *pool);
apr_status_t h2_ilist_add(h2_ilist_t *list, void *val);
void *h2_ilist_get(h2_ilist_t *list, int id);
void *h2_ilist_shift(h2_ilist_t *list);
void *h2_ilist_remove(h2_ilist_t *list, int id);
int h2_ilist_empty(h2_ilist_t *list);
apr_size_t h2_ilist_count(h2_ilist_t *list);
/* Iterator over all h2_io* in the set or until a
* callback returns 0. It is not safe to add or remove
* set members during iteration.
*
* @param set the set of h2_io to iterate over
* @param iter the function to call for each io
* @param ctx user data for the callback
* @return 1 iff iteration completed for all members
*/
int h2_ilist_iter(h2_ilist_t *lis, h2_ilist_iter_t *iter, void *ctx);
/*******************************************************************************
* iqueue - sorted list of int with user defined ordering
******************************************************************************/