diff options
author | Matthew Chapman <matty@samba.org> | 1999-03-16 06:24:24 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-03-16 06:24:24 +0000 |
commit | 517aade8bd6759124ef7c2d9bc0f7059327de36c (patch) | |
tree | d14159b06937d62e87a36dc63541f717d55db812 /source3/include | |
parent | a6fa61afd20653d8d4d033025dde122d81ac4d9f (diff) | |
download | samba-517aade8bd6759124ef7c2d9bc0f7059327de36c.tar.gz samba-517aade8bd6759124ef7c2d9bc0f7059327de36c.tar.bz2 samba-517aade8bd6759124ef7c2d9bc0f7059327de36c.zip |
Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API).
Needed during preliminary part of SAM replication.
(This used to be commit 03e722cdf502491d09d4c5eb9024d837ae10ab32)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/include/rpc_svcctl.h | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index c5d867054e..f563daaef2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2599,6 +2599,10 @@ void make_svc_r_query_svc_config(SVC_R_QUERY_SVC_CONFIG *r_c, QUERY_SERVICE_CONFIG *cfg, uint32 buf_size); void svc_io_r_query_svc_config(char *desc, SVC_R_QUERY_SVC_CONFIG *r_u, prs_struct *ps, int depth); +void svc_io_q_query_disp_name(char *desc, SVC_Q_QUERY_DISP_NAME *q_u, prs_struct *ps, int depth); +void make_svc_r_query_disp_name(SVC_R_QUERY_DISP_NAME *r_d, + char *disp_name, uint32 status); +void svc_io_r_query_disp_name(char *desc, SVC_R_QUERY_DISP_NAME *r_u, prs_struct *ps, int depth); void make_svc_q_close(SVC_Q_CLOSE *q_c, POLICY_HND *hnd); void svc_io_q_close(char *desc, SVC_Q_CLOSE *q_u, prs_struct *ps, int depth); void svc_io_r_close(char *desc, SVC_R_CLOSE *r_u, prs_struct *ps, int depth); diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index 8710a86276..c32ba87ba9 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -29,6 +29,7 @@ #define SVC_OPEN_SC_MAN 0x0f #define SVC_ENUM_SVCS_STATUS 0x0e #define SVC_QUERY_SVC_CONFIG 0x11 +#define SVC_QUERY_DISP_NAME 0x14 #define SVC_OPEN_SERVICE 0x10 #define SVC_CLOSE 0x00 @@ -158,6 +159,26 @@ typedef struct r_svc_query_svc_cfg_info } SVC_R_QUERY_SVC_CONFIG; +/* SVC_Q_QUERY_DISP_NAME */ +typedef struct q_svc_query_disp_name_info +{ + POLICY_HND scman_pol; + UNISTR2 uni_svc_name; + uint32 buf_size; + +} SVC_Q_QUERY_DISP_NAME; + + +/* SVC_R_QUERY_DISP_NAME */ +typedef struct r_svc_query_disp_name_info +{ + UNISTR2 uni_disp_name; + uint32 buf_size; + uint32 status; + +} SVC_R_QUERY_DISP_NAME; + + /* SVC_Q_CLOSE */ typedef struct q_svc_close_info { |