summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/libnetapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index f12c076781..0f65774291 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -26,6 +26,7 @@
#define FILTER_WORKSTATION_TRUST_ACCOUNT ( 0x0010 )
#define FILTER_SERVER_TRUST_ACCOUNT ( 0x0020 )
#define TIMEQ_FOREVER ( (uint32_t)-1L )
+#define CSC_MASK ( 0x30 )
enum NET_API_STATUS
#ifndef USE_UINT_ENUMS
{
@@ -640,6 +641,18 @@ struct SHARE_INFO_1004 {
const char * shi1004_remark;
};
+/* bitmap SHARE_INFO_1005_FLAGS */
+#define SHI1005_FLAGS_DFS ( 0x01 )
+#define SHI1005_FLAGS_DFS_ROOT ( 0x02 )
+#define CSC_CACHE_MANUAL_REINT ( 0x00 )
+#define CSC_CACHE_AUTO_REINT ( 0x10 )
+#define CSC_CACHE_VDO ( 0x20 )
+#define CSC_CACHE_NONE ( 0x30 )
+#define SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS ( 0x0100 )
+#define SHI1005_FLAGS_FORCE_SHARED_DELETE ( 0x0200 )
+#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING ( 0x0400 )
+#define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM ( 0x0800 )
+
struct SHARE_INFO_1005 {
uint32_t shi1005_flags;
};