--- a/src/server/public/nsapi.h Thu Feb 16 15:08:38 2012 +0100 +++ b/src/server/public/nsapi.h Wed Feb 22 23:20:39 2012 +0100 @@ -1164,6 +1164,9 @@ ssize_t net_write(SYS_NETFD fd, void *buf, size_t nbytes); +ssize_t net_printf(SYS_NETFD fd, char *format, ...); + + NSAPI_PUBLIC pb_param *INTparam_create(const char *name, const char *value); NSAPI_PUBLIC int INTparam_free(pb_param *pp); @@ -1242,6 +1245,10 @@ #define pblock_fr INTpblock_fr #define pblock_replace INTpblock_replace +// func util functions +FuncStruct* func_resolve(pblock *pb, Session *sn, Request *rq); +int func_exec (pblock *pb, Session *sn, Request *rq); + void protocol_status(Session *sn, Request *rq, int n, const char *m);