Re: [naviserver-devel] Re: RFE #1202462

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 09:26 schrieb Stephen Deasey: On 6/15/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: Am 15.06.2005 um 08:54 schrieb Stephen Deasey: How will you load modules at startup? dlopen() etc. take a file name. I will start with this and see if it suffices: Tcl_FS

Re: [naviserver-devel] Re: RFE #1202462

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 09:26 schrieb Stephen Deasey: How about registering your own handler on /* just as the core server does at startup? That way the fastpath code won't be called unless you explicitly call it. You can send files using Ns_ConnSendChannel(). I believe there are some side-effect

Re: [naviserver-devel] codestyle

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 09:23 schrieb Stephen Deasey: Why would you remove the Makefile/header? OK, those are not code- style directives but are helpful for module writers. I think nsexample should become the template. New module writers would simply copy the whole thing into a new directory and

Re: [naviserver-devel] binder, sockets

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 09:20 schrieb Stephen Deasey: In the process of cleanup, we might rectify/improve this and give the calls more meaningful names. Hmm, I don't think this naming scheme is clarifying things. The situation is that Ns_SockListenRaw() does not in fact listen. It call down to Ns

Re: [naviserver-devel] Re: RFE #1202462

2005-06-15 Thread Stephen Deasey
On 6/15/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: > > Am 15.06.2005 um 08:54 schrieb Stephen Deasey: > > > > How will you load modules at startup? dlopen() etc. take a file name. > > > > I will start with this and see if it suffices: > > Tcl_FSLoadFile dynamically loads a bina

Re: [naviserver-devel] codestyle

2005-06-15 Thread Stephen Deasey
On 6/15/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: > > Am 15.06.2005 um 09:06 schrieb Stephen Deasey: > > > I think we should make nsexample more of a template for reuse, and > > make the Code Standards document more How and Why. We'd remove the > > template Makefile and header etc. > > >

Re: [naviserver-devel] binder, sockets

2005-06-15 Thread Stephen Deasey
On 6/13/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: > > Am 13.06.2005 um 09:37 schrieb Stephen Deasey: > > > > > Ns_SockListenTcp() should probably replace Ns_SockListenEx() with it's > > backlog parameter? The passed backlog should be checked, and if it's > > < 1, use the default from the c

Re: [naviserver-devel] codestyle

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 09:06 schrieb Stephen Deasey: I think we should make nsexample more of a template for reuse, and make the Code Standards document more How and Why. We'd remove the template Makefile and header etc. Why would you remove the Makefile/header? OK, those are not code-style direct

Re: [naviserver-devel] Re: RFE #1202462

2005-06-15 Thread Zoran Vasiljevic
Am 15.06.2005 um 08:54 schrieb Stephen Deasey: How will you load modules at startup? dlopen() etc. take a file name. I will start with this and see if it suffices: Tcl_FSLoadFile dynamically loads a binary code file into memory and returns the addresses of two procedures

Re: [naviserver-devel] codestyle

2005-06-15 Thread Stephen Deasey
On 6/14/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: > > Am 14.06.2005 um 09:31 schrieb Stephen Deasey: > > > > > I think this page needs some love: > > > > http://naviserver.sourceforge.net/wiki/index.php/Code_Standards > > > > > > I will take the freedom to update each and every page I visi