X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fos_crypto%2Fmd5%2Fmd5_op.h;h=c7efe18df197a7e3f4a1c6998f0198375d0b4fc5;hp=c4b07f17eed216a114419d6751d54d33f32394ef;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/os_crypto/md5/md5_op.h b/src/os_crypto/md5/md5_op.h old mode 100755 new mode 100644 index c4b07f1..c7efe18 --- a/src/os_crypto/md5/md5_op.h +++ b/src/os_crypto/md5/md5_op.h @@ -1,5 +1,3 @@ -/* $OSSEC, os_crypto/md5_op.h, v0.1, 2004/08/09, Daniel B. Cid$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -9,20 +7,17 @@ * Foundation */ -/* OS_crypto/md5 Library. - * APIs for many crypto operations. +/* OS_crypto/md5 Library + * APIs for many crypto operations */ #ifndef __MD5_OP_H - #define __MD5_OP_H typedef char os_md5[33]; -int OS_MD5_File(char *fname, char * output); - -int OS_MD5_Str(char * str, char * output); +int OS_MD5_File(const char *fname, os_md5 output, int mode) __attribute((nonnull)); +int OS_MD5_Str(const char *str, os_md5 output) __attribute((nonnull)); #endif -/* EOF */