/* Declarations of functions and data types used for SHA1 sum
library functions.
Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
- Copyright (C) 2006 Michael Vrable
+ Copyright (C) 2006-2007 Michael Vrable
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
# include <stdio.h>
# include <stdint.h>
+#include <string>
+
typedef uint32_t md5_uint32;
/* Structure to save state of computation between the single steps. */
~SHA1Checksum();
void process(const void *data, size_t len);
+ bool process_file(const char *filename);
const uint8_t *checksum();
size_t checksum_size() const { return 20; }
+ std::string checksum_str();
};
#endif