mod_proxy.h revision dd30db1d9a88526ceda100b61aad90168a2cb98c
c79e39ad568d9af854765f64049534044ef6c034nd/* ====================================================================
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi * The Apache Software License, Version 1.1
d3e250aab242db84d14060985b5db675a731d548nd * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
c79e39ad568d9af854765f64049534044ef6c034nd * reserved.
c79e39ad568d9af854765f64049534044ef6c034nd * Redistribution and use in source and binary forms, with or without
c79e39ad568d9af854765f64049534044ef6c034nd * modification, are permitted provided that the following conditions
c79e39ad568d9af854765f64049534044ef6c034nd * are met:
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem * 1. Redistributions of source code must retain the above copyright
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem * notice, this list of conditions and the following disclaimer.
c79e39ad568d9af854765f64049534044ef6c034nd * 2. Redistributions in binary form must reproduce the above copyright
c79e39ad568d9af854765f64049534044ef6c034nd * notice, this list of conditions and the following disclaimer in
* Apache Software Foundation (http://www.apache.org/)."
#ifndef MOD_PROXY_H
#define MOD_PROXY_H
#define TESTING 0
#include "apr_compat.h"
#include "apr_lib.h"
#include "apr_strings.h"
#if APR_HAVE_NETDB_H
#include <netdb.h>
#include "httpd.h"
#include "http_config.h"
#include "http_protocol.h"
enum enctype {
struct proxy_services {
const char *scheme;
int port;
struct proxy_remote {
struct proxy_alias {
const char *real;
const char *fake;
struct dirconn_entry {
char *name;
struct noproxy_entry {
const char *name;
struct origin_entry {
char req_set;
char viaopt_set;
char recv_buffer_size_set;
struct per_thread_data {
/* proxy_connect.c */
/* proxy_ftp.c */
#if FTP
/* proxy_http.c */
int def_port);
/* proxy_util.c */
int ap_proxy_hex2c(const char *x);
int isenc);
apr_table_t *ap_proxy_read_headers(request_rec *r, request_rec *rp, char *buffer, int size, conn_rec *c);
int ap_proxy_hex2sec(const char *x);
void ap_proxy_sec2hex(int t, char *y);