X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcnet_i.h;h=f86819700fa8761f5a3dcaa969a4f24773c46403;hp=a5ec1038ac3354da86d39547f06969132ddc5148;hb=51558729d89b9f3492b2ca754242ed548a579ca4;hpb=1c3ae0efc13419718213114e140c3d83b4608c1e diff --git a/lib/silcutil/silcnet_i.h b/lib/silcutil/silcnet_i.h index a5ec1038..f8681970 100644 --- a/lib/silcutil/silcnet_i.h +++ b/lib/silcutil/silcnet_i.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2005 - 2006 Pekka Riikonen + Copyright (C) 2005 - 2007 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 @@ -35,4 +35,16 @@ struct SilcNetListenerStruct { unsigned int lookup : 1; }; +/* Backwards support */ +#define SilcNetStatus SilcResult +#define silc_net_get_error_string silc_errno_string +#define SILC_NET_OK SILC_OK +#define SILC_NET_UNKNOWN_IP SILC_ERR_UNKNOWN_IP +#define SILC_NET_UNKNOWN_HOST SILC_ERR_UNKNOWN_HOST +#define SILC_NET_HOST_UNREACHABLE SILC_ERR_UNREACHABLE +#define SILC_NET_CONNECTION_REFUSED SILC_ERR_REFUSED +#define SILC_NET_CONNECTION_TIMEOUT SILC_ERR_TIMEOUT +#define SILC_NET_NO_MEMORY SILC_ERR_OUT_OF_MEMORY +#define SILC_NET_ERROR SILC_ERR + #endif /* SILCNET_I_H */