[svn:mod_parrot] r427 - mod_parrot/branches/hll-modules/src
[email protected] Thu, 18 Sep 2008 19:59:25 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Thu Sep 18 19:59:24 2008
New Revision: 427
Modified:
mod_parrot/branches/hll-modules/src/mod_parrot.c
Log:
remove unused macros
Modified: mod_parrot/branches/hll-modules/src/mod_parrot.c
==============================================================================
--- mod_parrot/branches/hll-modules/src/mod_parrot.c (original)
+++ mod_parrot/branches/hll-modules/src/mod_parrot.c Thu Sep 18 19:59:24 2008
@@ -38,21 +38,6 @@
#define MODPARROT_VERSION "0.4"
-#define DEFAULT_HANDLER "handler"
-#define SHOULD_HANDLE(x) (x->handler ? \
- (strncmp(x->handler, MODPARROT_MAGIC, strlen(MODPARROT_MAGIC)) ? 0 : 1) : 0)
-
-#define SET_HLL_HANDLER(x) \
- if (!dircfg->x) return DECLINED; \
- hll = NULL; \
- hll = dircfg->x->hll ? dircfg->x->hll : dircfg->hll; \
- if (!hll) { \
- if (!(hll = (get_request_hll(r, r->handler, r->content_type)))) { \
- hll = MODPARROT_DEFAULT_HLL; \
- } \
- } \
- hll_handler = dircfg->x ? dircfg->x->id : (char *)r->handler;
-
/* declare our module */
extern module AP_MODULE_DECLARE_DATA parrot_module;