From: Derrell Lipman Date: Wed, 18 Jun 2008 15:00:46 +0000 (-0400) Subject: Remove prototype of unimplemented smbc_chown() function. X-Git-Tag: samba-3.3.0pre1~854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e84e3bb800cec2b63df4692afbf9c40850b108f;p=thirdparty%2Fsamba.git Remove prototype of unimplemented smbc_chown() function. --- diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h index 2e38944d657..96002643efe 100644 --- a/source/include/libsmbclient.h +++ b/source/include/libsmbclient.h @@ -1580,32 +1580,6 @@ int smbc_fstat(int fd, struct stat *st); int smbc_ftruncate(int fd, off_t size); -/**@ingroup attribue - * Change the ownership of a file or directory. - * - * @param url The smb url of the file or directory to change - * ownership of. - * - * @param owner I have no idea? - * - * @param group I have not idea? - * - * @return 0 on success, < 0 on error with errno set: - * - EPERM The effective UID does not match the owner - * of the file, and is not zero; or the owner or group - * were specified incorrectly. - * - ENOENT The file does not exist. - * - ENOMEM Insufficient was available. - * - ENOENT file or directory does not exist - * - * @todo Are we actually going to be able to implement this function - * - * @todo How do we abstract owner and group uid and gid? - * - */ -int smbc_chown(const char *url, uid_t owner, gid_t group); - - /**@ingroup attribute * Change the permissions of a file. *