summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-26 00:32:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:34 -0500
commit31d44e36823af542073040fc5a761f00ff28a1ed (patch)
tree9cd3760f7ccd1fc39152c82bd4d3c720f4685d1e /source4/librpc
parent304396c8920dd79f82249bbbfa75b3a905641909 (diff)
downloadsamba-31d44e36823af542073040fc5a761f00ff28a1ed.tar.gz
samba-31d44e36823af542073040fc5a761f00ff28a1ed.tar.bz2
samba-31d44e36823af542073040fc5a761f00ff28a1ed.zip
r359: moved the share type definitions to srvsvc.idl
I'd like to see more protocol defininitions in the IDL files and less in smb.h where possible. (This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/srvsvc.idl8
1 files changed, 8 insertions, 0 deletions
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;