apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r794523 [2/3] - in /apr/apr/trunk: buckets/ build/ crypto/ dbd/ dbm/ dbm/sdbm/ docs/ encoding/ hooks/ include/ include/private/ ldap/ memcache/ strmatch/ uri/ util-misc/ xlate/ xml/
Date Thu, 16 Jul 2009 04:52:58 GMT
Modified: apr/apr/trunk/include/apr_buckets.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_buckets.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_buckets.h (original)
+++ apr/apr/trunk/include/apr_buckets.h Thu Jul 16 04:52:56 2009
@@ -655,7 +655,7 @@
  * @param list The bucket allocator to use
  * @return The empty bucket brigade
  */
-APU_DECLARE(apr_bucket_brigade *) apr_brigade_create(apr_pool_t *p,
+APR_DECLARE(apr_bucket_brigade *) apr_brigade_create(apr_pool_t *p,
                                                      apr_bucket_alloc_t *list);
 
 /**
@@ -663,7 +663,7 @@
  * buckets within the bucket brigade's bucket list. 
  * @param b The bucket brigade to destroy
  */
-APU_DECLARE(apr_status_t) apr_brigade_destroy(apr_bucket_brigade *b);
+APR_DECLARE(apr_status_t) apr_brigade_destroy(apr_bucket_brigade *b);
 
 /**
  * empty out an entire bucket brigade.  This includes destroying all of the
@@ -676,7 +676,7 @@
  *         you wish to reuse many times by destroying all of the buckets in
  *         the brigade and putting new buckets into it later.
  */
-APU_DECLARE(apr_status_t) apr_brigade_cleanup(void *data);
+APR_DECLARE(apr_status_t) apr_brigade_cleanup(void *data);
 
 /**
  * Move the buckets from the tail end of the existing brigade @param b into
@@ -691,7 +691,7 @@
  * @warning Note that this function allocates a new brigade if @param a is
  * NULL so memory consumption should be carefully considered.
  */
-APU_DECLARE(apr_bucket_brigade *) apr_brigade_split_ex(apr_bucket_brigade *b,
+APR_DECLARE(apr_bucket_brigade *) apr_brigade_split_ex(apr_bucket_brigade *b,
                                                        apr_bucket *e,
                                                        apr_bucket_brigade *a);
 
@@ -706,7 +706,7 @@
  * @warning Note that this function always allocates a new brigade
  * so memory consumption should be carefully considered.
  */
-APU_DECLARE(apr_bucket_brigade *) apr_brigade_split(apr_bucket_brigade *b,
+APR_DECLARE(apr_bucket_brigade *) apr_brigade_split(apr_bucket_brigade *b,
                                                     apr_bucket *e);
 
 /**
@@ -721,7 +721,7 @@
  * @remark if APR_INCOMPLETE is returned, @a after_point will be set to
  * the brigade sentinel.
  */
-APU_DECLARE(apr_status_t) apr_brigade_partition(apr_bucket_brigade *b,
+APR_DECLARE(apr_status_t) apr_brigade_partition(apr_bucket_brigade *b,
                                                 apr_off_t point,
                                                 apr_bucket **after_point);
 
@@ -733,7 +733,7 @@
  *               to a bucket read error), or -1 if the brigade has buckets
  *               of indeterminate length and read_all is 0.
  */
-APU_DECLARE(apr_status_t) apr_brigade_length(apr_bucket_brigade *bb,
+APR_DECLARE(apr_status_t) apr_brigade_length(apr_bucket_brigade *bb,
                                              int read_all,
                                              apr_off_t *length);
 
@@ -744,7 +744,7 @@
  * @param len The maximum length of the char array. On return, it is the
  *            actual length of the char array.
  */
-APU_DECLARE(apr_status_t) apr_brigade_flatten(apr_bucket_brigade *bb,
+APR_DECLARE(apr_status_t) apr_brigade_flatten(apr_bucket_brigade *bb,
                                               char *c,
                                               apr_size_t *len);
 
@@ -755,7 +755,7 @@
  * @param len On return, the length of the char array.
  * @param pool The pool to allocate the string from.
  */
-APU_DECLARE(apr_status_t) apr_brigade_pflatten(apr_bucket_brigade *bb, 
+APR_DECLARE(apr_status_t) apr_brigade_pflatten(apr_bucket_brigade *bb, 
                                                char **c,
                                                apr_size_t *len,
                                                apr_pool_t *pool);
@@ -768,7 +768,7 @@
  * @param maxbytes The maximum bytes to read.  If this many bytes are seen
  *                 without a LF, the brigade will contain a partial line.
  */
-APU_DECLARE(apr_status_t) apr_brigade_split_line(apr_bucket_brigade *bbOut,
+APR_DECLARE(apr_status_t) apr_brigade_split_line(apr_bucket_brigade *bbOut,
                                                  apr_bucket_brigade *bbIn,
                                                  apr_read_type_e block,
                                                  apr_off_t maxbytes);
@@ -782,7 +782,7 @@
  * @param nvec The number of elements in the iovec. On return, it is the
  *             number of iovec elements actually filled out.
  */
-APU_DECLARE(apr_status_t) apr_brigade_to_iovec(apr_bucket_brigade *b, 
+APR_DECLARE(apr_status_t) apr_brigade_to_iovec(apr_bucket_brigade *b, 
                                                struct iovec *vec, int *nvec);
 
 /**
@@ -793,7 +793,7 @@
  * @param va A list of strings to add
  * @return APR_SUCCESS or error code.
  */
-APU_DECLARE(apr_status_t) apr_brigade_vputstrs(apr_bucket_brigade *b,
+APR_DECLARE(apr_status_t) apr_brigade_vputstrs(apr_bucket_brigade *b,
                                                apr_brigade_flush flush,
                                                void *ctx,
                                                va_list va);
@@ -821,7 +821,7 @@
  * @param nbyte The number of bytes to write
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE(apr_status_t) apr_brigade_write(apr_bucket_brigade *b,
+APR_DECLARE(apr_status_t) apr_brigade_write(apr_bucket_brigade *b,
                                             apr_brigade_flush flush, void *ctx,
                                             const char *str, apr_size_t nbyte);
 
@@ -834,7 +834,7 @@
  * @param nvec The number of entries in iovec
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE(apr_status_t) apr_brigade_writev(apr_bucket_brigade *b,
+APR_DECLARE(apr_status_t) apr_brigade_writev(apr_bucket_brigade *b,
                                              apr_brigade_flush flush,
                                              void *ctx,
                                              const struct iovec *vec,
@@ -848,7 +848,7 @@
  * @param str The string to add
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE(apr_status_t) apr_brigade_puts(apr_bucket_brigade *bb,
+APR_DECLARE(apr_status_t) apr_brigade_puts(apr_bucket_brigade *bb,
                                            apr_brigade_flush flush, void *ctx,
                                            const char *str);
 
@@ -860,7 +860,7 @@
  * @param c The character to add
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE(apr_status_t) apr_brigade_putc(apr_bucket_brigade *b,
+APR_DECLARE(apr_status_t) apr_brigade_putc(apr_bucket_brigade *b,
                                            apr_brigade_flush flush, void *ctx,
                                            const char c);
 
@@ -872,7 +872,7 @@
  * @param ... The strings to add
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_brigade_putstrs(apr_bucket_brigade *b,
+APR_DECLARE_NONSTD(apr_status_t) apr_brigade_putstrs(apr_bucket_brigade *b,
                                                      apr_brigade_flush flush,
                                                      void *ctx, ...);
 
@@ -886,7 +886,7 @@
  * @param ... The arguments to fill out the format
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_brigade_printf(apr_bucket_brigade *b, 
+APR_DECLARE_NONSTD(apr_status_t) apr_brigade_printf(apr_bucket_brigade *b, 
                                                     apr_brigade_flush flush,
                                                     void *ctx,
                                                     const char *fmt, ...)
@@ -902,7 +902,7 @@
  * @param va The arguments to fill out the format
  * @return APR_SUCCESS or error code
  */
-APU_DECLARE(apr_status_t) apr_brigade_vprintf(apr_bucket_brigade *b, 
+APR_DECLARE(apr_status_t) apr_brigade_vprintf(apr_bucket_brigade *b, 
                                               apr_brigade_flush flush,
                                               void *ctx,
                                               const char *fmt, va_list va);
@@ -919,7 +919,7 @@
  * @param p pool from which file buckets are allocated
  * @return the last bucket inserted
  */
-APU_DECLARE(apr_bucket *) apr_brigade_insert_file(apr_bucket_brigade *bb,
+APR_DECLARE(apr_bucket *) apr_brigade_insert_file(apr_bucket_brigade *bb,
                                                   apr_file_t *f,
                                                   apr_off_t start,
                                                   apr_off_t len,
@@ -941,7 +941,7 @@
  *          footprint growth that would occur if we allocated from the pool.
  * @warning The allocator must never be used by more than one thread at a time.
  */
-APU_DECLARE_NONSTD(apr_bucket_alloc_t *) apr_bucket_alloc_create(apr_pool_t *p);
+APR_DECLARE_NONSTD(apr_bucket_alloc_t *) apr_bucket_alloc_create(apr_pool_t *p);
 
 /**
  * Create a bucket allocator.
@@ -951,26 +951,26 @@
  *          apr_allocator_t -- no automatic cleanups will happen.
  * @warning The allocator must never be used by more than one thread at a time.
  */
-APU_DECLARE_NONSTD(apr_bucket_alloc_t *) apr_bucket_alloc_create_ex(apr_allocator_t *allocator);
+APR_DECLARE_NONSTD(apr_bucket_alloc_t *) apr_bucket_alloc_create_ex(apr_allocator_t *allocator);
 
 /**
  * Destroy a bucket allocator.
  * @param list The allocator to be destroyed
  */
-APU_DECLARE_NONSTD(void) apr_bucket_alloc_destroy(apr_bucket_alloc_t *list);
+APR_DECLARE_NONSTD(void) apr_bucket_alloc_destroy(apr_bucket_alloc_t *list);
 
 /**
  * Allocate memory for use by the buckets.
  * @param size The amount to allocate.
  * @param list The allocator from which to allocate the memory.
  */
-APU_DECLARE_NONSTD(void *) apr_bucket_alloc(apr_size_t size, apr_bucket_alloc_t *list);
+APR_DECLARE_NONSTD(void *) apr_bucket_alloc(apr_size_t size, apr_bucket_alloc_t *list);
 
 /**
  * Free memory previously allocated with apr_bucket_alloc().
  * @param block The block of memory to be freed.
  */
-APU_DECLARE_NONSTD(void) apr_bucket_free(void *block);
+APR_DECLARE_NONSTD(void) apr_bucket_free(void *block);
 
 
 /*  *****  Bucket Functions  *****  */
@@ -1108,7 +1108,7 @@
  * @param pool The pool defining the desired lifetime of the bucket data
  * @return APR_SUCCESS
  */ 
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_noop(apr_bucket *data,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_noop(apr_bucket *data,
                                                           apr_pool_t *pool);
 
 /**
@@ -1118,7 +1118,7 @@
  * @param pool The pool defining the desired lifetime of the bucket data
  * @return APR_ENOTIMPL
  */ 
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_notimpl(apr_bucket *data,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_notimpl(apr_bucket *data,
                                                              apr_pool_t *pool);
 
 /**
@@ -1128,7 +1128,7 @@
  * @param point The location to split the bucket
  * @return APR_ENOTIMPL
  */ 
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_split_notimpl(apr_bucket *data,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_split_notimpl(apr_bucket *data,
                                                           apr_size_t point);
 
 /**
@@ -1138,7 +1138,7 @@
  * @param c Returns a pointer to the new bucket
  * @return APR_ENOTIMPL
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_copy_notimpl(apr_bucket *e,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_copy_notimpl(apr_bucket *e,
                                                          apr_bucket **c);
 
 /**
@@ -1150,7 +1150,7 @@
  * points directly to the apr_file_t.
  * @param data The bucket data to destroy
  */ 
-APU_DECLARE_NONSTD(void) apr_bucket_destroy_noop(void *data);
+APR_DECLARE_NONSTD(void) apr_bucket_destroy_noop(void *data);
 
 /**
  * There is no apr_bucket_destroy_notimpl, because destruction is required
@@ -1167,54 +1167,54 @@
  * The flush bucket type.  This signifies that all data should be flushed to
  * the next filter.  The flush bucket should be sent with the other buckets.
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_flush;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_flush;
 /**
  * The EOS bucket type.  This signifies that there will be no more data, ever.
  * All filters MUST send all data to the next filter when they receive a
  * bucket of this type
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_eos;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_eos;
 /**
  * The FILE bucket type.  This bucket represents a file on disk
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_file;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_file;
 /**
  * The HEAP bucket type.  This bucket represents a data allocated from the
  * heap.
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_heap;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_heap;
 #if APR_HAS_MMAP
 /**
  * The MMAP bucket type.  This bucket represents an MMAP'ed file
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_mmap;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_mmap;
 #endif
 /**
  * The POOL bucket type.  This bucket represents a data that was allocated
  * from a pool.  IF this bucket is still available when the pool is cleared,
  * the data is copied on to the heap.
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_pool;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_pool;
 /**
  * The PIPE bucket type.  This bucket represents a pipe to another program.
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_pipe;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_pipe;
 /**
  * The IMMORTAL bucket type.  This bucket represents a segment of data that
  * the creator is willing to take responsibility for.  The core will do
  * nothing with the data in an immortal bucket
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_immortal;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_immortal;
 /**
  * The TRANSIENT bucket type.  This bucket represents a data allocated off
  * the stack.  When the setaside function is called, this data is copied on
  * to the heap
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_transient;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_transient;
 /**
  * The SOCKET bucket type.  This bucket represents a socket to another machine
  */
-APU_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_socket;
+APR_DECLARE_DATA extern const apr_bucket_type_t apr_bucket_type_socket;
 
 
 /*  *****  Simple buckets  *****  */
@@ -1230,7 +1230,7 @@
  *         APR_ENOMEM if allocation failed;
  *         or APR_SUCCESS
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_simple_split(apr_bucket *b,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_simple_split(apr_bucket *b,
                                                          apr_size_t point);
 
 /**
@@ -1243,7 +1243,7 @@
  * @return APR_ENOMEM if allocation failed;
  *         or APR_SUCCESS
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_simple_copy(apr_bucket *a,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_simple_copy(apr_bucket *a,
                                                         apr_bucket **b);
 
 
@@ -1263,7 +1263,7 @@
  * @param length The length of the data in the bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_shared_make(apr_bucket *b, void *data,
+APR_DECLARE(apr_bucket *) apr_bucket_shared_make(apr_bucket *b, void *data,
 				                 apr_off_t start, 
                                                  apr_size_t length);
 
@@ -1275,7 +1275,7 @@
  *         zero, indicating that the shared resource itself can
  *         be destroyed by the caller.
  */
-APU_DECLARE(int) apr_bucket_shared_destroy(void *data);
+APR_DECLARE(int) apr_bucket_shared_destroy(void *data);
 
 /**
  * Split a bucket into two at the given point, and adjust the refcount
@@ -1288,7 +1288,7 @@
  *         APR_ENOMEM if allocation failed;
  *         or APR_SUCCESS
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_shared_split(apr_bucket *b,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_shared_split(apr_bucket *b,
                                                          apr_size_t point);
 
 /**
@@ -1300,7 +1300,7 @@
  * @return APR_ENOMEM if allocation failed;
            or APR_SUCCESS
  */
-APU_DECLARE_NONSTD(apr_status_t) apr_bucket_shared_copy(apr_bucket *a,
+APR_DECLARE_NONSTD(apr_status_t) apr_bucket_shared_copy(apr_bucket *a,
                                                         apr_bucket **b);
 
 
@@ -1322,7 +1322,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_eos_create(apr_bucket_alloc_t *list);
+APR_DECLARE(apr_bucket *) apr_bucket_eos_create(apr_bucket_alloc_t *list);
 
 /**
  * Make the bucket passed in an EOS bucket.  This indicates that there is no 
@@ -1331,7 +1331,7 @@
  * @param b The bucket to make into an EOS bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_eos_make(apr_bucket *b);
+APR_DECLARE(apr_bucket *) apr_bucket_eos_make(apr_bucket *b);
 
 /**
  * Create a flush  bucket.  This indicates that filters should flush their
@@ -1340,7 +1340,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_flush_create(apr_bucket_alloc_t *list);
+APR_DECLARE(apr_bucket *) apr_bucket_flush_create(apr_bucket_alloc_t *list);
 
 /**
  * Make the bucket passed in a FLUSH  bucket.  This indicates that filters 
@@ -1349,7 +1349,7 @@
  * @param b The bucket to make into a FLUSH bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_flush_make(apr_bucket *b);
+APR_DECLARE(apr_bucket *) apr_bucket_flush_make(apr_bucket *b);
 
 /**
  * Create a bucket referring to long-lived data.
@@ -1358,7 +1358,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_immortal_create(const char *buf, 
+APR_DECLARE(apr_bucket *) apr_bucket_immortal_create(const char *buf, 
                                                      apr_size_t nbyte,
                                                      apr_bucket_alloc_t *list);
 
@@ -1369,7 +1369,7 @@
  * @param nbyte The size of the data to insert.
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_immortal_make(apr_bucket *b, 
+APR_DECLARE(apr_bucket *) apr_bucket_immortal_make(apr_bucket *b, 
                                                    const char *buf, 
                                                    apr_size_t nbyte);
 
@@ -1380,7 +1380,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_transient_create(const char *buf, 
+APR_DECLARE(apr_bucket *) apr_bucket_transient_create(const char *buf, 
                                                       apr_size_t nbyte,
                                                       apr_bucket_alloc_t *list);
 
@@ -1391,7 +1391,7 @@
  * @param nbyte The size of the data to insert.
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_transient_make(apr_bucket *b, 
+APR_DECLARE(apr_bucket *) apr_bucket_transient_make(apr_bucket *b, 
                                                     const char *buf,
                                                     apr_size_t nbyte);
 
@@ -1409,7 +1409,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_heap_create(const char *buf, 
+APR_DECLARE(apr_bucket *) apr_bucket_heap_create(const char *buf, 
                                                  apr_size_t nbyte,
                                                  void (*free_func)(void *data),
                                                  apr_bucket_alloc_t *list);
@@ -1422,7 +1422,7 @@
  *                  bucket should make a copy of the data
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_heap_make(apr_bucket *b, const char *buf,
+APR_DECLARE(apr_bucket *) apr_bucket_heap_make(apr_bucket *b, const char *buf,
                                                apr_size_t nbyte,
                                                void (*free_func)(void *data));
 
@@ -1435,7 +1435,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_pool_create(const char *buf, 
+APR_DECLARE(apr_bucket *) apr_bucket_pool_create(const char *buf, 
                                                  apr_size_t length,
                                                  apr_pool_t *pool,
                                                  apr_bucket_alloc_t *list);
@@ -1448,7 +1448,7 @@
  * @param pool The pool the memory was allocated from
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_pool_make(apr_bucket *b, const char *buf,
+APR_DECLARE(apr_bucket *) apr_bucket_pool_make(apr_bucket *b, const char *buf,
                                                apr_size_t length, 
                                                apr_pool_t *pool);
 
@@ -1462,7 +1462,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_mmap_create(apr_mmap_t *mm, 
+APR_DECLARE(apr_bucket *) apr_bucket_mmap_create(apr_mmap_t *mm, 
                                                  apr_off_t start,
                                                  apr_size_t length,
                                                  apr_bucket_alloc_t *list);
@@ -1476,7 +1476,7 @@
  * @param length The number of bytes referred to by this bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_mmap_make(apr_bucket *b, apr_mmap_t *mm,
+APR_DECLARE(apr_bucket *) apr_bucket_mmap_make(apr_bucket *b, apr_mmap_t *mm,
                                                apr_off_t start, 
                                                apr_size_t length);
 #endif
@@ -1487,7 +1487,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_socket_create(apr_socket_t *thissock,
+APR_DECLARE(apr_bucket *) apr_bucket_socket_create(apr_socket_t *thissock,
                                                    apr_bucket_alloc_t *list);
 /**
  * Make the bucket passed in a bucket refer to a socket
@@ -1495,7 +1495,7 @@
  * @param thissock The socket to put in the bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_socket_make(apr_bucket *b, 
+APR_DECLARE(apr_bucket *) apr_bucket_socket_make(apr_bucket *b, 
                                                  apr_socket_t *thissock);
 
 /**
@@ -1504,7 +1504,7 @@
  * @param list The freelist from which this bucket should be allocated
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_pipe_create(apr_file_t *thispipe,
+APR_DECLARE(apr_bucket *) apr_bucket_pipe_create(apr_file_t *thispipe,
                                                  apr_bucket_alloc_t *list);
 
 /**
@@ -1513,7 +1513,7 @@
  * @param thispipe The pipe to put in the bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_pipe_make(apr_bucket *b, 
+APR_DECLARE(apr_bucket *) apr_bucket_pipe_make(apr_bucket *b, 
                                                apr_file_t *thispipe);
 
 /**
@@ -1532,7 +1532,7 @@
  * insert files into brigades, since that function can correctly
  * handle large file issues.
  */
-APU_DECLARE(apr_bucket *) apr_bucket_file_create(apr_file_t *fd,
+APR_DECLARE(apr_bucket *) apr_bucket_file_create(apr_file_t *fd,
                                                  apr_off_t offset,
                                                  apr_size_t len, 
                                                  apr_pool_t *p,
@@ -1548,7 +1548,7 @@
  *          while reading from this file bucket
  * @return The new bucket, or NULL if allocation failed
  */
-APU_DECLARE(apr_bucket *) apr_bucket_file_make(apr_bucket *b, apr_file_t *fd,
+APR_DECLARE(apr_bucket *) apr_bucket_file_make(apr_bucket *b, apr_file_t *fd,
                                                apr_off_t offset,
                                                apr_size_t len, apr_pool_t *p);
 
@@ -1558,7 +1558,7 @@
  * @param enabled Whether memory-mapping should be enabled
  * @return APR_SUCCESS normally, or an error code if the operation fails
  */
-APU_DECLARE(apr_status_t) apr_bucket_file_enable_mmap(apr_bucket *b,
+APR_DECLARE(apr_status_t) apr_bucket_file_enable_mmap(apr_bucket *b,
                                                       int enabled);
 
 /** @} */

Modified: apr/apr/trunk/include/apr_crypto.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_crypto.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_crypto.h (original)
+++ apr/apr/trunk/include/apr_crypto.h Thu Jul 16 04:52:56 2009
@@ -195,7 +195,7 @@
  * @param pool - pool to register any shutdown cleanups, etc
  * @return APR_NOTIMPL in case of no crypto support.
  */
-APU_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool,
+APR_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool,
         const apr_array_header_t *params);
 
 /**
@@ -209,7 +209,7 @@
  * @return APR_EDSOOPEN if DSO driver file can't be opened
  * @return APR_ESYMNOTFOUND if the driver file doesn't contain a driver
  */
-APU_DECLARE(apr_status_t) apr_crypto_get_driver(apr_pool_t *pool, const char *name,
+APR_DECLARE(apr_status_t) apr_crypto_get_driver(apr_pool_t *pool, const char *name,
         const apr_crypto_driver_t **driver, const apr_array_header_t *params,
         const apu_err_t **result);
 
@@ -219,7 +219,7 @@
  * @param driver - The driver in use.
  * @return The name of the driver.
  */
-APU_DECLARE(const char *)apr_crypto_driver_name (const apr_crypto_driver_t *driver);
+APR_DECLARE(const char *)apr_crypto_driver_name (const apr_crypto_driver_t *driver);
 
 /**
  * @brief Get the result of the last operation on a factory. If the result
@@ -229,7 +229,7 @@
  * @param result - the result structure
  * @return APR_SUCCESS for success
  */
-APU_DECLARE(apr_status_t) apr_crypto_error(const apr_crypto_t *f,
+APR_DECLARE(apr_status_t) apr_crypto_error(const apr_crypto_t *f,
         const apu_err_t **result);
 
 /**
@@ -244,7 +244,7 @@
  * @return APR_ENOENGINE when the engine specified does not exist. APR_EINITENGINE
  * if the engine cannot be initialised.
  */
-APU_DECLARE(apr_status_t) apr_crypto_factory(const apr_crypto_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_crypto_factory(const apr_crypto_driver_t *driver,
         apr_pool_t *pool, const apr_array_header_t *params, apr_crypto_t **f);
 
 /**
@@ -275,7 +275,7 @@
  *         not known. APR_EPADDING if padding was requested but is not supported.
  *         APR_ENOTIMPL if not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_passphrase(const apr_crypto_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_crypto_passphrase(const apr_crypto_driver_t *driver,
         apr_pool_t *p, const apr_crypto_t *f, const char *pass,
         apr_size_t passLen, const unsigned char * salt, apr_size_t saltLen,
         const apr_crypto_block_key_type_e type,
@@ -300,7 +300,7 @@
  *         Returns APR_EINIT if the backend failed to initialise the context. Returns
  *         APR_ENOTIMPL if not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_encrypt_init(
+APR_DECLARE(apr_status_t) apr_crypto_block_encrypt_init(
         const apr_crypto_driver_t *driver, apr_pool_t *p,
         const apr_crypto_t *f, const apr_crypto_key_t *key,
         const unsigned char **iv, apr_crypto_block_t **ctx,
@@ -325,7 +325,7 @@
  * @return APR_ECRYPT if an error occurred. Returns APR_ENOTIMPL if
  *         not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_encrypt(
+APR_DECLARE(apr_status_t) apr_crypto_block_encrypt(
         const apr_crypto_driver_t *driver, apr_crypto_block_t *ctx,
         unsigned char **out, apr_size_t *outlen, const unsigned char *in,
         apr_size_t inlen);
@@ -349,7 +349,7 @@
  *         formatted.
  * @return APR_ENOTIMPL if not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_encrypt_finish(
+APR_DECLARE(apr_status_t) apr_crypto_block_encrypt_finish(
         const apr_crypto_driver_t *driver, apr_crypto_block_t *ctx,
         unsigned char *out, apr_size_t *outlen);
 
@@ -368,7 +368,7 @@
  *         Returns APR_EINIT if the backend failed to initialise the context. Returns
  *         APR_ENOTIMPL if not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_decrypt_init(
+APR_DECLARE(apr_status_t) apr_crypto_block_decrypt_init(
         const apr_crypto_driver_t *driver, apr_pool_t *p,
         const apr_crypto_t *f, const apr_crypto_key_t *key,
         const unsigned char *iv, apr_crypto_block_t **ctx,
@@ -393,7 +393,7 @@
  * @return APR_ECRYPT if an error occurred. Returns APR_ENOTIMPL if
  *         not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_decrypt(
+APR_DECLARE(apr_status_t) apr_crypto_block_decrypt(
         const apr_crypto_driver_t *driver, apr_crypto_block_t *ctx,
         unsigned char **out, apr_size_t *outlen, const unsigned char *in,
         apr_size_t inlen);
@@ -417,7 +417,7 @@
  *         formatted.
  * @return APR_ENOTIMPL if not implemented.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_decrypt_finish(
+APR_DECLARE(apr_status_t) apr_crypto_block_decrypt_finish(
         const apr_crypto_driver_t *driver, apr_crypto_block_t *ctx,
         unsigned char *out, apr_size_t *outlen);
 
@@ -428,7 +428,7 @@
  * @param ctx The block context to use.
  * @return Returns APR_ENOTIMPL if not supported.
  */
-APU_DECLARE(apr_status_t) apr_crypto_block_cleanup(
+APR_DECLARE(apr_status_t) apr_crypto_block_cleanup(
         const apr_crypto_driver_t *driver, apr_crypto_block_t *ctx);
 
 /**
@@ -438,7 +438,7 @@
  * @param f The factory to use.
  * @return Returns APR_ENOTIMPL if not supported.
  */
-APU_DECLARE(apr_status_t) apr_crypto_cleanup(const apr_crypto_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_crypto_cleanup(const apr_crypto_driver_t *driver,
         apr_crypto_t *f);
 
 /**
@@ -448,7 +448,7 @@
  * @param p The pool to use.
  * @return Returns APR_ENOTIMPL if not supported.
  */
-APU_DECLARE(apr_status_t) apr_crypto_shutdown(const apr_crypto_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_crypto_shutdown(const apr_crypto_driver_t *driver,
         apr_pool_t *p);
 
 #endif /* APU_HAVE_CRYPTO */

Modified: apr/apr/trunk/include/apr_date.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_date.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_date.h (original)
+++ apr/apr/trunk/include/apr_date.h Thu Jul 16 04:52:56 2009
@@ -57,7 +57,7 @@
  * @remark The mask tests for an exact match for any other character
  * @return 1 if the string matches, 0 otherwise
  */
-APU_DECLARE(int) apr_date_checkmask(const char *data, const char *mask);
+APR_DECLARE(int) apr_date_checkmask(const char *data, const char *mask);
 
 /**
  * Parses an HTTP date in one of three standard forms:
@@ -70,7 +70,7 @@
  * @return the apr_time_t number of microseconds since 1 Jan 1970 GMT, or
  *         0 if this would be out of range or if the date is invalid.
  */
-APU_DECLARE(apr_time_t) apr_date_parse_http(const char *date);
+APR_DECLARE(apr_time_t) apr_date_parse_http(const char *date);
 
 /**
  * Parses a string resembling an RFC 822 date.  This is meant to be
@@ -96,7 +96,7 @@
  * @return the apr_time_t number of microseconds since 1 Jan 1970 GMT, or
  *         0 if this would be out of range or if the date is invalid.
  */
-APU_DECLARE(apr_time_t) apr_date_parse_rfc(const char *date);
+APR_DECLARE(apr_time_t) apr_date_parse_rfc(const char *date);
 
 /** @} */
 #ifdef __cplusplus

Modified: apr/apr/trunk/include/apr_dbd.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_dbd.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_dbd.h (original)
+++ apr/apr/trunk/include/apr_dbd.h Thu Jul 16 04:52:56 2009
@@ -90,7 +90,7 @@
  *
  *  @param pool - pool to register any shutdown cleanups, etc
  */
-APU_DECLARE(apr_status_t) apr_dbd_init(apr_pool_t *pool);
+APR_DECLARE(apr_status_t) apr_dbd_init(apr_pool_t *pool);
 
 /** apr_dbd_get_driver: get the driver struct for a name
  *
@@ -102,7 +102,7 @@
  *  @return APR_EDSOOPEN if DSO driver file can't be opened
  *  @return APR_ESYMNOTFOUND if the driver file doesn't contain a driver
  */
-APU_DECLARE(apr_status_t) apr_dbd_get_driver(apr_pool_t *pool, const char *name,
+APR_DECLARE(apr_status_t) apr_dbd_get_driver(apr_pool_t *pool, const char *name,
                                              const apr_dbd_driver_t **driver);
 
 /** apr_dbd_open_ex: open a connection to a backend
@@ -140,7 +140,7 @@
  *  "dbname", "host", "charset", "lang" and "server" keys, each followed by an
  *  equal sign and a value.
  */
-APU_DECLARE(apr_status_t) apr_dbd_open_ex(const apr_dbd_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_dbd_open_ex(const apr_dbd_driver_t *driver,
                                           apr_pool_t *pool, const char *params,
                                           apr_dbd_t **handle,
                                           const char **error);
@@ -155,7 +155,7 @@
  *  @return APR_EGENERAL if driver exists but connection failed
  *  @see apr_dbd_open_ex
  */
-APU_DECLARE(apr_status_t) apr_dbd_open(const apr_dbd_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_dbd_open(const apr_dbd_driver_t *driver,
                                        apr_pool_t *pool, const char *params,
                                        apr_dbd_t **handle);
 
@@ -165,7 +165,7 @@
  *  @param driver - driver struct.
  *  @return APR_SUCCESS for success or error status
  */
-APU_DECLARE(apr_status_t) apr_dbd_close(const apr_dbd_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_dbd_close(const apr_dbd_driver_t *driver,
                                         apr_dbd_t *handle);
 
 /* apr-function-shaped versions of things */
@@ -175,7 +175,7 @@
  *  @param driver - the driver
  *  @return - name
  */
-APU_DECLARE(const char*) apr_dbd_name(const apr_dbd_driver_t *driver);
+APR_DECLARE(const char*) apr_dbd_name(const apr_dbd_driver_t *driver);
 
 /** apr_dbd_native_handle: get native database handle of the underlying db
  *
@@ -183,7 +183,7 @@
  *  @param handle - apr_dbd handle
  *  @return - native handle
  */
-APU_DECLARE(void*) apr_dbd_native_handle(const apr_dbd_driver_t *driver,
+APR_DECLARE(void*) apr_dbd_native_handle(const apr_dbd_driver_t *driver,
                                          apr_dbd_t *handle);
 
 /** check_conn: check status of a database connection
@@ -193,7 +193,7 @@
  *  @param handle - the connection to check
  *  @return APR_SUCCESS or error
  */
-APU_DECLARE(int) apr_dbd_check_conn(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_check_conn(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                     apr_dbd_t *handle);
 
 /** apr_dbd_set_dbname: select database name.  May be a no-op if not supported.
@@ -204,7 +204,7 @@
  *  @param name - the database to select
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_set_dbname(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_set_dbname(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                     apr_dbd_t *handle, const char *name);
 
 /** apr_dbd_transaction_start: start a transaction.  May be a no-op.
@@ -221,7 +221,7 @@
  *  query/select calls will fail immediately. Put transaction in "ignore
  *  errors" mode to avoid that. Use "rollback" mode to do explicit rollback.
  */
-APU_DECLARE(int) apr_dbd_transaction_start(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_transaction_start(const apr_dbd_driver_t *driver,
                                            apr_pool_t *pool,
                                            apr_dbd_t *handle,
                                            apr_dbd_transaction_t **trans);
@@ -235,7 +235,7 @@
  *  @param trans - the transaction.
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_transaction_end(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_transaction_end(const apr_dbd_driver_t *driver,
                                          apr_pool_t *pool,
                                          apr_dbd_transaction_t *trans);
 
@@ -249,7 +249,7 @@
  *  @param trans  - the transaction
  *  @return mode of transaction
  */
-APU_DECLARE(int) apr_dbd_transaction_mode_get(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_transaction_mode_get(const apr_dbd_driver_t *driver,
                                               apr_dbd_transaction_t *trans);
 
 /** apr_dbd_transaction_mode_set: set the mode of transaction
@@ -259,7 +259,7 @@
  *  @param mode   - new mode of the transaction
  *  @return the mode of transaction in force after the call
  */
-APU_DECLARE(int) apr_dbd_transaction_mode_set(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_transaction_mode_set(const apr_dbd_driver_t *driver,
                                               apr_dbd_transaction_t *trans,
                                               int mode);
 
@@ -271,7 +271,7 @@
  *  @param statement - the SQL statement to execute
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_query(const apr_dbd_driver_t *driver, apr_dbd_t *handle,
+APR_DECLARE(int) apr_dbd_query(const apr_dbd_driver_t *driver, apr_dbd_t *handle,
                                int *nrows, const char *statement);
 
 /** apr_dbd_select: execute an SQL query that returns a result set
@@ -286,7 +286,7 @@
  *                    (async access - faster)
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_select(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_select(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                 apr_dbd_t *handle, apr_dbd_results_t **res,
                                 const char *statement, int random);
 
@@ -296,7 +296,7 @@
  *  @param res - result set.
  *  @return number of columns
  */
-APU_DECLARE(int) apr_dbd_num_cols(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_num_cols(const apr_dbd_driver_t *driver,
                                   apr_dbd_results_t *res);
 
 /** apr_dbd_num_tuples: get the number of rows in a results set
@@ -306,7 +306,7 @@
  *  @param res - result set.
  *  @return number of rows, or -1 if the results are asynchronous
  */
-APU_DECLARE(int) apr_dbd_num_tuples(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_num_tuples(const apr_dbd_driver_t *driver,
                                     apr_dbd_results_t *res);
 
 /** apr_dbd_get_row: get a row from a result set
@@ -319,7 +319,7 @@
  *                  Ignored if random access is not supported.
  *  @return 0 for success, -1 for rownum out of range or data finished
  */
-APU_DECLARE(int) apr_dbd_get_row(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_get_row(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                  apr_dbd_results_t *res, apr_dbd_row_t **row,
                                  int rownum);
 
@@ -330,7 +330,7 @@
  *  @param col - entry number
  *  @return value from the row, or NULL if col is out of bounds.
  */
-APU_DECLARE(const char*) apr_dbd_get_entry(const apr_dbd_driver_t *driver,
+APR_DECLARE(const char*) apr_dbd_get_entry(const apr_dbd_driver_t *driver,
                                            apr_dbd_row_t *row, int col);
 
 /** apr_dbd_get_name: get an entry name from a result set
@@ -340,7 +340,7 @@
  *  @param col - entry number
  *  @return name of the entry, or NULL if col is out of bounds.
  */
-APU_DECLARE(const char*) apr_dbd_get_name(const apr_dbd_driver_t *driver,
+APR_DECLARE(const char*) apr_dbd_get_name(const apr_dbd_driver_t *driver,
                                           apr_dbd_results_t *res, int col);
 
 
@@ -352,7 +352,7 @@
  *  @return the database current error message, or message for errnum
  *          (implementation-dependent whether errnum is ignored)
  */
-APU_DECLARE(const char*) apr_dbd_error(const apr_dbd_driver_t *driver,
+APR_DECLARE(const char*) apr_dbd_error(const apr_dbd_driver_t *driver,
                                        apr_dbd_t *handle, int errnum);
 
 /** apr_dbd_escape: escape a string so it is safe for use in query/select
@@ -363,7 +363,7 @@
  *  @param handle - the connection
  *  @return the escaped, safe string
  */
-APU_DECLARE(const char*) apr_dbd_escape(const apr_dbd_driver_t *driver,
+APR_DECLARE(const char*) apr_dbd_escape(const apr_dbd_driver_t *driver,
                                         apr_pool_t *pool, const char *string,
                                         apr_dbd_t *handle);
 
@@ -395,7 +395,7 @@
  *  possible. A \% followed by any letter not in the above list will be
  *  interpreted as VARCHAR (i.e. \%s).
  */
-APU_DECLARE(int) apr_dbd_prepare(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_prepare(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                  apr_dbd_t *handle, const char *query,
                                  const char *label,
                                  apr_dbd_prepared_t **statement);
@@ -412,7 +412,7 @@
  *  @param args - args to prepared statement
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_pquery(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_pquery(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                 apr_dbd_t *handle, int *nrows,
                                 apr_dbd_prepared_t *statement, int nargs,
                                 const char **args);
@@ -429,7 +429,7 @@
  *  @param args - args to prepared statement
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_pselect(const apr_dbd_driver_t *driver, apr_pool_t *pool,
+APR_DECLARE(int) apr_dbd_pselect(const apr_dbd_driver_t *driver, apr_pool_t *pool,
                                  apr_dbd_t *handle, apr_dbd_results_t **res,
                                  apr_dbd_prepared_t *statement, int random,
                                  int nargs, const char **args);
@@ -444,7 +444,7 @@
  *  @param ... - varargs list
  *  @return 0 for success or error code
  */
-APU_DECLARE_NONSTD(int) apr_dbd_pvquery(const apr_dbd_driver_t *driver, 
+APR_DECLARE_NONSTD(int) apr_dbd_pvquery(const apr_dbd_driver_t *driver, 
                                         apr_pool_t *pool,
                                         apr_dbd_t *handle, int *nrows,
                                         apr_dbd_prepared_t *statement, ...);
@@ -460,7 +460,7 @@
  *  @param ... - varargs list
  *  @return 0 for success or error code
  */
-APU_DECLARE_NONSTD(int) apr_dbd_pvselect(const apr_dbd_driver_t *driver,
+APR_DECLARE_NONSTD(int) apr_dbd_pvselect(const apr_dbd_driver_t *driver,
                                          apr_pool_t *pool, apr_dbd_t *handle,
                                          apr_dbd_results_t **res,
                                          apr_dbd_prepared_t *statement,
@@ -476,7 +476,7 @@
  *  @param args - binary args to prepared statement
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_pbquery(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_pbquery(const apr_dbd_driver_t *driver,
                                  apr_pool_t *pool, apr_dbd_t *handle,
                                  int *nrows, apr_dbd_prepared_t *statement,
                                  const void **args);
@@ -492,7 +492,7 @@
  *  @param args - binary args to prepared statement
  *  @return 0 for success or error code
  */
-APU_DECLARE(int) apr_dbd_pbselect(const apr_dbd_driver_t *driver,
+APR_DECLARE(int) apr_dbd_pbselect(const apr_dbd_driver_t *driver,
                                   apr_pool_t *pool,
                                   apr_dbd_t *handle, apr_dbd_results_t **res,
                                   apr_dbd_prepared_t *statement, int random,
@@ -508,7 +508,7 @@
  *  @param ... - varargs list of binary args
  *  @return 0 for success or error code
  */
-APU_DECLARE_NONSTD(int) apr_dbd_pvbquery(const apr_dbd_driver_t *driver,
+APR_DECLARE_NONSTD(int) apr_dbd_pvbquery(const apr_dbd_driver_t *driver,
                                          apr_pool_t *pool,
                                          apr_dbd_t *handle, int *nrows,
                                          apr_dbd_prepared_t *statement, ...);
@@ -524,7 +524,7 @@
  *  @param ... - varargs list of binary args
  *  @return 0 for success or error code
  */
-APU_DECLARE_NONSTD(int) apr_dbd_pvbselect(const apr_dbd_driver_t *driver,
+APR_DECLARE_NONSTD(int) apr_dbd_pvbselect(const apr_dbd_driver_t *driver,
                                           apr_pool_t *pool, apr_dbd_t *handle,
                                           apr_dbd_results_t **res,
                                           apr_dbd_prepared_t *statement,
@@ -539,7 +539,7 @@
  *  @param data - pointer to data, allocated by the caller
  *  @return APR_SUCCESS on success, APR_ENOENT if data is NULL or APR_EGENERAL
  */
-APU_DECLARE(apr_status_t) apr_dbd_datum_get(const apr_dbd_driver_t *driver,
+APR_DECLARE(apr_status_t) apr_dbd_datum_get(const apr_dbd_driver_t *driver,
                                             apr_dbd_row_t *row, int col,
                                             apr_dbd_type_e type, void *data);
 

Modified: apr/apr/trunk/include/apr_dbm.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_dbm.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_dbm.h (original)
+++ apr/apr/trunk/include/apr_dbm.h Thu Jul 16 04:52:56 2009
@@ -86,7 +86,7 @@
  * the correct case (lower case for all bundled providers)
  */
 
-APU_DECLARE(apr_status_t) apr_dbm_open_ex(apr_dbm_t **dbm, const char* type, 
+APR_DECLARE(apr_status_t) apr_dbm_open_ex(apr_dbm_t **dbm, const char* type, 
                                        const char *name, 
                                        apr_int32_t mode, apr_fileperms_t perm,
                                        apr_pool_t *cntxt);
@@ -108,7 +108,7 @@
  * @remark The dbm name may not be a true file name, as many dbm packages
  * append suffixes for seperate data and index files.
  */
-APU_DECLARE(apr_status_t) apr_dbm_open(apr_dbm_t **dbm, const char *name, 
+APR_DECLARE(apr_status_t) apr_dbm_open(apr_dbm_t **dbm, const char *name, 
                                        apr_int32_t mode, apr_fileperms_t perm,
                                        apr_pool_t *cntxt);
 
@@ -116,7 +116,7 @@
  * Close a dbm file previously opened by apr_dbm_open
  * @param dbm The database to close
  */
-APU_DECLARE(void) apr_dbm_close(apr_dbm_t *dbm);
+APR_DECLARE(void) apr_dbm_close(apr_dbm_t *dbm);
 
 /**
  * Fetch a dbm record value by key
@@ -124,7 +124,7 @@
  * @param key The key datum to find this record
  * @param pvalue The value datum retrieved for this record
  */
-APU_DECLARE(apr_status_t) apr_dbm_fetch(apr_dbm_t *dbm, apr_datum_t key,
+APR_DECLARE(apr_status_t) apr_dbm_fetch(apr_dbm_t *dbm, apr_datum_t key,
                                         apr_datum_t *pvalue);
 /**
  * Store a dbm record value by key
@@ -132,7 +132,7 @@
  * @param key The key datum to store this record by
  * @param value The value datum to store in this record
  */
-APU_DECLARE(apr_status_t) apr_dbm_store(apr_dbm_t *dbm, apr_datum_t key, 
+APR_DECLARE(apr_status_t) apr_dbm_store(apr_dbm_t *dbm, apr_datum_t key, 
                                         apr_datum_t value);
 
 /**
@@ -141,35 +141,35 @@
  * @param key The key datum of the record to delete
  * @remark It is not an error to delete a non-existent record.
  */
-APU_DECLARE(apr_status_t) apr_dbm_delete(apr_dbm_t *dbm, apr_datum_t key);
+APR_DECLARE(apr_status_t) apr_dbm_delete(apr_dbm_t *dbm, apr_datum_t key);
 
 /**
  * Search for a key within the dbm
  * @param dbm The database 
  * @param key The datum describing a key to test
  */
-APU_DECLARE(int) apr_dbm_exists(apr_dbm_t *dbm, apr_datum_t key);
+APR_DECLARE(int) apr_dbm_exists(apr_dbm_t *dbm, apr_datum_t key);
 
 /**
  * Retrieve the first record key from a dbm
  * @param dbm The database 
  * @param pkey The key datum of the first record
  */
-APU_DECLARE(apr_status_t) apr_dbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey);
+APR_DECLARE(apr_status_t) apr_dbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey);
 
 /**
  * Retrieve the next record key from a dbm
  * @param dbm The database 
  * @param pkey The key datum of the next record
  */
-APU_DECLARE(apr_status_t) apr_dbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey);
+APR_DECLARE(apr_status_t) apr_dbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey);
 
 /**
  * Proactively toss any memory associated with the apr_datum_t.
  * @param dbm The database 
  * @param data The datum to free.
  */
-APU_DECLARE(void) apr_dbm_freedatum(apr_dbm_t *dbm, apr_datum_t data);
+APR_DECLARE(void) apr_dbm_freedatum(apr_dbm_t *dbm, apr_datum_t data);
 
 /**
  * Report more information when an apr_dbm function fails.
@@ -180,7 +180,7 @@
  * @param errbufsize The size of the provided buffer
  * @return The errbuf parameter, for convenience.
  */
-APU_DECLARE(char *) apr_dbm_geterror(apr_dbm_t *dbm, int *errcode,
+APR_DECLARE(char *) apr_dbm_geterror(apr_dbm_t *dbm, int *errcode,
                                      char *errbuf, apr_size_t errbufsize);
 /**
  * If the specified file/path were passed to apr_dbm_open(), return the
@@ -196,7 +196,7 @@
  * @remark The dbm file(s) don't need to exist. This function only manipulates
  *      the pathnames.
  */
-APU_DECLARE(apr_status_t) apr_dbm_get_usednames_ex(apr_pool_t *pool,
+APR_DECLARE(apr_status_t) apr_dbm_get_usednames_ex(apr_pool_t *pool,
                                                    const char *type,
                                                    const char *pathname,
                                                    const char **used1,
@@ -214,7 +214,7 @@
  * @remark The dbm file(s) don't need to exist. This function only manipulates
  *      the pathnames.
  */
-APU_DECLARE(void) apr_dbm_get_usednames(apr_pool_t *pool,
+APR_DECLARE(void) apr_dbm_get_usednames(apr_pool_t *pool,
                                         const char *pathname,
                                         const char **used1,
                                         const char **used2);

Modified: apr/apr/trunk/include/apr_hooks.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_hooks.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_hooks.h (original)
+++ apr/apr/trunk/include/apr_hooks.h Thu Jul 16 04:52:56 2009
@@ -247,30 +247,30 @@
 /**
  * The global pool used to allocate any memory needed by the hooks.
  */ 
-APU_DECLARE_DATA extern apr_pool_t *apr_hook_global_pool;
+APR_DECLARE_DATA extern apr_pool_t *apr_hook_global_pool;
 
 /**
  * A global variable to determine if debugging information about the
  * hooks functions should be printed
  */ 
-APU_DECLARE_DATA extern int apr_hook_debug_enabled;
+APR_DECLARE_DATA extern int apr_hook_debug_enabled;
 
 /**
  * The name of the module that is currently registering a function
  */ 
-APU_DECLARE_DATA extern const char *apr_hook_debug_current;
+APR_DECLARE_DATA extern const char *apr_hook_debug_current;
 
 /**
  * Register a hook function to be sorted
  * @param szHookName The name of the Hook the function is registered for
  * @param aHooks The array which stores all of the functions for this hook
  */
-APU_DECLARE(void) apr_hook_sort_register(const char *szHookName, 
+APR_DECLARE(void) apr_hook_sort_register(const char *szHookName, 
                                         apr_array_header_t **aHooks);
 /**
  * Sort all of the registerd functions for a given hook
  */
-APU_DECLARE(void) apr_hook_sort_all(void);
+APR_DECLARE(void) apr_hook_sort_all(void);
 
 /**
  * Print all of the information about the current hook.  This is used for
@@ -279,14 +279,14 @@
  * @param aszPre All of the functions in the predecessor array
  * @param aszSucc All of the functions in the successor array
  */
-APU_DECLARE(void) apr_hook_debug_show(const char *szName,
+APR_DECLARE(void) apr_hook_debug_show(const char *szName,
                                       const char * const *aszPre,
                                       const char * const *aszSucc);
 
 /**
  * Remove all currently registered functions.
  */
-APU_DECLARE(void) apr_hook_deregister_all(void);
+APR_DECLARE(void) apr_hook_deregister_all(void);
 
 /** @} */
 #ifdef __cplusplus

Modified: apr/apr/trunk/include/apr_ldap.h.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap.h.in?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap.h.in (original)
+++ apr/apr/trunk/include/apr_ldap.h.in Thu Jul 16 04:52:56 2009
@@ -182,9 +182,9 @@
 #define apr_ldap_rebind_add apr__ldap_rebind_add
 #define apr_ldap_rebind_remove apr__ldap_rebind_remove
 
-#define APU_DECLARE_LDAP(type) type
+#define APR_DECLARE_LDAP(type) type
 #else
-#define APU_DECLARE_LDAP(type) APU_DECLARE(type)
+#define APR_DECLARE_LDAP(type) APR_DECLARE(type)
 #endif
 
 #include "apr_ldap_url.h"

Modified: apr/apr/trunk/include/apr_ldap.hnw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap.hnw?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap.hnw (original)
+++ apr/apr/trunk/include/apr_ldap.hnw Thu Jul 16 04:52:56 2009
@@ -142,9 +142,9 @@
 #define apr_ldap_rebind_add apr__ldap_rebind_add
 #define apr_ldap_rebind_remove apr__ldap_rebind_remove
 
-#define APU_DECLARE_LDAP(type) type
+#define APR_DECLARE_LDAP(type) type
 #else
-#define APU_DECLARE_LDAP(type) APU_DECLARE(type)
+#define APR_DECLARE_LDAP(type) APR_DECLARE(type)
 #endif
 
 #include "apr_ldap_url.h"

Modified: apr/apr/trunk/include/apr_ldap.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap.hw?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap.hw (original)
+++ apr/apr/trunk/include/apr_ldap.hw Thu Jul 16 04:52:56 2009
@@ -182,9 +182,9 @@
 #define apr_ldap_rebind_add apr__ldap_rebind_add
 #define apr_ldap_rebind_remove apr__ldap_rebind_remove
 
-#define APU_DECLARE_LDAP(type) type
+#define APR_DECLARE_LDAP(type) type
 #else
-#define APU_DECLARE_LDAP(type) APU_DECLARE(type)
+#define APR_DECLARE_LDAP(type) APR_DECLARE(type)
 #endif
 
 #include "apr_ldap_url.h"

Modified: apr/apr/trunk/include/apr_ldap_init.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap_init.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap_init.h (original)
+++ apr/apr/trunk/include/apr_ldap_init.h Thu Jul 16 04:52:56 2009
@@ -86,7 +86,7 @@
  * apr_ldap_set_option() APR_LDAP_OPT_TLS_CERT option for details.
  * @param result_err The returned result
  */
-APU_DECLARE_LDAP(int) apr_ldap_ssl_init(apr_pool_t *pool,
+APR_DECLARE_LDAP(int) apr_ldap_ssl_init(apr_pool_t *pool,
                                         const char *cert_auth_file,
                                         int cert_file_type,
                                         apr_ldap_err_t **result_err);
@@ -100,7 +100,7 @@
  * @todo currently we do not check whether apr_ldap_ssl_init()
  * has been called first - we probably should.
  */
-APU_DECLARE_LDAP(int) apr_ldap_ssl_deinit(void);
+APR_DECLARE_LDAP(int) apr_ldap_ssl_deinit(void);
 
 /**
  * APR LDAP initialise function
@@ -136,7 +136,7 @@
  * @param secure The security mode to set
  * @param result_err The returned result
  */
-APU_DECLARE_LDAP(int) apr_ldap_init(apr_pool_t *pool,
+APR_DECLARE_LDAP(int) apr_ldap_init(apr_pool_t *pool,
                                     LDAP **ldap,
                                     const char *hostname,
                                     int portno,
@@ -151,7 +151,7 @@
  * @param pool The pool to use
  * @param result_err The returned result
  */
-APU_DECLARE_LDAP(int) apr_ldap_info(apr_pool_t *pool,
+APR_DECLARE_LDAP(int) apr_ldap_info(apr_pool_t *pool,
                                     apr_ldap_err_t **result_err);
 
 #ifdef __cplusplus

Modified: apr/apr/trunk/include/apr_ldap_option.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap_option.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap_option.h (original)
+++ apr/apr/trunk/include/apr_ldap_option.h Thu Jul 16 04:52:56 2009
@@ -214,7 +214,7 @@
  * @param result_err The apr_ldap_err_t structure contained detailed results
  *        of the operation.
  */
-APU_DECLARE_LDAP(int) apr_ldap_get_option(apr_pool_t *pool,
+APR_DECLARE_LDAP(int) apr_ldap_get_option(apr_pool_t *pool,
                                           LDAP *ldap,
                                           int option,
                                           void *outvalue,
@@ -236,7 +236,7 @@
  * @param result_err The apr_ldap_err_t structure contained detailed results
  *        of the operation.
  */
-APU_DECLARE_LDAP(int) apr_ldap_set_option(apr_pool_t *pool,
+APR_DECLARE_LDAP(int) apr_ldap_set_option(apr_pool_t *pool,
                                           LDAP *ldap,
                                           int option,
                                           const void *invalue,

Modified: apr/apr/trunk/include/apr_ldap_rebind.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap_rebind.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap_rebind.h (original)
+++ apr/apr/trunk/include/apr_ldap_rebind.h Thu Jul 16 04:52:56 2009
@@ -48,7 +48,7 @@
  * This function creates the lock for controlling access to the xref list..
  * @param pool Pool to use when creating the xref_lock.
  */
-APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_init(apr_pool_t *pool);
+APR_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_init(apr_pool_t *pool);
 
 
 /**
@@ -72,7 +72,7 @@
  * @param bindPW The bind Password to be used for any binds while 
  *               chasing referrals on this ldap connection.
  */
-APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_add(apr_pool_t *pool,
+APR_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_add(apr_pool_t *pool,
                                                    LDAP *ld,
                                                    const char *bindDN,
                                                    const char *bindPW);
@@ -88,7 +88,7 @@
  *
  * @param ld The LDAP connectionhandle
  */
-APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_remove(LDAP *ld);
+APR_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_remove(LDAP *ld);
 
 #endif /* APR_HAS_LDAP */
 

Modified: apr/apr/trunk/include/apr_ldap_url.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_ldap_url.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_ldap_url.h (original)
+++ apr/apr/trunk/include/apr_ldap_url.h Thu Jul 16 04:52:56 2009
@@ -71,19 +71,19 @@
  * Is this URL an ldap url? ldap://
  * @param url The url to test
  */
-APU_DECLARE(int) apr_ldap_is_ldap_url(const char *url);
+APR_DECLARE(int) apr_ldap_is_ldap_url(const char *url);
 
 /**
  * Is this URL an SSL ldap url? ldaps://
  * @param url The url to test
  */
-APU_DECLARE(int) apr_ldap_is_ldaps_url(const char *url);
+APR_DECLARE(int) apr_ldap_is_ldaps_url(const char *url);
 
 /**
  * Is this URL an ldap socket url? ldapi://
  * @param url The url to test
  */
-APU_DECLARE(int) apr_ldap_is_ldapi_url(const char *url);
+APR_DECLARE(int) apr_ldap_is_ldapi_url(const char *url);
 
 /**
  * Parse an LDAP URL.
@@ -92,7 +92,7 @@
  * @param ludpp The structure to return the exploded URL
  * @param result_err The result structure of the operation
  */
-APU_DECLARE(int) apr_ldap_url_parse_ext(apr_pool_t *pool,
+APR_DECLARE(int) apr_ldap_url_parse_ext(apr_pool_t *pool,
                                         const char *url_in,
                                         apr_ldap_url_desc_t **ludpp,
                                         apr_ldap_err_t **result_err);
@@ -104,7 +104,7 @@
  * @param ludpp The structure to return the exploded URL
  * @param result_err The result structure of the operation
  */
-APU_DECLARE(int) apr_ldap_url_parse(apr_pool_t *pool,
+APR_DECLARE(int) apr_ldap_url_parse(apr_pool_t *pool,
                                     const char *url_in,
                                     apr_ldap_url_desc_t **ludpp,
                                     apr_ldap_err_t **result_err);

Modified: apr/apr/trunk/include/apr_md4.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_md4.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_md4.h (original)
+++ apr/apr/trunk/include/apr_md4.h Thu Jul 16 04:52:56 2009
@@ -81,7 +81,7 @@
  * MD4 Initialize.  Begins an MD4 operation, writing a new context.
  * @param context The MD4 context to initialize.
  */
-APU_DECLARE(apr_status_t) apr_md4_init(apr_md4_ctx_t *context);
+APR_DECLARE(apr_status_t) apr_md4_init(apr_md4_ctx_t *context);
 
 #if APR_HAS_XLATE
 /**
@@ -90,7 +90,7 @@
  * @param context The MD4 content to set the translation for.
  * @param xlate The translation handle to use for this MD4 context 
  */
-APU_DECLARE(apr_status_t) apr_md4_set_xlate(apr_md4_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_md4_set_xlate(apr_md4_ctx_t *context,
                                             apr_xlate_t *xlate);
 #else
 #define apr_md4_set_xlate(context, xlate) APR_ENOTIMPL
@@ -103,7 +103,7 @@
  * @param input next message block to update
  * @param inputLen The length of the next message block
  */
-APU_DECLARE(apr_status_t) apr_md4_update(apr_md4_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_md4_update(apr_md4_ctx_t *context,
                                          const unsigned char *input,
                                          apr_size_t inputLen);
 
@@ -113,7 +113,7 @@
  * @param digest The final MD4 digest
  * @param context The MD4 content we are finalizing.
  */
-APU_DECLARE(apr_status_t) apr_md4_final(
+APR_DECLARE(apr_status_t) apr_md4_final(
                                     unsigned char digest[APR_MD4_DIGESTSIZE],
                                     apr_md4_ctx_t *context);
 
@@ -123,7 +123,7 @@
  * @param input message block to use
  * @param inputLen The length of the message block
  */
-APU_DECLARE(apr_status_t) apr_md4(unsigned char digest[APR_MD4_DIGESTSIZE],
+APR_DECLARE(apr_status_t) apr_md4(unsigned char digest[APR_MD4_DIGESTSIZE],
                                   const unsigned char *input,
                                   apr_size_t inputLen);
 

Modified: apr/apr/trunk/include/apr_md5.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_md5.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_md5.h (original)
+++ apr/apr/trunk/include/apr_md5.h Thu Jul 16 04:52:56 2009
@@ -88,7 +88,7 @@
  * MD5 Initialize.  Begins an MD5 operation, writing a new context.
  * @param context The MD5 context to initialize.
  */
-APU_DECLARE(apr_status_t) apr_md5_init(apr_md5_ctx_t *context);
+APR_DECLARE(apr_status_t) apr_md5_init(apr_md5_ctx_t *context);
 
 /**
  * MD5 translation setup.  Provides the APR translation handle to be used 
@@ -96,7 +96,7 @@
  * @param context The MD5 content to set the translation for.
  * @param xlate The translation handle to use for this MD5 context 
  */
-APU_DECLARE(apr_status_t) apr_md5_set_xlate(apr_md5_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_md5_set_xlate(apr_md5_ctx_t *context,
                                             apr_xlate_t *xlate);
 
 /**
@@ -106,7 +106,7 @@
  * @param input next message block to update
  * @param inputLen The length of the next message block
  */
-APU_DECLARE(apr_status_t) apr_md5_update(apr_md5_ctx_t *context,
+APR_DECLARE(apr_status_t) apr_md5_update(apr_md5_ctx_t *context,
                                          const void *input,
                                          apr_size_t inputLen);
 
@@ -116,7 +116,7 @@
  * @param digest The final MD5 digest
  * @param context The MD5 content we are finalizing.
  */
-APU_DECLARE(apr_status_t) apr_md5_final(unsigned char digest[APR_MD5_DIGESTSIZE],
+APR_DECLARE(apr_status_t) apr_md5_final(unsigned char digest[APR_MD5_DIGESTSIZE],
                                         apr_md5_ctx_t *context);
 
 /**
@@ -125,7 +125,7 @@
  * @param input The message block to use
  * @param inputLen The length of the message block
  */
-APU_DECLARE(apr_status_t) apr_md5(unsigned char digest[APR_MD5_DIGESTSIZE],
+APR_DECLARE(apr_status_t) apr_md5(unsigned char digest[APR_MD5_DIGESTSIZE],
                                   const void *input,
                                   apr_size_t inputLen);
 
@@ -136,7 +136,7 @@
  * @param result The string to store the encoded password in
  * @param nbytes The size of the result buffer
  */
-APU_DECLARE(apr_status_t) apr_md5_encode(const char *password, const char *salt,
+APR_DECLARE(apr_status_t) apr_md5_encode(const char *password, const char *salt,
                                          char *result, apr_size_t nbytes);
 
 
@@ -150,7 +150,7 @@
  * @param passwd The password to validate
  * @param hash The password to validate against
  */
-APU_DECLARE(apr_status_t) apr_password_validate(const char *passwd, 
+APR_DECLARE(apr_status_t) apr_password_validate(const char *passwd, 
                                                 const char *hash);
 
 

Modified: apr/apr/trunk/include/apr_memcache.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_memcache.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_memcache.h (original)
+++ apr/apr/trunk/include/apr_memcache.h Thu Jul 16 04:52:56 2009
@@ -125,21 +125,21 @@
  * @return crc32 hash of data
  * @remark The crc32 hash is not compatible with old memcached clients.
  */
-APU_DECLARE(apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc,
                                             const char *data,
                                             const apr_size_t data_len);
 
 /**
  * Pure CRC32 Hash. Used by some clients.
  */
-APU_DECLARE(apr_uint32_t) apr_memcache_hash_crc32(void *baton,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash_crc32(void *baton,
                                                   const char *data,
                                                   const apr_size_t data_len);
 
 /**
  * hash compatible with the standard Perl Client.
  */
-APU_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton,
+APR_DECLARE(apr_uint32_t) apr_memcache_hash_default(void *baton,
                                                     const char *data,
                                                     const apr_size_t data_len);
 
@@ -150,13 +150,13 @@
  * @return server that controls specified hash
  * @see apr_memcache_hash
  */
-APU_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc, 
+APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc, 
                                                                    const apr_uint32_t hash);
 
 /**
  * server selection compatible with the standard Perl Client.
  */
-APU_DECLARE(apr_memcache_server_t *)
+APR_DECLARE(apr_memcache_server_t *)
 apr_memcache_find_server_hash_default(void *baton,
                                       apr_memcache_t *mc, 
                                       const apr_uint32_t hash);
@@ -169,7 +169,7 @@
  * @warning Changing servers after startup may cause keys to go to
  * different servers.
  */
-APU_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc,
                                                   apr_memcache_server_t *server);
 
 
@@ -180,7 +180,7 @@
  * @param port Port of the server
  * @return Server with matching Hostname and Port, or NULL if none was found.
  */
-APU_DECLARE(apr_memcache_server_t *) apr_memcache_find_server(apr_memcache_t *mc,
+APR_DECLARE(apr_memcache_server_t *) apr_memcache_find_server(apr_memcache_t *mc,
                                                               const char *host,
                                                               apr_port_t port);
 
@@ -189,7 +189,7 @@
  * @param mc The memcache client object to use
  * @param ms Server to Activate
  */
-APU_DECLARE(apr_status_t) apr_memcache_enable_server(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_enable_server(apr_memcache_t *mc,
                                                      apr_memcache_server_t *ms);
 
 
@@ -198,7 +198,7 @@
  * @param mc The memcache client object to use
  * @param ms Server to Disable
  */
-APU_DECLARE(apr_status_t) apr_memcache_disable_server(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_disable_server(apr_memcache_t *mc,
                                                       apr_memcache_server_t *ms);
 
 /**
@@ -214,7 +214,7 @@
  * @see apr_reslist_create
  * @remark min, smax, and max are only used when APR_HAS_THREADS
  */
-APU_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
+APR_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
                                                      const char *host,
                                                      apr_port_t port,
                                                      apr_uint32_t min,
@@ -229,7 +229,7 @@
  * @param flags Not currently used
  * @param mc   location of the new memcache client object
  */
-APU_DECLARE(apr_status_t) apr_memcache_create(apr_pool_t *p,
+APR_DECLARE(apr_status_t) apr_memcache_create(apr_pool_t *p,
                                               apr_uint16_t max_servers,
                                               apr_uint32_t flags,
                                               apr_memcache_t **mc);
@@ -244,7 +244,7 @@
  * @param flags any flags set by the client for this key
  * @return 
  */
-APU_DECLARE(apr_status_t) apr_memcache_getp(apr_memcache_t *mc, 
+APR_DECLARE(apr_status_t) apr_memcache_getp(apr_memcache_t *mc, 
                                             apr_pool_t *p,
                                             const char* key,
                                             char **baton,
@@ -260,7 +260,7 @@
  * @param values hash of keys and values that this key will be added to
  * @return
  */
-APU_DECLARE(void) apr_memcache_add_multget_key(apr_pool_t *data_pool,
+APR_DECLARE(void) apr_memcache_add_multget_key(apr_pool_t *data_pool,
                                                const char* key,
                                                apr_hash_t **values);
 
@@ -274,7 +274,7 @@
  *        result of the multiget call.
  * @return
  */
-APU_DECLARE(apr_status_t) apr_memcache_multgetp(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_multgetp(apr_memcache_t *mc,
                                                 apr_pool_t *temp_pool,
                                                 apr_pool_t *data_pool,
                                                 apr_hash_t *values);
@@ -288,7 +288,7 @@
  * @param timeout time in seconds for the data to live on the server
  * @param flags any flags set by the client for this key
  */
-APU_DECLARE(apr_status_t) apr_memcache_set(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_set(apr_memcache_t *mc,
                                            const char *key,
                                            char *baton,
                                            const apr_size_t data_size,
@@ -306,7 +306,7 @@
  * @return APR_SUCCESS if the key was added, APR_EEXIST if the key 
  * already exists on the server.
  */
-APU_DECLARE(apr_status_t) apr_memcache_add(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_add(apr_memcache_t *mc,
                                            const char *key,
                                            char *baton,
                                            const apr_size_t data_size,
@@ -324,7 +324,7 @@
  * @return APR_SUCCESS if the key was added, APR_EEXIST if the key 
  * did not exist on the server.
  */
-APU_DECLARE(apr_status_t) apr_memcache_replace(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_replace(apr_memcache_t *mc,
                                                const char *key,
                                                char *data,
                                                const apr_size_t data_size,
@@ -336,7 +336,7 @@
  * @param key   null terminated string containing the key
  * @param timeout time for the delete to stop other clients from adding
  */
-APU_DECLARE(apr_status_t) apr_memcache_delete(apr_memcache_t *mc,
+APR_DECLARE(apr_status_t) apr_memcache_delete(apr_memcache_t *mc,
                                               const char *key,
                                               apr_uint32_t timeout);
 
@@ -347,7 +347,7 @@
  * @param n     number to increment by
  * @param nv    new value after incrmenting
  */
-APU_DECLARE(apr_status_t) apr_memcache_incr(apr_memcache_t *mc, 
+APR_DECLARE(apr_status_t) apr_memcache_incr(apr_memcache_t *mc, 
                                             const char *key,
                                             apr_int32_t n,
                                             apr_uint32_t *nv);
@@ -359,7 +359,7 @@
  * @param n     number to decrement by
  * @param nv    new value after decrementing
  */
-APU_DECLARE(apr_status_t) apr_memcache_decr(apr_memcache_t *mc, 
+APR_DECLARE(apr_status_t) apr_memcache_decr(apr_memcache_t *mc, 
                                             const char *key,
                                             apr_int32_t n,
                                             apr_uint32_t *new_value);
@@ -371,7 +371,7 @@
  * @param baton location to store server version string
  * @param len   length of the server version string
  */
-APU_DECLARE(apr_status_t) apr_memcache_version(apr_memcache_server_t *ms,
+APR_DECLARE(apr_status_t) apr_memcache_version(apr_memcache_server_t *ms,
                                                apr_pool_t *p,
                                                char **baton);
 
@@ -430,7 +430,7 @@
  * @param p     Pool to allocate answer from
  * @param stats location of the new statistics structure
  */
-APU_DECLARE(apr_status_t) apr_memcache_stats(apr_memcache_server_t *ms, 
+APR_DECLARE(apr_status_t) apr_memcache_stats(apr_memcache_server_t *ms, 
                                              apr_pool_t *p,
                                              apr_memcache_stats_t **stats);
 

Modified: apr/apr/trunk/include/apr_optional.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_optional.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_optional.h (original)
+++ apr/apr/trunk/include/apr_optional.h Thu Jul 16 04:52:56 2009
@@ -58,7 +58,7 @@
 
 typedef void (apr_opt_fn_t)(void);
 /** @internal */
-APU_DECLARE_NONSTD(void) apr_dynamic_fn_register(const char *szName, 
+APR_DECLARE_NONSTD(void) apr_dynamic_fn_register(const char *szName, 
                                                   apr_opt_fn_t *pfn);
 
 /**
@@ -75,7 +75,7 @@
 /** @internal
  * Private function! DO NOT USE! 
  */
-APU_DECLARE(apr_opt_fn_t *) apr_dynamic_fn_retrieve(const char *szName);
+APR_DECLARE(apr_opt_fn_t *) apr_dynamic_fn_retrieve(const char *szName);
 
 /**
  * Retrieve an optional function. Returns NULL if the function is not present.

Modified: apr/apr/trunk/include/apr_optional_hooks.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_optional_hooks.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_optional_hooks.h (original)
+++ apr/apr/trunk/include/apr_optional_hooks.h Thu Jul 16 04:52:56 2009
@@ -45,7 +45,7 @@
  */
 
 
-APU_DECLARE(void) apr_optional_hook_add(const char *szName,void (*pfn)(void),
+APR_DECLARE(void) apr_optional_hook_add(const char *szName,void (*pfn)(void),
 					const char * const *aszPre,
 					const char * const *aszSucc,
 					int nOrder);
@@ -71,7 +71,7 @@
  * @param szName - the name of the function
  * @return the hook structure for a given hook
  */
-APU_DECLARE(apr_array_header_t *) apr_optional_hook_get(const char *szName);
+APR_DECLARE(apr_array_header_t *) apr_optional_hook_get(const char *szName);
 
 /**
  * Implement an optional hook that runs until one of the functions

Modified: apr/apr/trunk/include/apr_queue.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_queue.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_queue.h (original)
+++ apr/apr/trunk/include/apr_queue.h Thu Jul 16 04:52:56 2009
@@ -52,7 +52,7 @@
  * @param queue_capacity maximum size of the queue
  * @param a pool to allocate queue from
  */
-APU_DECLARE(apr_status_t) apr_queue_create(apr_queue_t **queue, 
+APR_DECLARE(apr_status_t) apr_queue_create(apr_queue_t **queue, 
                                            unsigned int queue_capacity, 
                                            apr_pool_t *a);
 
@@ -65,7 +65,7 @@
  * @returns APR_EOF the queue has been terminated
  * @returns APR_SUCCESS on a successful push
  */
-APU_DECLARE(apr_status_t) apr_queue_push(apr_queue_t *queue, void *data);
+APR_DECLARE(apr_status_t) apr_queue_push(apr_queue_t *queue, void *data);
 
 /**
  * pop/get an object from the queue, blocking if the queue is already empty
@@ -76,7 +76,7 @@
  * @returns APR_EOF if the queue has been terminated
  * @returns APR_SUCCESS on a successful pop
  */
-APU_DECLARE(apr_status_t) apr_queue_pop(apr_queue_t *queue, void **data);
+APR_DECLARE(apr_status_t) apr_queue_pop(apr_queue_t *queue, void **data);
 
 /**
  * push/add an object to the queue, returning immediately if the queue is full
@@ -88,7 +88,7 @@
  * @returns APR_EOF the queue has been terminated
  * @returns APR_SUCCESS on a successful push
  */
-APU_DECLARE(apr_status_t) apr_queue_trypush(apr_queue_t *queue, void *data);
+APR_DECLARE(apr_status_t) apr_queue_trypush(apr_queue_t *queue, void *data);
 
 /**
  * pop/get an object to the queue, returning immediately if the queue is empty
@@ -100,7 +100,7 @@
  * @returns APR_EOF the queue has been terminated
  * @returns APR_SUCCESS on a successful push
  */
-APU_DECLARE(apr_status_t) apr_queue_trypop(apr_queue_t *queue, void **data);
+APR_DECLARE(apr_status_t) apr_queue_trypop(apr_queue_t *queue, void **data);
 
 /**
  * returns the size of the queue.
@@ -110,14 +110,14 @@
  * @param queue the queue
  * @returns the size of the queue
  */
-APU_DECLARE(unsigned int) apr_queue_size(apr_queue_t *queue);
+APR_DECLARE(unsigned int) apr_queue_size(apr_queue_t *queue);
 
 /**
  * interrupt all the threads blocking on this queue.
  *
  * @param queue the queue
  */
-APU_DECLARE(apr_status_t) apr_queue_interrupt_all(apr_queue_t *queue);
+APR_DECLARE(apr_status_t) apr_queue_interrupt_all(apr_queue_t *queue);
 
 /**
  * terminate the queue, sending an interrupt to all the
@@ -125,7 +125,7 @@
  *
  * @param queue the queue
  */
-APU_DECLARE(apr_status_t) apr_queue_term(apr_queue_t *queue);
+APR_DECLARE(apr_status_t) apr_queue_term(apr_queue_t *queue);
 
 #ifdef __cplusplus
 }

Modified: apr/apr/trunk/include/apr_reslist.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_reslist.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_reslist.h (original)
+++ apr/apr/trunk/include/apr_reslist.h Thu Jul 16 04:52:56 2009
@@ -84,7 +84,7 @@
  *         automatically set to 1 and values of min and smax will be forced to
  *         1 for any non-zero value.
  */
-APU_DECLARE(apr_status_t) apr_reslist_create(apr_reslist_t **reslist,
+APR_DECLARE(apr_status_t) apr_reslist_create(apr_reslist_t **reslist,
                                              int min, int smax, int hmax,
                                              apr_interval_time_t ttl,
                                              apr_reslist_constructor con,
@@ -103,20 +103,20 @@
  *        have been released to the list before calling this function.
  * @param reslist The reslist to destroy
  */
-APU_DECLARE(apr_status_t) apr_reslist_destroy(apr_reslist_t *reslist);
+APR_DECLARE(apr_status_t) apr_reslist_destroy(apr_reslist_t *reslist);
 
 /**
  * Retrieve a resource from the list, creating a new one if necessary.
  * If we have met our maximum number of resources, we will block
  * until one becomes available.
  */
-APU_DECLARE(apr_status_t) apr_reslist_acquire(apr_reslist_t *reslist,
+APR_DECLARE(apr_status_t) apr_reslist_acquire(apr_reslist_t *reslist,
                                               void **resource);
 
 /**
  * Return a resource back to the list of available resources.
  */
-APU_DECLARE(apr_status_t) apr_reslist_release(apr_reslist_t *reslist,
+APR_DECLARE(apr_status_t) apr_reslist_release(apr_reslist_t *reslist,
                                               void *resource);
 
 /**
@@ -125,21 +125,21 @@
  * @param reslist The resource list.
  * @param timeout Timeout to wait. The zero waits forever.
  */
-APU_DECLARE(void) apr_reslist_timeout_set(apr_reslist_t *reslist,
+APR_DECLARE(void) apr_reslist_timeout_set(apr_reslist_t *reslist,
                                           apr_interval_time_t timeout);
 
 /**
  * Return the number of outstanding resources.
  * @param reslist The resource list.
  */
-APU_DECLARE(apr_uint32_t) apr_reslist_acquired_count(apr_reslist_t *reslist);
+APR_DECLARE(apr_uint32_t) apr_reslist_acquired_count(apr_reslist_t *reslist);
 
 /**
  * Invalidate a resource in the pool - e.g. a database connection
  * that returns a "lost connection" error and can't be restored.
  * Use this instead of apr_reslist_release if the resource is bad.
  */
-APU_DECLARE(apr_status_t) apr_reslist_invalidate(apr_reslist_t *reslist,
+APR_DECLARE(apr_status_t) apr_reslist_invalidate(apr_reslist_t *reslist,
                                                  void *resource);
 
 /**
@@ -147,7 +147,7 @@
  * may instantiate new resources or expire old resources.
  * @param reslist The resource list.
  */
-APU_DECLARE(apr_status_t) apr_reslist_maintain(apr_reslist_t *reslist);
+APR_DECLARE(apr_status_t) apr_reslist_maintain(apr_reslist_t *reslist);
 
 /**
  * Set reslist cleanup order.
@@ -162,7 +162,7 @@
  * are destroyed. This allows to explicitly destroy the child pools
  * inside reslist destructors.
  */
-APU_DECLARE(void) apr_reslist_cleanup_order_set(apr_reslist_t *reslist,
+APR_DECLARE(void) apr_reslist_cleanup_order_set(apr_reslist_t *reslist,
                                                 apr_uint32_t mode);
 
 #ifdef __cplusplus

Modified: apr/apr/trunk/include/apr_rmm.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_rmm.h?rev=794523&r1=794522&r2=794523&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_rmm.h (original)
+++ apr/apr/trunk/include/apr_rmm.h Thu Jul 16 04:52:56 2009
@@ -53,7 +53,7 @@
  * @remark Both @param membuf and @param memsize must be aligned
  * (for instance using APR_ALIGN_DEFAULT).
  */
-APU_DECLARE(apr_status_t) apr_rmm_init(apr_rmm_t **rmm, apr_anylock_t *lock,
+APR_DECLARE(apr_status_t) apr_rmm_init(apr_rmm_t **rmm, apr_anylock_t *lock,
                                        void *membuf, apr_size_t memsize, 
                                        apr_pool_t *cont);
 
@@ -61,7 +61,7 @@
  * Destroy a managed memory block.
  * @param rmm The relocatable memory block to destroy
  */
-APU_DECLARE(apr_status_t) apr_rmm_destroy(apr_rmm_t *rmm);
+APR_DECLARE(apr_status_t) apr_rmm_destroy(apr_rmm_t *rmm);
 
 /**
  * Attach to a relocatable memory block already managed by the apr_rmm API.
@@ -70,21 +70,21 @@
  * @param membuf The block of relocatable memory already under management
  * @param cont The pool to use for local storage and management
  */
-APU_DECLARE(apr_status_t) apr_rmm_attach(apr_rmm_t **rmm, apr_anylock_t *lock,
+APR_DECLARE(apr_status_t) apr_rmm_attach(apr_rmm_t **rmm, apr_anylock_t *lock,
                                          void *membuf, apr_pool_t *cont);
 
 /**
  * Detach from the managed block of memory.
  * @param rmm The relocatable memory block to detach from
  */
-APU_DECLARE(apr_status_t) apr_rmm_detach(apr_rmm_t *rmm);
+APR_DECLARE(apr_status_t) apr_rmm_detach(apr_rmm_t *rmm);
 
 /**
  * Allocate memory from the block of relocatable memory.
  * @param rmm The relocatable memory block
  * @param reqsize How much memory to allocate
  */
-APU_DECLARE(apr_rmm_off_t) apr_rmm_malloc(apr_rmm_t *rmm, apr_size_t reqsize);
+APR_DECLARE(apr_rmm_off_t) apr_rmm_malloc(apr_rmm_t *rmm, apr_size_t reqsize);
 
 /**
  * Realloc memory from the block of relocatable memory.
@@ -92,21 +92,21 @@
  * @param entity The memory allocation to realloc
  * @param reqsize The new size
  */
-APU_DECLARE(apr_rmm_off_t) apr_rmm_realloc(apr_rmm_t *rmm, void *entity, apr_size_t reqsize);
+APR_DECLARE(apr_rmm_off_t) apr_rmm_realloc(apr_rmm_t *rmm, void *entity, apr_size_t reqsize);
 
 /**
  * Allocate memory from the block of relocatable memory and initialize it to zero.
  * @param rmm The relocatable memory block
  * @param reqsize How much memory to allocate
  */
-APU_DECLARE(apr_rmm_off_t) apr_rmm_calloc(apr_rmm_t *rmm, apr_size_t reqsize);
+APR_DECLARE(apr_rmm_off_t) apr_rmm_calloc(apr_rmm_t *rmm, apr_size_t reqsize);
 
 /**
  * Free allocation returned by apr_rmm_malloc or apr_rmm_calloc.
  * @param rmm The relocatable memory block
  * @param entity The memory allocation to free
  */
-APU_DECLARE(apr_status_t) apr_rmm_free(apr_rmm_t *rmm, apr_rmm_off_t entity);
+APR_DECLARE(apr_status_t) apr_rmm_free(apr_rmm_t *rmm, apr_rmm_off_t entity);
 
 /**
  * Retrieve the physical address of a relocatable allocation of memory
@@ -114,20 +114,20 @@
  * @param entity The memory allocation to free
  * @return address The address, aligned with APR_ALIGN_DEFAULT.
  */
-APU_DECLARE(void *) apr_rmm_addr_get(apr_rmm_t *rmm, apr_rmm_off_t entity);
+APR_DECLARE(void *) apr_rmm_addr_get(apr_rmm_t *rmm, apr_rmm_off_t entity);
 
 /**
  * Compute the offset of a relocatable allocation of memory
  * @param rmm The relocatable memory block
  * @param entity The physical address to convert to an offset
  */
-APU_DECLARE(apr_rmm_off_t) apr_rmm_offset_get(apr_rmm_t *rmm, void *entity);
+APR_DECLARE(apr_rmm_off_t) apr_rmm_offset_get(apr_rmm_t *rmm, void *entity);
 
 /**
  * Compute the required overallocation of memory needed to fit n allocs
  * @param n The number of alloc/calloc regions desired
  */
-APU_DECLARE(apr_size_t) apr_rmm_overhead_get(int n);
+APR_DECLARE(apr_size_t) apr_rmm_overhead_get(int n);
 
 #ifdef __cplusplus
 }



Mime
View raw message