summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-12 12:48:55 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-12 12:48:55 +0000
commit338fd23290cb0770b59cb77ef4733bb8da6d3164 (patch)
tree5582d4cd7f8d9a055a6e9926c828824f5d8cf412 /source3/include
parentfb4013444677629af4b663a61da3b575bba49195 (diff)
downloadsamba-338fd23290cb0770b59cb77ef4733bb8da6d3164.tar.gz
samba-338fd23290cb0770b59cb77ef4733bb8da6d3164.tar.bz2
samba-338fd23290cb0770b59cb77ef4733bb8da6d3164.zip
Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,
both tested ... More later. (This used to be commit 66bb40153a9ff38692356cadfad89cf91439032e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h12
1 files changed, 12 insertions, 0 deletions
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)
*/