Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__file__seek__flags.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__file__seek__flags.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__file__seek__flags.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__file__seek__flags.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: File Seek Flags - +
+ +

File Seek Flags
[File I/O Handling Functions] @@ -73,8 +74,8 @@ Set the file position

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__file__stat.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__file__stat.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__file__stat.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__file__stat.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Stat Functions - +
+ +

Stat Functions
[File Information] @@ -489,8 +490,8 @@

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__file__writev.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__file__writev.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__file__writev.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__file__writev.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: {_full} max iovec size - +
+ +

{_full} max iovec size
[File I/O Handling Functions] @@ -39,8 +40,8 @@ System dependent maximum size of an iovec array

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__filepath.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__filepath.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__filepath.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__filepath.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Filepath Manipulation Functions - +
+ +

Filepath Manipulation Functions
[File Information] @@ -520,8 +521,8 @@

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__fnmatch.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__fnmatch.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__fnmatch.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__fnmatch.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Filename Matching Functions - +
+ +

Filename Matching Functions
[Apache Portability Runtime library] @@ -245,8 +246,8 @@

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__general.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__general.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__general.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__general.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Miscellaneous library routines - +
+ +

Miscellaneous library routines
[Apache Portability Runtime library] @@ -299,8 +300,8 @@ signal numbers typedef

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__getopt.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__getopt.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__getopt.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__getopt.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Command Argument Parsing - +
+ +

Command Argument Parsing
[Apache Portability Runtime library] @@ -249,8 +250,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__hash.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__hash.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__hash.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__hash.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Hash Tables - +
+ +

Hash Tables
[Apache Portability Runtime library] @@ -599,8 +600,8 @@ The default hash function.

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__lib.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__lib.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__lib.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__lib.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: General Purpose Library Routines - +
+ +

General Purpose Library Routines
[Apache Portability Runtime library] @@ -220,9 +221,9 @@
Remarks:
  The extensions are:
-%pA takes a struct in_addr *, and prints it as a.b.c.d %pI takes an apr_sockaddr_t * and prints it as a.b.c.d:port or [ipv6-address]:port %pT takes an apr_os_thread_t * and prints it in decimal ('0' is printed if !APR_HAS_THREADS) %pt takes an apr_os_thread_t * and prints it in hexadecimal ('0' is printed if !APR_HAS_THREADS) %pm takes an apr_status_t * and prints the appropriate error string (from apr_strerror) corresponding to that error code. %pp takes a void * and outputs it in hex

+%pA takes a struct in_addr *, and prints it as a.b.c.d %pI takes an apr_sockaddr_t * and prints it as a.b.c.d:port or [ipv6-address]:port %pT takes an apr_os_thread_t * and prints it in decimal ('0' is printed if !APR_HAS_THREADS) %pt takes an apr_os_thread_t * and prints it in hexadecimal ('0' is printed if !APR_HAS_THREADS) %pm takes an apr_status_t * and prints the appropriate error string (from apr_strerror) corresponding to that error code. %pp takes a void * and outputs it in hex %pB takes a apr_uint32_t * as bytes and outputs it's apr_strfsize %pF same as above, but takes a apr_off_t * %pS same as above, but takes a apr_size_t *

 %pt is only available from APR 1.2.0 onwards.
- %pm is only available from APR 1.3.0 onwards.

+ %pm, %pB, %pF and %pS are only available from APR 1.3.0 onwards.

 The %p hacks are to force gcc's printf warning code to skip
  over a pointer argument without complaining.  This does
  mean that the ANSI-style %p (output a void * in hex format) won't
@@ -260,8 +261,8 @@
  

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__library.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__library.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__library.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__library.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Library initialization and termination - +
+ +

Library initialization and termination

@@ -133,8 +134,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__mcast.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__mcast.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__mcast.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__mcast.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - +Apache Portable Runtime: IP Multicast - +
+ +

IP Multicast
[Network Routines] @@ -236,8 +237,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__mmap.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__mmap.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__mmap.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__mmap.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: MMAP (Memory Map) Routines - +
+ +

MMAP (Memory Map) Routines
[Apache Portability Runtime library] @@ -320,8 +321,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__network__io.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__network__io.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__network__io.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__network__io.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Network Routines - +
+ +

Network Routines
[Apache Portability Runtime library] @@ -2045,8 +2046,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__os__dso.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__os__dso.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__os__dso.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__os__dso.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: DSO (Dynamic Loading) Portabiliity Routines - +
+ +

DSO (Dynamic Loading) Portabiliity Routines
[Portability Routines] @@ -125,8 +126,8 @@ Private: apr-util's apr_uuid module when supported by the platform

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__os__thread.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__os__thread.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__os__thread.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__os__thread.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Thread portability Routines - +
+ +

Thread portability Routines
[Portability Routines] @@ -243,8 +244,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__platform.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__platform.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__platform.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__platform.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Platform Definitions - +
+ +

Platform Definitions
[Apache Portability Runtime library] @@ -362,6 +363,38 @@

+ + + + + + + + + + + + + + + + + + + + + + @@ -374,7 +407,7 @@ #define  +#define  @@ -441,7 +474,25 @@ typedef socklen_t 

Functions

#define APR_UINT64_C(val)   UINT64_C(val)
+#define APR_INT16_MIN   (-0x7fff - 1)
+#define APR_INT16_MAX   (0x7fff)
+#define APR_UINT16_MAX   (0xffff)
+#define APR_INT32_MIN   (-0x7fffffff - 1)
+#define APR_INT32_MAX   0x7fffffff
+#define APR_UINT32_MAX   (0xffffffffU)
+#define APR_INT64_MIN   (APR_INT64_C(-0x7fffffffffffffff) - 1)
+#define APR_INT64_MAX   APR_INT64_C(0x7fffffffffffffff)
+#define APR_UINT64_MAX   APR_UINT64_C(0xffffffffffffffff)
#define APR_BEGIN_DECLS
+#define APR_END_DECLS
#define APR_THREAD_FUNC
#define APR_DECLARE(type)   type
APR_SSIZE_T_FMT   "d"
-#define APR_SIZE_T_FMT   "d"
APR_SIZE_T_FMT   "u"
#define APR_OFF_T_FMT   APR_INT64_T_FMT
apr_socklen_t
+

Detailed Description

+
Warning:
The actual values of macros and typedefs on this page
+ are platform specific and should NOT be relied upon!

Define Documentation

+ +
+
+ + + + +
#define APR_BEGIN_DECLS
+
+
+ +

+APR public API wrap for C++ compilers. +

+

@@ -534,8 +585,8 @@
 

-


Generated on Mon Apr 2 15:33:56 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__poll.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__poll.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__poll.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__poll.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Poll Routines - +
+ +

Poll Routines
[Apache Portability Runtime library] @@ -290,7 +291,8 @@ APR_POLL_FILE  descriptor refers to a file APR_POLL_LASTDESC  -descriptor is the last one in the list +
Deprecated:
descriptor is the last one in the list
+ @@ -716,8 +718,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__pools.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__pools.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__pools.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__pools.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Memory Pool Functions - +
+ +

Memory Pool Functions
[Apache Portability Runtime library] @@ -1036,8 +1037,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__portabile.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__portabile.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__portabile.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__portabile.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Portability Routines - +
+ +

Portability Routines
[Apache Portability Runtime library] @@ -1037,8 +1038,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__proc__mutex.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__proc__mutex.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__proc__mutex.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__proc__mutex.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Process Locking Routines - +
+ +

Process Locking Routines
[Apache Portability Runtime library] @@ -421,8 +422,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__random.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__random.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__random.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__random.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Random Functions - +
-

Random Functions

+ + +

Random Functions
+ +[Apache Portability Runtime library] +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  apr_crypto_hash_t

Typedefs

+typedef apr_crypto_hash_t apr_crypto_hash_t
+typedef void apr_crypto_hash_init_t (apr_crypto_hash_t *hash)
+typedef void apr_crypto_hash_add_t (apr_crypto_hash_t *hash, const void *data, apr_size_t bytes)
+typedef void apr_crypto_hash_finish_t (apr_crypto_hash_t *hash, unsigned char *result)
typedef apr_random_t apr_random_t

Functions

apr_status_t apr_generate_random_bytes (unsigned char *buf, apr_size_t length)
apr_crypto_hash_t * apr_crypto_sha256_new (apr_pool_t *p)
void apr_random_init (apr_random_t *g, apr_pool_t *p, apr_crypto_hash_t *pool_hash, apr_crypto_hash_t *key_hash, apr_crypto_hash_t *prng_hash)
apr_random_tapr_random_standard_new (apr_pool_t *p)
void apr_random_add_entropy (apr_random_t *g, const void *entropy_, apr_size_t bytes)
apr_status_t apr_random_insecure_bytes (apr_random_t *g, void *random, apr_size_t bytes)
apr_status_t apr_random_secure_bytes (apr_random_t *g, void *random, apr_size_t bytes)
void apr_random_barrier (apr_random_t *g)
apr_status_t apr_random_secure_ready (apr_random_t *r)
apr_status_t apr_random_insecure_ready (apr_random_t *r)
void apr_random_after_fork (apr_proc_t *proc)
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct apr_random_t apr_random_t
+
+
+ +

+Opaque PRNG structure. +

+


Function Documentation

+ +
+
+ + + + + + + + + +
apr_crypto_hash_t* apr_crypto_sha256_new (apr_pool_t p  ) 
+
+
+ +

+Allocate and initialize the SHA-256 context

Parameters:
+ + +
p The pool to allocate from
+
+ +
+

@@ -56,8 +139,317 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void apr_random_add_entropy (apr_random_t g,
const void *  entropy_,
apr_size_t  bytes 
)
+
+
+ +

+Mix the randomness pools.

Parameters:
+ + + + +
g The PRNG state
entropy_ Entropy buffer
bytes Length of entropy_ in bytes
+
+ +
+

+ +

+
+ + + + + + + + + +
void apr_random_after_fork (apr_proc_t proc  ) 
+
+
+ +

+Mix the randomness pools after forking.

Parameters:
+ + +
proc The resulting process handle from apr_proc_fork()
+
+
Remarks:
Call this in the child after forking to mix the randomness pools. Note that its generally a bad idea to fork a process with a real PRNG in it - better to have the PRNG externally and get the randomness from there. However, if you really must do it, then you should supply all your entropy to all the PRNGs - don't worry, they won't produce the same output.

+Note that apr_proc_fork() calls this for you, so only weird applications need ever call it themselves.

+ +
+

+ +

+
+ + + + + + + + + +
void apr_random_barrier (apr_random_t g  ) 
+
+
+ +

+Ensures that E bits of conditional entropy are mixed into the PRNG before any further randomness is extracted.

Parameters:
+ + +
g The RNG state
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void apr_random_init (apr_random_t g,
apr_pool_t p,
apr_crypto_hash_t *  pool_hash,
apr_crypto_hash_t *  key_hash,
apr_crypto_hash_t *  prng_hash 
)
+
+
+ +

+Initialize a PRNG state

Parameters:
+ + + + + + +
g The PRNG state
p The pool to allocate from
pool_hash Pool hash functions
key_hash Key hash functions
prng_hash PRNG hash functions
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
apr_status_t apr_random_insecure_bytes (apr_random_t g,
void *  random,
apr_size_t  bytes 
)
+
+
+ +

+Generate cryptographically insecure random bytes.

Parameters:
+ + + + +
g The RNG state
random Buffer to fill with random bytes
bytes Length of buffer in bytes
+
+ +
+

+ +

+
+ + + + + + + + + +
apr_status_t apr_random_insecure_ready (apr_random_t r  ) 
+
+
+ +

+Return APR_SUCCESS if the PRNG has been seeded with enough data, APR_ENOTENOUGHENTROPY otherwise.

Parameters:
+ + +
r The PRNG state
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
apr_status_t apr_random_secure_bytes (apr_random_t g,
void *  random,
apr_size_t  bytes 
)
+
+
+ +

+Generate cryptographically secure random bytes.

Parameters:
+ + + + +
g The RNG state
random Buffer to fill with random bytes
bytes Length of buffer in bytes
+
+ +
+

+ +

+
+ + + + + + + + + +
apr_status_t apr_random_secure_ready (apr_random_t r  ) 
+
+
+ +

+Return APR_SUCCESS if the cryptographic PRNG has been seeded with enough data, APR_ENOTENOUGHENTROPY otherwise.

Parameters:
+ + +
r The RNG state
+
+ +
+

+ +

+
+ + + + + + + + + +
apr_random_t* apr_random_standard_new (apr_pool_t p  ) 
+
+
+ +

+Allocate and initialize (apr_crypto_sha256_new) a new PRNG state.

Parameters:
+ + +
p The pool to allocate from
+
+ +
+

+


Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__ring.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__ring.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__ring.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__ring.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Ring Macro Implementations - +
+ +

Ring Macro Implementations
[Apache Portability Runtime library] @@ -64,6 +65,10 @@ #define APR_RING_REMOVE(ep, link)   APR_RING_UNSPLICE((ep), (ep), link) +#define APR_RING_FOREACH(ep, head, elem, link) + +#define APR_RING_FOREACH_SAFE(ep1, ep2, head, elem, link) + #define APR_RING_CHECK_ONE(msg, ptr) #define APR_RING_CHECK(hp, elem, link, msg) @@ -376,8 +381,8 @@

Value:

struct {                                                                \
-        struct elem *next;                                              \
-        struct elem *prev;                                              \
+        struct elem * volatile next;                                    \
+        struct elem * volatile prev;                                    \
     }
 
The Ring Element

A ring element struct is linked to the other elements in the ring through its ring entry field, e.g.

@@ -417,6 +422,90 @@
 
 
 

+ +

+
+ + + + + + + + + + + + + + + + + + +
#define APR_RING_FOREACH (ep,
head,
elem,
link   ) 
+
+
+ +

+Value:

for (ep = APR_RING_FIRST(head);                                     \
+         ep != APR_RING_SENTINEL(head, elem, link);                     \
+         ep = APR_RING_NEXT(ep, link))
+
Iterate over a ring
Parameters:
+ + + + + +
ep The current element
head The head of the ring
elem The name of the element struct
link The name of the APR_RING_ENTRY in the element struct
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + +
#define APR_RING_FOREACH_SAFE (ep1,
ep2,
head,
elem,
link   ) 
+
+
+ +

+Value:

for (ep1 = APR_RING_FIRST(head), ep2 = APR_RING_NEXT(ep1, link);    \
+         ep1 != APR_RING_SENTINEL(head, elem, link);                    \
+         ep1 = ep2, ep2 = APR_RING_NEXT(ep1, link))
+
Iterate over a ring safe against removal of the current element
Parameters:
+ + + + + + +
ep1 The current element
ep2 Iteration cursor
head The head of the ring
elem The name of the element struct
link The name of the APR_RING_ENTRY in the element struct
+
+ +
+

@@ -1065,8 +1154,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__shm.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__shm.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__shm.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__shm.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - + Apache Portable Runtime: Shared Memory Routines - +
+ +

Shared Memory Routines
[Apache Portability Runtime library] @@ -307,8 +308,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__signal.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__signal.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__signal.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__signal.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - -Apache Portable Runtime: Handling + +Apache Portable Runtime: Signal Handling - +
-

Handling
+ + +

Signal Handling
[Apache Portability Runtime library]

@@ -184,8 +185,8 @@

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2
Modified: apr/site/trunk/docs/docs/apr/trunk/group__apr__sockopt.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/group__apr__sockopt.html?rev=574406&r1=574405&r2=574406&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/trunk/group__apr__sockopt.html (original) +++ apr/site/trunk/docs/docs/apr/trunk/group__apr__sockopt.html Mon Sep 10 16:37:52 2007 @@ -1,10 +1,10 @@ - +Apache Portable Runtime: Socket option definitions - +
+ +

Socket option definitions
[Network Routines] @@ -279,8 +280,8 @@ No push

-


Generated on Mon Apr 2 15:33:57 2007 for Apache Portable Runtime by  +
Generated on Tue Sep 11 09:20:20 2007 for Apache Portable Runtime by  -doxygen 1.5.1
+doxygen 1.5.2