updates.
[silc.git] / lib / silcutil / silcutil.h
index 53226bbb3ee36589de1f36015bf3f6223e571766..a8e2addad0fc7317d53047acc3a4907e32044609 100644 (file)
@@ -1,16 +1,15 @@
 /*
 
-  silcutil.h
+  silcutil.h 
 
-  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+  Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2000 Pekka Riikonen
+  Copyright (C) 1997 - 2002 Pekka Riikonen
 
   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 Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
-  
+  the Free Software Foundation; version 2 of the License.
+
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -30,6 +29,7 @@ char *silc_file_readfile(const char *filename, uint32 *return_len);
 int silc_file_writefile(const char *filename, const char *buffer, uint32 len);
 int silc_file_writefile_mode(const char *filename, const char *buffer, 
                             uint32 len, int mode);
+uint64 silc_file_size(const char *filename);
 int silc_gets(char *dest, int destlen, const char *src, int srclen, int begin);
 int silc_check_line(char *buf);
 char *silc_get_time();
@@ -66,5 +66,6 @@ char *silc_client_chmode(uint32 mode, const char *cipher, const char *hmac);
 char *silc_client_chumode(uint32 mode);
 char *silc_client_chumode_char(uint32 mode);
 int silc_gettimeofday(struct timeval *p);
+char *silc_fingerprint(const unsigned char *data, uint32 data_len);
 
 #endif