+#ifndef CCAN_NFS_LIBNFS_RAW_H
+#define CCAN_NFS_LIBNFS_RAW_H
/*
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
* RPC_STATUS_CANCEL : The connection attempt was aborted before it could complete.
* data is NULL.
*/
-int rpc_nfs_read_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, off_t offset, size_t count, void *private_data);
+int rpc_nfs_read_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, nfs_off_t offset, size_t count, void *private_data);
/*
* Call NFS/WRITE
* RPC_STATUS_CANCEL : The connection attempt was aborted before it could complete.
* data is NULL.
*/
-int rpc_nfs_write_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, char *buf, off_t offset, size_t count, int stable_how, void *private_data);
+int rpc_nfs_write_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, char *buf, nfs_off_t offset, size_t count, int stable_how, void *private_data);
/*
* Call NFS/COMMIT
*/
int rpc_nfsacl_null_async(struct rpc_context *rpc, rpc_cb cb, void *private_data);
+#endif /* CCAN_NFS_LIBNFS_RAW_H */