about source code

Mark Andrews marka at isc.org
Wed Feb 15 09:02:32 UTC 2017


In message <045768a3-5513-132b-229a-0bc9750b5cb0 at lancaster.ac.uk>, Graham Clinc
h writes:
> 
> > In Socket.c, there are many "manager->nevents" 
> > for an example, manager->nevents = ISC_SOCKET_MAXEVENTS; 
> >  
> > but the manager is defined in "isc_socketmgr_t *manager "
> 
> Where the nevents member is involved, I see manager being of type
> isc__socketmgr_t - note the additional underscore (in 9.10 at least).

Depends on how recent the version you are looking at is.  But
basically this was looking at unix code and trying to figure out
how the Windows structure worked with it.  Your head will hurt if
you do that.

Most structures are private to the source file where they are defined.
Only the pointer's typedef is public.

Mark

> Graham
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list