mod_http3/include/mod_http3.h
Functions
Defines
Functions Documentation
function AP_MAYBE_UNUSED
AP_MAYBE_UNUSED(
static int *const aplog_module_index
)
Macros Documentation
define HTTP3_PUBLIC
#define HTTP3_PUBLIC AP_MODULE_DECLARE_DATA
Source code
/*
* Copyright (c) 2026 The mod_http3 Project Authors. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*/
#ifndef MOD_HTTP3_H
#define MOD_HTTP3_H
#include <httpd.h>
#include <http_config.h>
#include <http_log.h>
#if defined(_WIN32)
#define HTTP3_PUBLIC __declspec(dllexport)
#elif defined(__GNUC__) || defined(__clang__)
#define HTTP3_PUBLIC __attribute__((visibility("default")))
#else
#define HTTP3_PUBLIC AP_MODULE_DECLARE_DATA
#endif
HTTP3_PUBLIC extern module http3_module;
AP_MAYBE_UNUSED(static int* const aplog_module_index) = &(http3_module.module_index);
#endif /* MOD_HTTP3_H */