diff --git a/include/ntru.h b/include/ntru.h index c7deb77..bc567e3 100644 --- a/include/ntru.h +++ b/include/ntru.h @@ -33,6 +33,7 @@ #include #include +#include #include @@ -178,8 +179,9 @@ read_file(char const * const filename); * * @param wstring the string to write to the file * @param filename the name of the file to write to + * @return true for success or false for failure if fopen or fclose failed */ -void +bool write_file(string const *wstring, char const * const filename);