X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcnet_i.h;h=a5ec1038ac3354da86d39547f06969132ddc5148;hb=9905799a86c606304fd7df2cd401de1740a272a1;hp=0dce8484989cd9c60cff9f8f21b06c60c8de7bd9;hpb=633acf9c988113d56c68c5023ebba31a4d3b7023;p=silc.git diff --git a/lib/silcutil/silcnet_i.h b/lib/silcutil/silcnet_i.h index 0dce8484..a5ec1038 100644 --- a/lib/silcutil/silcnet_i.h +++ b/lib/silcutil/silcnet_i.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2005 Pekka Riikonen + Copyright (C) 2005 - 2006 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 @@ -24,14 +24,15 @@ #error "Do not include this header directly" #endif -/* Net server context */ -struct SilcNetServerStruct { +/* Net listener context */ +struct SilcNetListenerStruct { SilcSchedule schedule; SilcNetCallback callback; void *context; - int *socks; - unsigned int socks_count : 31; + SilcSocket *socks; + unsigned int socks_count : 30; unsigned int require_fqdn : 1; + unsigned int lookup : 1; }; #endif /* SILCNET_I_H */