/[Apache-SVN]/httpd/flood/trunk/flood_subst_file.h
ViewVC logotype

Contents of /httpd/flood/trunk/flood_subst_file.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 696049 - (show annotations) (download)
Tue Sep 16 20:46:46 2008 UTC (15 years, 10 months ago) by jerenkrantz
File MIME type: text/plain
File size: 1397 byte(s)
* flood_subst_file.h
  (close_subst_file): Remove as this is no longer public.

1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17 #ifndef _SUBST_FILE_H
18 #define _SUBST_FILE_H 1
19
20 #define SUBST_FILE_MAX_URL_SIZE 8096
21 #define SUBST_FILE_ERROR_BUF 256
22 #define SUBST_FILE_ARR_MAX 10
23 struct subst_rec_t {
24 char* subst_var;
25 char* subst_file_name;
26 apr_file_t* subst_file;
27 int subst_mode;
28 apr_off_t fsize;
29 int valid;
30 };
31 typedef struct subst_rec_t subst_rec_t;
32
33 void subst_file_err(const char*, const char*, apr_status_t);
34 int subst_file_open(apr_file_t**, const char*, apr_off_t*, apr_pool_t*);
35 char* subst_file_entry_get(apr_file_t**, apr_off_t*, char*, int);
36 subst_rec_t* subst_file_get(const char*, subst_rec_t*);
37 #endif

Properties

Name Value
svn:eol-style native

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26