summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-07 07:10:50 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-07 07:10:50 +0000
commitc6d5280a546752a7eb93deba90dd49ee9cf327d5 (patch)
tree34b7ae876cebc71cfb1752a4d18a65883213389c /source3/include
parentde00f5e677fbb9d3e5bf0999cedd82b83c2308bb (diff)
downloadsamba-c6d5280a546752a7eb93deba90dd49ee9cf327d5.tar.gz
samba-c6d5280a546752a7eb93deba90dd49ee9cf327d5.tar.bz2
samba-c6d5280a546752a7eb93deba90dd49ee9cf327d5.zip
More fixes and implementation bits and pieces for libsmbclient
(This used to be commit 991f6907ac200d53b95a206d65844a0c0830caae)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 691307badf..6f608bdc5b 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -35,6 +35,7 @@
struct smbc_dirent {
uint smbc_type; /* Type of entity, see below */
+ uint dirlen; /* Convenience */
uint namelen;
uint commentlen;
char *comment; /* Points to the comment futher down */
@@ -42,6 +43,9 @@ struct smbc_dirent {
};
+/*
+ * Entity types
+ */
#define SMBC_WORKGROUP 1
#define SMBC_SERVER 2
#define SMBC_FILE_SHARE 3