Changeset 424

Show
Ignore:
Timestamp:
07/06/2005 04:36:46 PM (3 years ago)
Author:
jan
Message:

rename the function calls to mod_cml

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.3.x/src/mod_cml.c

    r421 r424  
    1919 
    2020/* init the plugin data */ 
    21 INIT_FUNC(mod_cache_init) { 
     21INIT_FUNC(mod_cml_init) { 
    2222        plugin_data *p; 
    2323         
     
    3030 
    3131/* detroy the plugin data */ 
    32 FREE_FUNC(mod_cache_free) { 
     32FREE_FUNC(mod_cml_free) { 
    3333        plugin_data *p = p_d; 
    3434         
     
    5858/* handle plugin config and check values */ 
    5959 
    60 SETDEFAULTS_FUNC(mod_cache_set_defaults) { 
     60SETDEFAULTS_FUNC(mod_cml_set_defaults) { 
    6161        plugin_data *p = p_d; 
    6262        size_t i = 0; 
     
    9191#define PATCH(x) \ 
    9292        p->conf.x = s->x; 
    93 static int mod_cache_patch_connection(server *srv, connection *con, plugin_data *p, const char *stage, size_t stage_len) { 
     93static int mod_cml_patch_connection(server *srv, connection *con, plugin_data *p, const char *stage, size_t stage_len) { 
    9494        size_t i, j; 
    9595         
     
    118118} 
    119119 
    120 static int mod_cache_setup_connection(server *srv, connection *con, plugin_data *p) { 
     120static int mod_cml_setup_connection(server *srv, connection *con, plugin_data *p) { 
    121121        plugin_config *s = p->config_storage[0]; 
    122122        UNUSED(srv); 
     
    253253 
    254254 
    255 URIHANDLER_FUNC(mod_cache_is_handled) { 
     255URIHANDLER_FUNC(mod_cml_is_handled) { 
    256256        int ct_len, s_len; 
    257257        buffer *b; 
     
    263263        if (fn->used == 0) return HANDLER_ERROR; 
    264264         
    265         mod_cache_setup_connection(srv, con, p); 
     265        mod_cml_setup_connection(srv, con, p); 
    266266        for (i = 0; i < srv->config_patches->used; i++) { 
    267267                buffer *patch = srv->config_patches->ptr[i]; 
    268268                 
    269                 mod_cache_patch_connection(srv, con, p, CONST_BUF_LEN(patch)); 
     269                mod_cml_patch_connection(srv, con, p, CONST_BUF_LEN(patch)); 
    270270        } 
    271271         
     
    314314} 
    315315 
    316 int mod_cache_plugin_init(plugin *p) { 
     316int mod_cml_plugin_init(plugin *p) { 
    317317        p->version     = LIGHTTPD_VERSION_ID; 
    318318        p->name        = buffer_init_string("cache"); 
    319319         
    320         p->init        = mod_cache_init; 
    321         p->cleanup     = mod_cache_free; 
    322         p->set_defaults  = mod_cache_set_defaults; 
    323          
    324         p->handle_subrequest_start = mod_cache_is_handled; 
     320        p->init        = mod_cml_init; 
     321        p->cleanup     = mod_cml_free; 
     322        p->set_defaults  = mod_cml_set_defaults; 
     323         
     324        p->handle_subrequest_start = mod_cml_is_handled; 
    325325         
    326326        p->data        = NULL;