mod_syslog.c revision ac7ac5b79da100d59b176914c0d9448fadc03568
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin/* Licensed to the Apache Software Foundation (ASF) under one or more
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * contributor license agreements. See the NOTICE file distributed with
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * this work for additional information regarding copyright ownership.
d3e250aab242db84d14060985b5db675a731d548nd * The ASF licenses this file to You under the Apache License, Version 2.0
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * (the "License"); you may not use this file except in compliance with
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * the License. You may obtain a copy of the License at
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * Unless required by applicable law or agreed to in writing, software
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * distributed under the License is distributed on an "AS IS" BASIS,
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#include <stdint.h>
#include <ap_config.h>
#include "ap_mpm.h"
#include "ap_provider.h"
#include <http_core.h>
#include <httpd.h>
#include <http_log.h>
#include <http_main.h>
#include <apr_version.h>
#include <apr_pools.h>
#include <apr_strings.h>
#include "unixd.h"
#include "scoreboard.h"
#include "mpm_common.h"
#include "syslog.h"
#include <unistd.h>
const char *t_name;
int t_val;
} TRANS;
#ifdef LOG_AUTHPRIV
#ifdef LOG_CRON
#ifdef LOG_DAEMON
#ifdef LOG_FTP
#ifdef LOG_KERN
#ifdef LOG_LPR
#ifdef LOG_MAIL
#ifdef LOG_NEWS
#ifdef LOG_SYSLOG
#ifdef LOG_USER
#ifdef LOG_UUCP
#ifdef LOG_LOCAL0
#ifdef LOG_LOCAL1
#ifdef LOG_LOCAL2
#ifdef LOG_LOCAL3
#ifdef LOG_LOCAL4
#ifdef LOG_LOCAL5
#ifdef LOG_LOCAL6
#ifdef LOG_LOCAL7
return NULL;
return NULL;
return APR_SUCCESS;
NULL,
NULL,
NULL,
NULL,
NULL,