A brief file description. More...
#include "P_Cache.h"
#include "Show.h"
#include "I_Tasks.h"
Go to the source code of this file.
Data Structures | |
struct | ShowCacheInternal |
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 | |
Action * | register_ShowCacheInternal (Continuation *c, HTTPHdr *h) |
Variables | |
ShowCacheInternal * | theshowcacheInternal = NULL |
Vol ** | gvol |
volatile int | gnvol |
A brief file description.
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 CachePagesInternal.cc.
#define STREQ_LEN_PREFIX | ( | _x, | ||
_l, | ||||
_s | ||||
) | (path_len < sizeof(_s) && !strncasecmp(_x,_s,sizeof(_s)-1)) |
Definition at line 74 of file CachePagesInternal.cc.
Referenced by register_ShowCacheInternal().
#define STREQ_PREFIX | ( | _x, | ||
_s | ||||
) | (!strncasecmp(_x,_s,sizeof(_s)-1)) |
Definition at line 73 of file CachePagesInternal.cc.
Referenced by register_ShowCacheInternal().
Action * register_ShowCacheInternal | ( | Continuation * | c, | |
HTTPHdr * | h | |||
) |
Definition at line 78 of file CachePagesInternal.cc.
References ShowCont::action, CONT_SCHED_LOCK_RETRY, ET_TASK, eventProcessor, Continuation::mutex, URL::path_get(), EventProcessor::schedule_imm(), SET_CONTINUATION_HANDLER, ShowCacheInternal::showEvacuations(), ShowCacheInternal::showVolumes(), STREQ_LEN_PREFIX, STREQ_PREFIX, and HTTPHdr::url_get().
Referenced by Cache::open_done().
ShowCacheInternal * theshowcacheInternal = NULL |
Definition at line 70 of file CachePagesInternal.cc.