1 /**
2  * Copyright 2010 Christian Liesch
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /**
18  * @file
19  *
20  * @Author christian liesch <liesch@gmx.ch>
21  *
22  * Implementation of the HTTP Test Tool skeleton module
23  */
24 
25 /************************************************************************
26  * Includes
27  ***********************************************************************/
28 #include "module.h"
29 
30 /************************************************************************
31  * Definitions
32  ***********************************************************************/
33 
34 /************************************************************************
35  * Globals
36  ***********************************************************************/
37 
38 /************************************************************************
39  * Local
40  ***********************************************************************/
41 
42 /************************************************************************
43  * Commands
44  ***********************************************************************/
block_SKELETON_DUMMY(worker_t * worker,worker_t * parent,apr_pool_t * ptmp)45 static apr_status_t block_SKELETON_DUMMY(worker_t *worker, worker_t *parent, apr_pool_t *ptmp) {
46   return APR_SUCCESS;
47 }
48 
49 /************************************************************************
50  * Module
51  ***********************************************************************/
skeleton_module_init(global_t * global)52 apr_status_t skeleton_module_init(global_t *global) {
53   apr_status_t status;
54   if ((status = module_command_new(global, "SKELETON", "_DUMMY",
55 	                           "<foo>",
56 	                           "Bla bla bla.",
57 	                           block_SKELETON_DUMMY)) != APR_SUCCESS) {
58     return status;
59   }
60   return APR_SUCCESS;
61 }
62 
63