Right

Stephen Deasey wrote:
> On Wed, Oct 22, 2008 at 3:14 AM, Vlad Seryakov
> <[EMAIL PROTECTED]> wrote:
>> Update of /cvsroot/naviserver/naviserver
>> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17830
>>
>> Modified Files:
>>        ChangeLog
>> Log Message:
>> nsssl module ported, sock context and driver context exposed
>>
>>
>> Index: ChangeLog
>> ===================================================================
>> RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v
>> retrieving revision 1.820
>> retrieving revision 1.821
>> diff -C2 -d -r1.820 -r1.821
>> *** ChangeLog   21 Oct 2008 21:46:36 -0000      1.820
>> --- ChangeLog   22 Oct 2008 02:14:23 -0000      1.821
>> ***************
>> *** 13,16 ****
>> --- 13,24 ----
>>          modules/nstftpd: ported to new driver API
>>
>> +         modules/nsssl: Ported to new API
>> +
>> +         nsd/conn.c: Added new Ns_ConnSockContext function which returns 
>> sock->arg,
>> +         socket-wide context
>> +
>> +         Ns_ConnDriverContext will now return connPtr->drvPtr->arg, this is 
>> driver-wide
>> +         context.
>> +
> 
> 
> These structure members are already public, so Ns_ConnSockContext()
> and Ns_ConnDriverContext() are not needed:
> 
> include/ns.h:
> 
> typedef struct Ns_Sock {
>     Ns_Driver          *driver;
>     SOCKET              sock;           /* Connection socket */
>     struct sockaddr_in  sa;             /* Actual peer address */
>     void               *arg;            /* Driver context. */
> } Ns_Sock;
> 
> typedef struct Ns_Driver {
>     void    *arg;           /* Driver callback data. */
>    ...
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to