Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 649 invoked from network); 11 Nov 2003 22:03:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Nov 2003 22:03:02 -0000 Received: (qmail 93550 invoked by uid 500); 11 Nov 2003 22:02:49 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 93464 invoked by uid 500); 11 Nov 2003 22:02:48 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 93451 invoked from network); 11 Nov 2003 22:02:48 -0000 Date: 11 Nov 2003 22:03:00 -0000 Message-ID: <20031111220300.590.qmail@minotaur.apache.org> From: bnicholes@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include apr_random.h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bnicholes 2003/11/11 14:03:00 Modified: include apr_random.h Log: Add APR_DECLARE() to the function prototypes so that the will show up in the NetWare export list. Revision Changes Path 1.6 +10 -10 apr/include/apr_random.h Index: apr_random.h =================================================================== RCS file: /home/cvs/apr/include/apr_random.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- apr_random.h 6 Nov 2003 00:25:33 -0000 1.5 +++ apr_random.h 11 Nov 2003 22:03:00 -0000 1.6 @@ -74,23 +74,23 @@ void *data; }; -apr_crypto_hash_t *apr_crypto_sha256_new(apr_pool_t *p); +APR_DECLARE(apr_crypto_hash_t *) apr_crypto_sha256_new(apr_pool_t *p); typedef struct apr_random_t apr_random_t; -void apr_random_init(apr_random_t *g,apr_pool_t *p, +APR_DECLARE(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_t *apr_random_standard_new(apr_pool_t *p); -void apr_random_add_entropy(apr_random_t *g,const void *entropy_, +APR_DECLARE(apr_random_t *) apr_random_standard_new(apr_pool_t *p); +APR_DECLARE(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_DECLARE(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_DECLARE(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); +APR_DECLARE(void) apr_random_barrier(apr_random_t *g); +APR_DECLARE(apr_status_t) apr_random_secure_ready(apr_random_t *r); +APR_DECLARE(apr_status_t) apr_random_insecure_ready(apr_random_t *r); /* 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 @@ -103,6 +103,6 @@ applications need ever call it themselves. */ struct apr_proc_t; -void apr_random_after_fork(struct apr_proc_t *proc); +APR_DECLARE(void) apr_random_after_fork(struct apr_proc_t *proc); #endif /* ndef APR_RANDOM_H */