Added SSH public key support to SKR
[crypto.git] / lib / silcskr / silcskr_i.h
index ef6ec7128a7b24632cd6d52a0f44303fea715344..f8e8e92aa2b4b5c4354f2ff4c1c2641c2e3eaf72 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,12 @@ struct SilcSKRFindStruct {
   SilcHashTable constr;                           /* Search constraints */
 };
 
+/* Backwards support */
+#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 */