From: Luke K. C. L. <lk...@us...> - 2009-02-27 16:49:29
|
Update of /cvsroot/freedce/freedce/ncklib/include In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6443/ncklib/include Modified Files: cnassoc.h cnp.h com.h Log Message: lots of 64-bit-isms Index: cnassoc.h =================================================================== RCS file: /cvsroot/freedce/freedce/ncklib/include/cnassoc.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** cnassoc.h 16 Feb 2005 00:12:28 -0000 1.2 --- cnassoc.h 27 Feb 2009 16:48:50 -0000 1.3 *************** *** 148,152 **** --- 148,154 ---- rpc_cn_assoc_t *rpc__cn_assoc_listen _DCE_PROTOTYPE_ (( + #ifdef USE_SOCKETS rpc_socket_t /* newsock */, + #endif unsigned_char_p_t /* endpoint */, unsigned32 * /* st */ )); Index: cnp.h =================================================================== RCS file: /cvsroot/freedce/freedce/ncklib/include/cnp.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** cnp.h 18 Jan 2005 23:23:34 -0000 1.2 --- cnp.h 27 Feb 2009 16:48:51 -0000 1.3 *************** *** 573,577 **** --- 573,582 ---- pthread_t cn_rcvr_thread_id; unsigned_char_t *cn_listening_endpoint; + #ifdef USE_SOCKETS /* experiment to only put this here if everything's using sockets*/ rpc_socket_t cn_sock; + #endif + #ifdef HAVE_OS_WIN32 /* ncacn_np handle */ + void *cn_hnd; + #endif rpc_addr_p_t rpc_addr; unsigned exit_rcvr : 1; Index: com.h =================================================================== RCS file: /cvsroot/freedce/freedce/ncklib/include/com.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** com.h 2 Oct 2005 17:14:57 -0000 1.8 --- com.h 27 Feb 2009 16:48:52 -0000 1.9 *************** *** 1025,1029 **** if (thread_context != NULL) \ { \ ! (thread_context)->cancel_timeout = rpc_c_cancel_infinite_timeout; \ (thread_context)->ns_authn_state = true; \ sys_pthread_setspecific (rpc_g_thread_context_key, \ --- 1025,1029 ---- if (thread_context != NULL) \ { \ ! (thread_context)->cancel_timeout = (signed32)rpc_c_cancel_infinite_timeout; \ (thread_context)->ns_authn_state = true; \ sys_pthread_setspecific (rpc_g_thread_context_key, \ *************** *** 1045,1049 **** if (*status == rpc_s_ok) \ { \ ! _thread_context->cancel_timeout = value; \ } \ } --- 1045,1049 ---- if (*status == rpc_s_ok) \ { \ ! _thread_context->cancel_timeout = (signed32)value; \ } \ } |