Apache Portable Runtime
Defines | Typedefs | Enumerations | Functions
apr_general.h File Reference

APR Miscellaneous library routines. More...

#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
#include <signal.h>

Go to the source code of this file.

Defines

#define FALSE   0
#define TRUE   (!FALSE)
#define APR_ASCII_BLANK   '\040'
#define APR_ASCII_CR   '\015'
#define APR_ASCII_LF   '\012'
#define APR_ASCII_TAB   '\011'
#define APR_OFFSET(p_type, field)   ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
#define APR_OFFSETOF(s_type, field)   APR_OFFSET(s_type*,field)
#define APR_ALIGN(size, boundary)   (((size) + ((boundary) - 1)) & ~((boundary) - 1))
#define APR_ALIGN_DEFAULT(size)   APR_ALIGN(size, 8)
#define APR_STRINGIFY(n)   APR_STRINGIFY_HELPER(n)
#define APR_STRINGIFY_HELPER(n)   #n
#define APR_TYPEDEF_STRUCT(type, incompletion)

Typedefs

typedef int apr_signum_t

Enumerations

enum  apr_wait_type_t { APR_WAIT_READ, APR_WAIT_WRITE }

Functions

apr_status_t apr_initialize (void)
apr_status_t apr_app_initialize (int *argc, char const *const **argv, char const *const **env)
void apr_terminate (void)
void apr_terminate2 (void)
apr_status_t apr_generate_random_bytes (unsigned char *buf, apr_size_t length)

Detailed Description

APR Miscellaneous library routines.

This is collection of oddballs that didn't fit anywhere else, and might move to more appropriate headers with the release of APR 1.0.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines