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_XtOffset   APR_OFFSET
#define APR_XtOffsetOf   APR_OFFSETOF
#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

Typedefs

typedef int apr_signum_t

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, int 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.


Generated on Mon Nov 26 11:47:26 2007 for Apache Portable Runtime by  doxygen 1.5.2