Data Structures | Defines | Functions

CachePages.cc File Reference

A brief file description. More...

#include "P_Cache.h"
#include "api/ts/ts.h"
#include "Show.h"
#include "I_Tasks.h"
#include "CacheControl.h"
Include dependency graph for CachePages.cc:

Go to the source code of this file.

Data Structures

struct  ShowCache

Defines

#define STREQ_PREFIX(_x, _s)   (!strncasecmp(_x,_s,sizeof(_s)-1))
#define STREQ_LEN_PREFIX(_x, _l, _s)   (path_len < sizeof(_s) && !strncasecmp(_x,_s,sizeof(_s)-1))

Functions

Actionregister_ShowCache (Continuation *c, HTTPHdr *h)

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 CachePages.cc.


Define Documentation

#define STREQ_LEN_PREFIX (   _x,
  _l,
  _s 
)    (path_len < sizeof(_s) && !strncasecmp(_x,_s,sizeof(_s)-1))

Definition at line 159 of file CachePages.cc.

#define STREQ_PREFIX (   _x,
  _s 
)    (!strncasecmp(_x,_s,sizeof(_s)-1))

Definition at line 158 of file CachePages.cc.

Referenced by register_ShowCache().


Function Documentation

Action* register_ShowCache ( Continuation c,
HTTPHdr h 
)