util_nw.c revision 09a1167b8cb70e15be9f661f9e83ee33cfe062de
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
*
* 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_log.h"
#include "ap_mpm.h"
#include <netware.h>
void ap_down_server_cb(void *, void *);
void ap_dummy_cb(void *, void *);
void ap_cb_destroy(void *);
int nlmUnloadSignaled(int wait);
const request_rec *r,
const char * const *args,
const char * const *env,
{
}
int _NonAppCheckUnload(void)
{
return nlmUnloadSignaled(1);
}
// down server event callback
void ap_down_server_cb(void *, void *)
{
return;
}
// Required place holder event callback
void ap_dummy_cb(void *, void *)
{
return;
}
// destroy callback resources
void ap_cb_destroy(void *)
{
// cleanup down event notification
}
int _NonAppStart
(
void *NLMHandle,
void *errorScreen,
const char *cmdLine,
const char *loadDirPath,
void *NLMFileHandle,
int messageCount,
const char **messages
)
{
#pragma unused(loadDirPath)
#pragma unused(uninitializedDataLength)
#pragma unused(NLMFileHandle)
#pragma unused(readRoutineP)
#pragma unused(customDataOffset)
#pragma unused(customDataSize)
#pragma unused(messageCount)
// register for down server event
// clean-up
}