add URL parsing functions
authorPeter Lieven <pl@kamp.de>
Mon, 23 Dec 2013 13:03:00 +0000 (14:03 +0100)
committerPeter Lieven <pl@kamp.de>
Mon, 23 Dec 2013 13:03:00 +0000 (14:03 +0100)
commitd2ec73c75a60604419171f6ea086a702607ad69f
tree0d2cfec2fa3c8a86ca8e3f369c4738cefd0ced57
parent1f3f0d58534439668f5d7d0a4bfe0d62a8e09ce6
add URL parsing functions

this adds the following 4 functions. see libnfs.h for details.

struct nfs_url *nfs_parse_url_full(struct nfs_context *nfs, char *url);
struct nfs_url *nfs_parse_url_dir(struct nfs_context *nfs, char *url);
struct nfs_url *nfs_parse_url_incomplete(struct nfs_context *nfs, char *url);
void nfs_destroy_url(struct nfs_url *url);

Signed-off-by: Peter Lieven <pl@kamp.de>
examples/nfs-ls.c
include/nfsc/libnfs.h
lib/libnfs.c