For 3.4, it's:

  Ns_Conn *conn;

  /* get connection structure  */
  conn = Ns_TclGetConn(interp);
  if (conn == NULL) {
    Tcl_AppendResult(interp, "NULL conn??", NULL);
    return TCL_ERROR;
  }

Jim

>
> Is there a way to obtain the current connection's Ns_conn if
> it's not passed into a C function explicitely? Is it accessible
> somewhere globally or via a function at the C level?
>
> Thanks for any help.
>
> --
> -- Mike
> Mike Schilli
> [EMAIL PROTECTED]
> AOL Host Infrastructure Engineering
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with 
> the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field 
> of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to