Compilation environment fixes to make make install work correctly.
[crypto.git] / lib / silcskr / silcskr_i.h
index ef6ec7128a7b24632cd6d52a0f44303fea715344..01afe80561a6126aab8944820e1052d47aadc363 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2005 Pekka Riikonen
+  Copyright (C) 2005 - 2008 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
@@ -42,4 +42,13 @@ struct SilcSKRFindStruct {
   SilcHashTable constr;                           /* Search constraints */
 };
 
+/* Backwards support */
+#define SilcSKRStatus SilcResult
+#define SILC_SKR_OK SILC_OK
+#define SILC_SKR_ERROR SILC_ERR
+#define SILC_SKR_ALREADY_EXIST SILC_ERR_ALREADY_EXISTS
+#define SILC_SKR_NOT_FOUND SILC_ERR_NOT_FOUND
+#define SILC_SKR_NO_MEMORY SILC_ERR_OUT_OF_MEMORY
+#define SILC_SKR_UNSUPPORTED_TYPE SILC_ERR_NOT_SUPPORTED
+
 #endif /* SILCSKR_I_H */