22#include "apr_arch_file_io.h"
75#ifdef SE_CREATE_GLOBAL_NAME
95 privs.PrivilegeCount = 1;
138 memblock =
si.dwAllocationGranularity;
190#if APR_HAS_UNICODE_FS
234 (*m)->memblk->length = (*m)->length;
235 (*m)->memblk->size = (*m)->size;
289#if APR_HAS_UNICODE_FS
324 (*m)->size = (*m)->memblk->size;
342 (*m)->length = (*m)->memblk->length;
344 (*m)->filename =
NULL;
444 (*m)->size = (*m)->memblk->size;
445 (*m)->length = (*m)->memblk->length;
446 (*m)->filename =
NULL;
#define CreateFileMappingW(fh, sd, d1, d2, d3, nm)
#define OpenFileMappingW(d, b, nm)
#define OpenFileMappingA(d, b, nm)
#define GetCurrentProcess()
#define CreateFileMappingA(fh, sd, d1, d2, d3, nm)
#define GetCurrentThread()
APR Miscellaneous library routines.
APR Shared Memory Routines.
#define APR_STATUS_IS_EEXIST(s)
#define APR_STATUS_IS_ENOENT(s)
const char apr_ssize_t int flags
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
const char int apr_pool_t * pool
#define apr_get_os_error()
const char apr_file_t * file
#define APR_PERMS_SET_ENOTIMPL(type)
#define APR_POOL_IMPLEMENT_ACCESSOR(type)
#define APR_SHM_NS_GLOBAL
apr_size_t const char * filename
apr_int32_t apr_int32_t apr_int32_t err
apr_status_t apr_file_trunc(apr_file_t *fp, apr_off_t offset)
#define ELSE_WIN_OS_IS_ANSI
typedef HANDLE(WINAPI *apr_winapi_fpt_CreateToolhelp32Snapshot)(DWORD dwFlags
#define IF_WIN_OS_IS_UNICODE
typedef DWORD(WINAPI *apr_winapi_fpt_GetCompressedFileSizeA)(IN LPCSTR lpFileName
void * res_name_from_filename(const char *file, int global, apr_pool_t *pool)
static apr_status_t shm_cleanup(void *shm)
static apr_status_t shm_attach_internal(apr_shm_t **m, const char *file, apr_pool_t *pool, int global)
static int can_create_global_maps(void)