new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / os_crypto / md5 / md5_op.h
old mode 100755 (executable)
new mode 100644 (file)
index 3af94d7..c7efe18
@@ -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 */