Apache HTTPD
apr_shm.h
Go to the documentation of this file.
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 APR_SHM_H
18#define APR_SHM_H
19
25#include "apr.h"
26#include "apr_pools.h"
27#include "apr_errno.h"
28#include "apr_perms_set.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif /* __cplusplus */
33
44typedef struct apr_shm_t apr_shm_t;
45
72 const char *filename,
74
78#define APR_SHM_NS_LOCAL 1 /* Create or attach to named shared memory
79 * segment in the "Local" namespace on
80 * Windows. (Ignored on other platforms.)
81 * By default, the "Global" namespace is
82 * used for privileged processes and the
83 * "Local" namespace is used otherwise.
84 */
85#define APR_SHM_NS_GLOBAL 2 /* Create or attach to named shared memory
86 * segment in the "Global" namespace on
87 * Windows. (Ignored on other platforms.)
88 */
89
117 const char *filename,
120
138
153
159
170 const char *filename,
172
184 const char *filename,
187
194
205
217
222
225#ifdef __cplusplus
226}
227#endif
228
229#endif /* APR_SHM_T */
APR Error Codes.
APR Process Locking Routines.
APR memory allocation.
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
Definition apr_pools.h:646
apr_size_t size
int apr_status_t
Definition apr_errno.h:44
#define APR_PERMS_SET_IMPLEMENT(type)
#define APR_POOL_DECLARE_ACCESSOR(type)
Definition apr_pools.h:81
apr_shm_t * shm
apr_size_t const char * filename
Definition apr_shm.h:72
apr_size_t const char apr_pool_t * pool
Definition apr_shm.h:73
apr_size_t const char apr_pool_t apr_int32_t flags
Definition apr_shm.h:110
apr_size_t reqsize
Definition apr_shm.h:71
const void * m