Apache HTTPD
Classes | Macros | Typedefs | Functions
apr_buckets_alloc.c File Reference
#include <stdlib.h>
#include "apr_buckets.h"
#include "apr_allocator.h"
#include "apr_version.h"

Go to the source code of this file.

Classes

struct  node_header_t
 
struct  apr_bucket_alloc_t
 

Macros

#define ALLOC_AMT   (8192 - APR_MEMNODE_T_SIZE)
 
#define SIZEOF_NODE_HEADER_T   APR_ALIGN_DEFAULT(sizeof(node_header_t))
 
#define SMALL_NODE_SIZE   (APR_BUCKET_ALLOC_SIZE + SIZEOF_NODE_HEADER_T)
 
#define check_not_already_free(node)
 

Typedefs

typedef struct node_header_t node_header_t
 

Functions

static apr_status_t alloc_cleanup (void *data)
 
 APU_DECLARE_NONSTD (apr_bucket_alloc_t *)
 
 APU_DECLARE_NONSTD (void)
 
 APU_DECLARE_NONSTD (apr_size_t)
 
 APU_DECLARE_NONSTD (void *)
 

Macro Definition Documentation

◆ ALLOC_AMT

#define ALLOC_AMT   (8192 - APR_MEMNODE_T_SIZE)

Definition at line 23 of file apr_buckets_alloc.c.

◆ check_not_already_free

#define check_not_already_free (   node)

Definition at line 227 of file apr_buckets_alloc.c.

◆ SIZEOF_NODE_HEADER_T

#define SIZEOF_NODE_HEADER_T   APR_ALIGN_DEFAULT(sizeof(node_header_t))

Definition at line 32 of file apr_buckets_alloc.c.

◆ SMALL_NODE_SIZE

Definition at line 33 of file apr_buckets_alloc.c.

Typedef Documentation

◆ node_header_t

Function Documentation

◆ alloc_cleanup()

static apr_status_t alloc_cleanup ( void *  data)
static

Definition at line 45 of file apr_buckets_alloc.c.

◆ APU_DECLARE_NONSTD() [1/2]

APU_DECLARE_NONSTD ( apr_size_t  )

Definition at line 134 of file apr_buckets_alloc.c.

◆ APU_DECLARE_NONSTD() [2/2]

APU_DECLARE_NONSTD ( void *  )

Definition at line 165 of file apr_buckets_alloc.c.