summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/include/smb.h9
-rw-r--r--source4/librpc/idl/srvsvc.idl8
2 files changed, 8 insertions, 9 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index e5e7e26444..520aee487c 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -215,15 +215,6 @@ enum socket_error {SOCKET_READ_TIMEOUT,
incorrect parameters - what does it mean? maybe created temporary file? */
#define NTCREATEX_ACTION_UNKNOWN 5
-
-
-/* share types */
-#define STYPE_DISKTREE 0 /* Disk drive */
-#define STYPE_PRINTQ 1 /* Spooler queue */
-#define STYPE_DEVICE 2 /* Serial device */
-#define STYPE_IPC 3 /* Interprocess communication (IPC) */
-#define STYPE_HIDDEN 0x80000000 /* share is a hidden one (ends with $) */
-
#include "doserr.h"
/*
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 4d737a6c0d..a9d43539e9 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -370,6 +370,14 @@
/**************************/
/* srvsvc_NetShare */
/**************************/
+
+ /* share types */
+ const int STYPE_DISKTREE = 0;
+ const int STYPE_PRINTQ = 1;
+ const int STYPE_DEVICE = 2; /* Serial device */
+ const int STYPE_IPC = 3; /* Interprocess communication (IPC) */
+ const int STYPE_HIDDEN = 0x80000000; /* share is a hidden one */
+
typedef struct {
unistr *name;
} srvsvc_NetShareInfo0;