summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-20 16:29:17 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-20 16:29:17 +0000
commit5a477a0753d219ed6eee4da22e0a15da83cb29ac (patch)
treeba2925039d4ae127205219dcac2cd7c846946321
parentfb2c08c1e745041c3d7193f85f3bf32a46cc6952 (diff)
add new skeleton
git-svn-id: file:///home/lennart/svn/public/mod_dnssd/trunk@6 634eccf8-0006-0410-930e-e16565b0b7de
-rw-r--r--mod_dnssd.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/mod_dnssd.c b/mod_dnssd.c
new file mode 100644
index 0000000..0703484
--- /dev/null
+++ b/mod_dnssd.c
@@ -0,0 +1,36 @@
+/* $Id$ */
+
+/***
+ Copyright 2005 Lennart Poettering
+
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You
+ may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied. See the License for the specific language governing
+ permissions and limitations under the License.
+***/
+
+#include <httpd.h>
+#include <http_config.h>
+#include <http_protocol.h>
+#include <ap_config.h>
+
+static void dnssd_register_hooks(apr_pool_t *p){
+}
+
+module AP_MODULE_DECLARE_DATA dnssd_module = {
+ STANDARD20_MODULE_STUFF,
+ NULL, /* create per-dir config structures */
+ NULL, /* merge per-dir config structures */
+ NULL, /* create per-server config structures */
+ NULL, /* merge per-server config structures */
+ NULL, /* table of config file commands */
+ dnssd_register_hooks /* register hooks */
+};
+