X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fos_crypto%2Fmd5%2Fmd5_op.h;h=c7efe18df197a7e3f4a1c6998f0198375d0b4fc5;hb=HEAD;hp=3af94d75c8cf924e643e40c19fc64cae993c7e00;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git 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 3af94d7..c7efe18 --- a/src/os_crypto/md5/md5_op.h +++ b/src/os_crypto/md5/md5_op.h @@ -1,28 +1,23 @@ -/* $OSSEC, os_crypto/md5_op.h, v0.1, 2004/08/09, Daniel B. Cid$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * 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 */