Added SilcStack support to SILC File Util API.
[runtime.git] / lib / silcutil / silcfileutil.c
index 02620b04b877ee1a91829b24d3bd2cdf8aa2cb45..5404183a6c67a406dcf4f21ee80871420d8c86b2 100644 (file)
@@ -124,7 +124,8 @@ int silc_file_writefile_mode(const char *filename, const char *buffer,
 /* Reads a file to a buffer. The allocated buffer is returned. Length of
    the file read is returned to the return_len argument. */
 
-char *silc_file_readfile(const char *filename, SilcUInt32 *return_len)
+char *silc_file_readfile(const char *filename, SilcUInt32 *return_len,
+                        SilcStack stack)
 {
   int fd;
   char *buffer;