Data Structures | Defines | Typedefs | Enumerations | Functions

remap.h File Reference

A brief file description. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _tsremap_api_info
struct  _tm_remap_request_info

Defines

#define tsapi
#define TSREMAP_VMAJOR   3
#define TSREMAP_VMINOR   0
#define TSREMAP_VERSION   ((TSREMAP_VMAJOR << 16)|TSREMAP_VMINOR)

Typedefs

typedef struct _tsremap_api_info TSRemapInterface
typedef struct
_tm_remap_request_info 
TSRemapRequestInfo

Enumerations

enum  TSRemapStatus {
  TSREMAP_NO_REMAP = 0, TSREMAP_DID_REMAP = 1, TSREMAP_NO_REMAP_STOP = 2, TSREMAP_DID_REMAP_STOP = 3,
  TSREMAP_ERROR = -1
}

Functions

tsapi TSReturnCode TSRemapInit (TSRemapInterface *api_info, char *errbuf, int errbuf_size)
tsapi TSRemapStatus TSRemapDoRemap (void *ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
tsapi void TSRemapDone (void)
tsapi TSReturnCode TSRemapNewInstance (int argc, char *argv[], void **ih, char *errbuf, int errbuf_size)
tsapi void TSRemapDeleteInstance (void *)
tsapi void TSRemapOSResponse (void *ih, TSHttpTxn rh, int os_response_type)

Detailed Description

A brief file description.

License

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

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.

Definition in file remap.h.


Define Documentation

#define tsapi

Definition at line 28 of file remap.h.

#define TSREMAP_VERSION   ((TSREMAP_VMAJOR << 16)|TSREMAP_VMINOR)

Definition at line 38 of file remap.h.

#define TSREMAP_VMAJOR   3

Definition at line 36 of file remap.h.

#define TSREMAP_VMINOR   0

Definition at line 37 of file remap.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
TSREMAP_NO_REMAP 
TSREMAP_DID_REMAP 
TSREMAP_NO_REMAP_STOP 
TSREMAP_DID_REMAP_STOP 
TSREMAP_ERROR 

Definition at line 69 of file remap.h.


Function Documentation

tsapi void TSRemapDeleteInstance ( void *   ) 
tsapi void TSRemapDone ( void   ) 
tsapi TSRemapStatus TSRemapDoRemap ( void *  ih,
TSHttpTxn  rh,
TSRemapRequestInfo rri 
)
tsapi TSReturnCode TSRemapInit ( TSRemapInterface api_info,
char *  errbuf,
int  errbuf_size 
)
tsapi TSReturnCode TSRemapNewInstance ( int  argc,
char *  argv[],
void **  ih,
char *  errbuf,
int  errbuf_size 
)
tsapi void TSRemapOSResponse ( void *  ih,
TSHttpTxn  rh,
int  os_response_type 
)