diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-02-07 16:25:15 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-02-07 16:25:15 +0000 |
commit | 195e3d44daccc3b6457486018ba0322ac9d44566 (patch) | |
tree | aa6de6d3e640dc029b41deabc1a87e02a0ffebff /source3/rpc_parse/parse_rpc.c | |
parent | 59ac32c2556e970ea1fe171e7b76cfee2142fbf0 (diff) | |
download | samba-195e3d44daccc3b6457486018ba0322ac9d44566.tar.gz samba-195e3d44daccc3b6457486018ba0322ac9d44566.tar.bz2 samba-195e3d44daccc3b6457486018ba0322ac9d44566.zip |
spoolss definitions.
also added some prs_struct functions, 'cause I'm handling buffers as
prs_struct.
J.F.
(This used to be commit 81e375bbbe0fb022a44a2aaaa3729a9518b7a854)
Diffstat (limited to 'source3/rpc_parse/parse_rpc.c')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index d4ea84628a..54d3eea74d 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -105,6 +105,15 @@ interface/version dce/rpc pipe identification }, 0x01 \ } +#define SYNT_SPOOLSS_V1 \ +{ \ + { \ + 0x12345678, 0x1234, 0xabcb, \ + { 0xef, 0x00, 0x01, 0x23, \ + 0x45, 0x67, 0x89, 0xab } \ + }, 0x01 \ +} + #define SYNT_NONE_V0 \ { \ { \ @@ -114,17 +123,6 @@ interface/version dce/rpc pipe identification }, 0x00 \ } -/* pipe string names */ -#define PIPE_SRVSVC "\\PIPE\\srvsvc" -#define PIPE_SAMR "\\PIPE\\samr" -#define PIPE_WINREG "\\PIPE\\winreg" -#define PIPE_WKSSVC "\\PIPE\\wkssvc" -#define PIPE_NETLOGON "\\PIPE\\NETLOGON" -#define PIPE_NTLSA "\\PIPE\\ntlsa" -#define PIPE_NTSVCS "\\PIPE\\ntsvcs" -#define PIPE_LSASS "\\PIPE\\lsass" -#define PIPE_LSARPC "\\PIPE\\lsarpc" - struct pipe_id_info pipe_names [] = { /* client pipe , abstract syntax , server pipe , transfer syntax */ @@ -134,6 +132,7 @@ struct pipe_id_info pipe_names [] = { PIPE_SRVSVC , SYNT_SRVSVC_V3 , PIPE_NTSVCS , TRANS_SYNT_V2 }, { PIPE_WKSSVC , SYNT_WKSSVC_V1 , PIPE_NTSVCS , TRANS_SYNT_V2 }, { PIPE_WINREG , SYNT_WINREG_V1 , PIPE_WINREG , TRANS_SYNT_V2 }, + { PIPE_SPOOLSS , SYNT_SPOOLSS_V1 , PIPE_SPOOLSS , TRANS_SYNT_V2 }, { NULL , SYNT_NONE_V0 , NULL , SYNT_NONE_V0 } }; |