X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Flibnfs-raw.h;h=b141e6156c9250a1b1b1e3310acb96e056b8f58e;hb=1058201ef0ba4ea34e71f07a3e3582c19ee93a1e;hp=f3a413f355147828dfada5e201e457fe16826eaf;hpb=912f7ad5b0228e1160f474b3ef098af5ffdc78ae;p=deb_libnfs.git diff --git a/include/libnfs-raw.h b/include/libnfs-raw.h index f3a413f..b141e61 100644 --- a/include/libnfs-raw.h +++ b/include/libnfs-raw.h @@ -462,6 +462,23 @@ int rpc_nfs_fsstat_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, +/* + * Call NFS/FSINFO + * Function returns + * 0 : The call was initiated. The callback will be invoked when the call completes. + * <0 : An error occured when trying to set up the call. The callback will not be invoked. + * + * When the callback is invoked, status indicates the result: + * RPC_STATUS_SUCCESS : We got a successful response from the nfs daemon. + * data is FSINFO3res + * RPC_STATUS_ERROR : An error occured when trying to contact the nfs daemon. + * data is the error string. + * RPC_STATUS_CANCEL : The connection attempt was aborted before it could complete. + * data is NULL. + */ +int rpc_nfs_fsinfo_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, void *private_data); + + /* * Call NFS/READLINK