00001 #ifndef CRYPT2_HH
00002 #define CRYPT2_HH
00003
00004 #include "rcs_defs.hh"
00005
00006 #ifdef OS_HAS_CRYPT
00007
00008 #include <ctrypt.h>
00009 #define rcs_crypt(a,b) (crypt((a),(b)))
00010
00011 #else
00012
00013 #ifdef __cplusplus
00014 extern "C"
00015 {
00016 #endif
00017
00018 #ifdef crypt
00019 #undef crypt
00020 #endif
00021
00022 extern RCS_EXPORT char *rcs_crypt (const char *key, const char *passwd);
00023
00024
00025 #ifdef __cplusplus
00026 }
00027 #endif
00028
00029 #endif
00030
00031 #endif