On Thu, 07 Jan 2010, Mindaugas Kavaliauskas wrote: Hi,
> It would be nice if NETIO_PROCEXISTS() is also affected and would > return true only if function is available on server side. I don't > know what implementation type is better: another filter function, > static saAllowed := {"STR"=>, "VAL"=>} > static func rpc_filter_exists(sFunc) > return sFunc:name $ saAllowed > or additional parameter indicating if execution or validation is > called, or some other solution. If we will touch it then we should also fully remove validation of function name at C level and pass function as string not symbol so user can make anything with received value, i.e. he can implement own case sensitive set of commands which are not bound with HVM functions linked with the program. In such case I suggest to add additional parameter <lRaw> to NETIO_RPCFUNC(): NETIO_RPCFUNC( <pConnectionSocket> [, <sFuncSym> [, <lRaw> ] ] ) -> NIL when <lRaw> is .T. then <sFuncSym> is executed with the following parameters: <sFuncSym>( <lCheck>, <cFuncName> [, <xFuncParams,...> ] ) also for NETIO_PROCEXISTS() request. What do you think about it? best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour