Hi. I've been trying to get access to the Client structures on the server side. I've therefore been looking at MCinitClient(). What I do not understand is how do you know which oid for the user you should pick, in order to pass this oid as an argument to MCinitClient.
http://yziquel.homelinux.org/topos/api/ocaml-monetdb5/MonetDB5.MAL.Client.ht...
Client MCinitClient(oid user, bstream *fin, stream *fout)
Moreover, it seems to me that in an embedded setting, it doesn't seem to be a smart idea to use MCinitClient. It would perhaps be better to grab the already existing Client structure for the admin. Probably with MCfindClient.
http://yziquel.homelinux.org/topos/api/ocaml-monetdb5/MonetDB5.MAL.Client.ht...
Client MCfindClient(oid user, str scen, bstream *fin, stream *fout)
fin and fout seem optional arguments (meaning you can pass NULL for sensible defaults). But as before, the oid of the user, and the sceanrio string are arguments whose proposed values are unclear to me. How do you get the admin's Client struct? All the best, -- Guillaume Yziquel http://yziquel.homelinux.org/