[svn:mod_parrot] r412 - in mod_parrot/trunk: include src
[email protected] Sat, 30 Aug 2008 08:13:46 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Sat Aug 30 08:13:43 2008
New Revision: 412
Modified:
mod_parrot/trunk/include/mod_parrot.h
mod_parrot/trunk/src/mod_parrot.c
Log:
change functions to reflect proper "meta handler" naming convention
Modified: mod_parrot/trunk/include/mod_parrot.h
==============================================================================
--- mod_parrot/trunk/include/mod_parrot.h (original)
+++ mod_parrot/trunk/include/mod_parrot.h Sat Aug 30 08:13:43 2008
@@ -71,7 +71,7 @@
int modparrot_call_sub_IPS(Parrot_Interp, char *, char *, int *, Parrot_PMC,
char *);
char *modparrot_backtrace(Parrot_Interp);
-int modparrot_hll_handler(Parrot_Interp, char *, char *, char *, int *);
+int modparrot_meta_handler(Parrot_Interp, char *, char *, char *, int *);
Parrot_PMC get_sub_pmc(Parrot_Interp , char *, char *);
apr_array_header_t *mp_ctx_pool_init(apr_pool_t *, Parrot_Interp, int);
void mp_ctx_pool_destroy(apr_array_header_t *);
Modified: mod_parrot/trunk/src/mod_parrot.c
==============================================================================
--- mod_parrot/trunk/src/mod_parrot.c (original)
+++ mod_parrot/trunk/src/mod_parrot.c Sat Aug 30 08:13:43 2008
@@ -70,7 +70,7 @@
}
else {
/* call the HLL load handler to handle the loading */
- if (!modparrot_hll_handler(interp, hll, "load", file,
+ if (!modparrot_meta_handler(interp, hll, "load", file,
&ret)) {
MPLOG_ERRORF(s, "no HLL load handler for '%s'", hll);
}
@@ -189,7 +189,7 @@
return(ctxp);
}
-int modparrot_hll_handler(Parrot_Interp interp, char *hll, char *hll_handler,
+int modparrot_meta_handler(Parrot_Interp interp, char *hll, char *hll_handler,
char *handler, int *ret)
{
Parrot_PMC ctx_class;
@@ -311,7 +311,7 @@
/* call HLL handler */
sub = "handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server,
"no subroutine found for handler '%s'", hll_handler);
@@ -357,7 +357,7 @@
hll = cfg->pre_connection_handler->hll ?
cfg->pre_connection_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->pre_connection_handler->id, &handler_status)) {
MPLOG_ERRORF(c->base_server, "no subroutine found for handler '%s'",
cfg->pre_connection_handler->id);
@@ -402,7 +402,7 @@
hll = cfg->map_to_storage_handler->hll ?
cfg->map_to_storage_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->map_to_storage_handler->id, &handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
cfg->map_to_storage_handler->id);
@@ -443,7 +443,7 @@
/* call HLL handler */
sub = "header_parser_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -489,7 +489,7 @@
hll = cfg->post_read_request_handler->hll ?
cfg->post_read_request_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->post_read_request_handler->id, &handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
cfg->post_read_request_handler->id);
@@ -530,7 +530,7 @@
hll = cfg->process_connection_handler->hll ?
cfg->process_connection_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->process_connection_handler->id, &handler_status)) {
MPLOG_ERRORF(c->base_server, "no subroutine found for handler '%s'",
cfg->process_connection_handler->id);
@@ -575,7 +575,7 @@
hll = cfg->child_init_handler->hll ?
cfg->child_init_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->child_init_handler->id, &handler_status)) {
MPLOG_ERRORF(s, "no subroutine found for handler '%s'",
cfg->child_init_handler->id);
@@ -617,7 +617,7 @@
hll = cfg->trans_handler->hll ?
cfg->trans_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->trans_handler->id, &handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
cfg->trans_handler->id);
@@ -658,7 +658,7 @@
/* call HLL handler */
sub = "fixup_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -699,7 +699,7 @@
/* call HLL handler */
sub = "type_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -745,7 +745,7 @@
/* call HLL handler */
sub = "log_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -787,7 +787,7 @@
/* call HLL handler */
sub = "access_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -829,7 +829,7 @@
/* call HLL handler */
sub = "authen_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -871,7 +871,7 @@
/* call HLL handler */
sub = "authz_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);
@@ -921,7 +921,7 @@
hll = cfg->post_config_handler->hll ?
cfg->post_config_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->post_config_handler->id, &handler_status)) {
MPLOG_ERRORF(s, "no subroutine found for handler '%s'",
cfg->post_config_handler->id);
@@ -1012,7 +1012,7 @@
hll = cfg->open_logs_handler->hll ?
cfg->open_logs_handler->hll : MODPARROT_DEFAULT_HLL;
- if (!modparrot_hll_handler(ctxp->interp, hll, sub,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub,
cfg->open_logs_handler->id, &handler_status)) {
MPLOG_ERRORF(s, "no subroutine found for handler '%s'",
cfg->open_logs_handler->id);
@@ -1052,7 +1052,7 @@
/* call HLL handler */
sub = "cleanup_handler";
- if (!modparrot_hll_handler(ctxp->interp, hll, sub, hll_handler,
+ if (!modparrot_meta_handler(ctxp->interp, hll, sub, hll_handler,
&handler_status)) {
MPLOG_ERRORF(r->server, "no subroutine found for handler '%s'",
hll_handler);