Question about Apache Modules

This is a discussion on Question about Apache Modules within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi ! I have a question about Apache Modules. Apache module functions are "static" function. Why? If you will ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2007
jaynblue@gmail.com
 
Posts: n/a
Default Question about Apache Modules

Hi !

I have a question about Apache Modules.

Apache module functions are "static" function. Why?

If you will help, I thank you in advance!


/* Example of a handler */
static int ex_auth_checker(request_rec *r) {
....
return OK;
} /* Registration of handlers */
static void example_register_hooks(apr_pool_t *p) {
ap_hook_auth_checker(ex_auth_checker, NULL, NULL, APR_MIDDLE);
....
}
/* command table */
static const command_rec example_cmds[ ] = {
AP_INIT_NO_ARGS("Example", cmd_example, NULL, OR_OPTIONS, "Example
directive - no arguments"), {NULL}
);

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0