Net-LibNFS
view release on metacpan or search on metacpan
libnfs/include/nfsc/libnfs.h view on Meta::CPAN
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_lchmod_async(struct nfs_context *nfs, const char *path,
int mode, nfs_cb cb, void *private_data);
/*
* Sync chmod(<name>)
*
* Like chmod except if the destination is a symbolic link, it acts on the
* symbolic link itself.
*
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_lchmod(struct nfs_context *nfs, const char *path, int mode);
/*
* FCHMOD()
*/
/*
* Async fchmod(<handle>)
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_fchmod_async(struct nfs_context *nfs, struct nfsfh *nfsfh,
int mode, nfs_cb cb, void *private_data);
/*
* Sync fchmod(<handle>)
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_fchmod(struct nfs_context *nfs, struct nfsfh *nfsfh, int mode);
/*
* CHOWN()
*/
/*
* Async chown(<name>)
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_chown_async(struct nfs_context *nfs, const char *path, int uid,
int gid, nfs_cb cb, void *private_data);
/*
* Sync chown(<name>)
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_chown(struct nfs_context *nfs, const char *path, int uid,
int gid);
/*
* Async chown(<name>)
*
* Like chown except if the destination is a symbolic link, it acts on the
* symbolic link itself.
*
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_lchown_async(struct nfs_context *nfs, const char *path, int uid,
int gid, nfs_cb cb, void *private_data);
/*
* Sync chown(<name>)
*
* Like chown except if the destination is a symbolic link, it acts on the
* symbolic link itself.
*
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_lchown(struct nfs_context *nfs, const char *path, int uid,
int gid);
/*
* FCHOWN()
*/
/*
* Async fchown(<handle>)
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_fchown_async(struct nfs_context *nfs, struct nfsfh *nfsfh,
int uid, int gid, nfs_cb cb, void *private_data);
/*
* Sync fchown(<handle>)
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_fchown(struct nfs_context *nfs, struct nfsfh *nfsfh, int uid,
int gid);
/*
* UTIMES()
*/
/*
* Async utimes(<path>)
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_utimes_async(struct nfs_context *nfs, const char *path,
struct timeval *times, nfs_cb cb,
void *private_data);
/*
* Sync utimes(<path>)
* Function returns
* 0 : The operation was successful.
* -errno : The command failed.
*/
EXTERN int nfs_utimes(struct nfs_context *nfs, const char *path,
struct timeval *times);
/*
* Async utimes(<path>)
*
* Like utimes except if the destination is a symbolic link, it acts on the
* symbolic link itself.
*
* Function returns
* 0 : The command was queued successfully. The callback will be invoked once
* the command completes.
* <0 : An error occured when trying to queue the command.
* The callback will not be invoked.
*
* When the callback is invoked, status indicates the result:
* 0 : Success.
* data is NULL
* -errno : An error occured.
* data is the error string.
*/
EXTERN int nfs_lutimes_async(struct nfs_context *nfs, const char *path,
struct timeval *times, nfs_cb cb,
void *private_data);
/*
* Sync utimes(<path>)
*
* Like utimes except if the destination is a symbolic link, it acts on the
* symbolic link itself.
*
( run in 0.987 second using v1.01-cache-2.11-cpan-71847e10f99 )