On Fri, Feb 01, 2019 at 04:25:20PM +0100, Zoran Vasiljevic wrote:

> > I'm a little confused by (e.g.) Ns_VarGet(), though.  Why is its first
> > arg a string for the "server"?  What does that mean, and where am I
> > supposed to get it from?
> 
> This is the identification of the Naviserver's virtual server
> that is implicitly "known" to the Tcl code. The nsv_XXX is 
> thus bound to a virtual server since your Tcl code executes
> within a specific virtual server. But on the C-level you need
> to specify the virtual server explicitly because your C code
> may operate for all known virtual servers or just bunch of them.

Ok.  But where do I get the server string from, in C?  Or since I'm not
using virtual servers anyway, how do I say "all of them, process-wide"?

-- 
Andrew Piskorski <a...@piskorski.com>


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to