00001 /* Licensed to the Apache Software Foundation (ASF) under one or more 00002 * contributor license agreements. See the NOTICE file distributed with 00003 * this work for additional information regarding copyright ownership. 00004 * The ASF licenses this file to You under the Apache License, Version 2.0 00005 * (the "License"); you may not use this file except in compliance with 00006 * the License. You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00026 #ifndef APACHE_UTIL_MD5_H 00027 #define APACHE_UTIL_MD5_H 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif 00032 00033 #include "apr_md5.h" 00034 00042 AP_DECLARE(char *) ap_md5(apr_pool_t *a, const unsigned char *string); 00043 00052 AP_DECLARE(char *) ap_md5_binary(apr_pool_t *a, const unsigned char *buf, int len); 00053 00061 AP_DECLARE(char *) ap_md5contextTo64(apr_pool_t *p, apr_md5_ctx_t *context); 00062 00069 AP_DECLARE(char *) ap_md5digest(apr_pool_t *p, apr_file_t *infile); 00070 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 00075 #endif /* !APACHE_UTIL_MD5_H */ 00076