From 338fd23290cb0770b59cb77ef4733bb8da6d3164 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 12 Jan 2001 12:48:55 +0000 Subject: Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir, both tested ... More later. (This used to be commit 66bb40153a9ff38692356cadfad89cf91439032e) --- source3/include/libsmbclient.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/include/libsmbclient.h') diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index 34e9405ff5..5889502ae2 100644 --- a/source3/include/libsmbclient.h +++ b/source3/include/libsmbclient.h @@ -173,6 +173,18 @@ struct smbc_dirent *smbc_readdir(unsigned int fd); int smbc_mkdir(const char *fname, mode_t mode); +/* + * Remove a directory on a server + */ + +int smbc_rmdir(const char *fname); + +/* + * Get the current directory offset + */ + +off_t smbc_telldir(int fd); + /* * lseek on directories, rewind by smbc_lseekdir(fd, 0, SEEK_SET) */ -- cgit