Apache HTTPD
Public Attributes | List of all members
apr_mmap_t Struct Reference

#include <apr_mmap.h>

Public Attributes

apr_pool_tcntxt
 
void * mm
 
apr_size_t size
 
struct { 
 
   struct apr_mmap_t *volatile   next 
 
   struct apr_mmap_t *volatile   prev 
 
link 
 

Detailed Description

Remarks
As far as I can tell the only really sane way to store an MMAP is as a void * and a length. BeOS requires this area_id, but that's just a little something extra. I am exposing this type, because it doesn't make much sense to keep it private, and opening it up makes some stuff easier in Apache. The MMAP structure

Definition at line 62 of file apr_mmap.h.

Member Data Documentation

◆ cntxt

apr_pool_t* apr_mmap_t::cntxt

The pool the mmap structure was allocated out of.

Definition at line 64 of file apr_mmap.h.

◆ [struct]

struct { ... } apr_mmap_t::link

ring of apr_mmap_t's that reference the same mmap'ed region; acts in place of a reference count

◆ mm

void* apr_mmap_t::mm

The start of the memory mapped area

Definition at line 80 of file apr_mmap.h.

◆ next

struct apr_mmap_t* volatile apr_mmap_t::next

Definition at line 85 of file apr_mmap.h.

◆ prev

struct apr_mmap_t* volatile apr_mmap_t::prev

Definition at line 85 of file apr_mmap.h.

◆ size

apr_size_t apr_mmap_t::size

The amount of data in the mmap

Definition at line 82 of file apr_mmap.h.


The documentation for this struct was generated from the following file: