diff options
author | Jim Jagielski <jim@apache.org> | 2013-06-18 16:31:24 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2013-06-18 16:31:24 +0200 |
commit | 67615cc81cf3aa484395f2f73b05a661bc1b7769 (patch) | |
tree | ffcfbaba5d3dda0ac202732c0b7e08583ba9edfd /include | |
parent | Update transformations. (diff) | |
download | apache2-67615cc81cf3aa484395f2f73b05a661bc1b7769.tar.xz apache2-67615cc81cf3aa484395f2f73b05a661bc1b7769.zip |
make opaque
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_skiplist.h | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/include/ap_skiplist.h b/include/ap_skiplist.h index b551fb2ebe..18d1bdac59 100644 --- a/include/ap_skiplist.h +++ b/include/ap_skiplist.h @@ -27,35 +27,12 @@ typedef int (*ap_skiplist_compare) (void *, void *); typedef void (*ap_skiplist_freefunc) (void *); +struct ap_skiplist; +struct ap_skiplistnode; + typedef struct ap_skiplistnode ap_skiplistnode; typedef struct ap_skiplist ap_skiplist; -struct ap_skiplist { - ap_skiplist_compare compare; - ap_skiplist_compare comparek; - int height; - int preheight; - int size; - ap_skiplistnode *top; - ap_skiplistnode *bottom; - /* These two are needed for appending */ - ap_skiplistnode *topend; - ap_skiplistnode *bottomend; - ap_skiplist *index; - apr_pool_t *pool; -}; - -struct ap_skiplistnode { - void *data; - ap_skiplistnode *next; - ap_skiplistnode *prev; - ap_skiplistnode *down; - ap_skiplistnode *up; - ap_skiplistnode *previndex; - ap_skiplistnode *nextindex; - ap_skiplist *sl; -}; - AP_DECLARE(void *) ap_skiplist_alloc(ap_skiplist *sl, size_t size); AP_DECLARE(void) ap_skiplist_free(ap_skiplist *sl, void *mem); |