Browse Source

Make radix implementation independent of lighty

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent
commit
d30108b967
  1. 2
      include/lighttpd/base.h
  2. 2
      include/lighttpd/radix.h
  3. 1
      src/modules/mod_access.c
  4. 3
      src/radix.c

2
include/lighttpd/base.h

@ -27,8 +27,6 @@
#include <lighttpd/typedefs.h>
#include <lighttpd/module.h>
#include <lighttpd/radix.h>
#include <lighttpd/chunk.h>
#include <lighttpd/chunk_parser.h>

2
include/lighttpd/radix.h

@ -1,6 +1,8 @@
#ifndef _LIGHTTPD_RADIX_H_
#define _LIGHTTPD_RADIX_H_
#include <lighttpd/settings.h>
/*
* Radix tree with 32bit key, lookup, insert and remove in O(32).
* This is where the bit magic happens.

1
src/modules/mod_access.c

@ -45,6 +45,7 @@
*/
#include <lighttpd/base.h>
#include <lighttpd/radix.h>
LI_API gboolean mod_access_init(modules *mods, module *mod);
LI_API gboolean mod_access_free(modules *mods, module *mod);

3
src/radix.c

@ -1,4 +1,5 @@
#include <lighttpd/base.h>
#include <lighttpd/radix.h>
RadixTree32 *radixtree32_new(guint32 root_width) {
guint32 i;

Loading…
Cancel
Save