return rpc_get_error(nfs->rpc);
};
-static struct nfs_url *nfs_parse_url(struct nfs_context *nfs, char *url, int dir, int incomplete)
+static struct nfs_url *nfs_parse_url(struct nfs_context *nfs, const char *url, int dir, int incomplete)
{
struct nfs_url *urls;
char *strp, *flagsp, *strp2;
strp2++;
if (!strncmp(strp, "tcp-syncnt", 10)) {
rpc_set_tcp_syncnt(nfs->rpc, atoi(strp2));
+ } else if (!strncmp(strp, "uid", 3)) {
+ rpc_set_uid(nfs->rpc, atoi(strp2));
+ } else if (!strncmp(strp, "gid", 3)) {
+ rpc_set_gid(nfs->rpc, atoi(strp2));
}
}
}