summaryrefslogtreecommitdiff
path: root/include/apr_sha1.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-05 01:12:28 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-05 01:12:28 +0000
commitb63830faa1cbb7c422e0eb7fe8416c51725ebf50 (patch)
tree300aa1327d8c372084d30c91c69a1eb1d546617a /include/apr_sha1.h
parent4c2d777a149b47ef2fdd52b334d4893b10aa4514 (diff)
downloadlibapr-util-b63830faa1cbb7c422e0eb7fe8416c51725ebf50.tar.gz
Get SHA1 and Base64 building as a part of apr-utils
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@57939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_sha1.h')
-rw-r--r--include/apr_sha1.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/apr_sha1.h b/include/apr_sha1.h
index c040b149..25d0f4a1 100644
--- a/include/apr_sha1.h
+++ b/include/apr_sha1.h
@@ -61,7 +61,7 @@
#ifndef APACHE_SHA1_H
#define APACHE_SHA1_H
-#include "ap_config.h"
+#include "apr_general.h"
#ifdef __cplusplus
extern "C" {
@@ -115,14 +115,14 @@ struct AP_SHA1_CTX {
* to break since the search space is smaller.
* @deffunc void ap_sha1_base64(const char *clear, int len, char *out)
*/
-AP_DECLARE(void) ap_sha1_base64(const char *clear, int len, char *out);
+APR_DECLARE(void) ap_sha1_base64(const char *clear, int len, char *out);
/**
* Initialize the SHA digest
* @param context The SHA context to initialize
* @deffunc void ap_SHA1Init(AP_SHA1_CTX *context);
*/
-AP_DECLARE(void) ap_SHA1Init(AP_SHA1_CTX *context);
+APR_DECLARE(void) ap_SHA1Init(AP_SHA1_CTX *context);
/**
* Update the SHA digest
@@ -131,7 +131,7 @@ AP_DECLARE(void) ap_SHA1Init(AP_SHA1_CTX *context);
* @param inputLen The length of the input buffer
* @deffunc void ap_SHA1Update(AP_SHA1_CTX *context, const char *input, unsigned int inputLen)
*/
-AP_DECLARE(void) ap_SHA1Update(AP_SHA1_CTX *context, const char *input,
+APR_DECLARE(void) ap_SHA1Update(AP_SHA1_CTX *context, const char *input,
unsigned int inputLen);
/**
@@ -141,7 +141,7 @@ AP_DECLARE(void) ap_SHA1Update(AP_SHA1_CTX *context, const char *input,
* @param inputLen The length of the input buffer
* @deffunc void ap_SHA1Update_binary(AP_SHA1_CTX *context, const unsigned char *input, unsigned int inputLen)
*/
-AP_DECLARE(void) ap_SHA1Update_binary(AP_SHA1_CTX *context,
+APR_DECLARE(void) ap_SHA1Update_binary(AP_SHA1_CTX *context,
const unsigned char *input,
unsigned int inputLen);
@@ -151,7 +151,7 @@ AP_DECLARE(void) ap_SHA1Update_binary(AP_SHA1_CTX *context,
* @param context The context to finalize
* @deffunc void ap_SHA1Final(unsigned char digest[SHA_DIGESTSIZE], AP_SHA1_CTX *context)
*/
-AP_DECLARE(void) ap_SHA1Final(unsigned char digest[SHA_DIGESTSIZE],
+APR_DECLARE(void) ap_SHA1Final(unsigned char digest[SHA_DIGESTSIZE],
AP_SHA1_CTX *context);
#ifdef __cplusplus