From 31d44e36823af542073040fc5a761f00ff28a1ed Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 26 Apr 2004 00:32:29 +0000 Subject: 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) --- source4/librpc/idl/srvsvc.idl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/librpc/idl') 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; -- cgit