summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-02-26 08:10:51 +0000
committerJeremy Allison <jra@samba.org>2001-02-26 08:10:51 +0000
commit683ccef0bdfc6a1460087cc3eed2b7ac643d0227 (patch)
tree3175eb03fba361338da1fb421d4381ea16ee0c27 /source3/include
parent0d54de536c03f941739359a121a337aa33a2dc84 (diff)
downloadsamba-683ccef0bdfc6a1460087cc3eed2b7ac643d0227.tar.gz
samba-683ccef0bdfc6a1460087cc3eed2b7ac643d0227.tar.bz2
samba-683ccef0bdfc6a1460087cc3eed2b7ac643d0227.zip
Started conversion of lsa server code to canonical format (as srv_reg and
srv_samr have been). Jeremy. (This used to be commit f434cda9774b4864321b37b0f8f42e6e8dee8d5b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h11
-rw-r--r--source3/include/rpc_lsa.h19
2 files changed, 30 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 1f00ade95b..73b46af447 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2403,6 +2403,8 @@ BOOL lsa_io_r_lookup_names(char *desc, LSA_R_LOOKUP_NAMES *r_r,
void init_lsa_q_close(LSA_Q_CLOSE *q_c, POLICY_HND *hnd);
BOOL lsa_io_q_close(char *desc, LSA_Q_CLOSE *q_c, prs_struct *ps, int depth);
BOOL lsa_io_r_close(char *desc, LSA_R_CLOSE *r_c, prs_struct *ps, int depth);
+BOOL lsa_io_q_open_secret(char *desc, LSA_Q_OPEN_SECRET *q_c, prs_struct *ps, int depth);
+BOOL lsa_io_r_open_secret(char *desc, LSA_R_OPEN_SECRET *r_c, prs_struct *ps, int depth);
/*The following definitions come from rpc_parse/parse_misc.c */
@@ -3383,6 +3385,15 @@ pipes_struct *get_rpc_pipe(int pnum);
BOOL api_reg_rpc(pipes_struct *p);
#endif
+/*The following definitions come from rpc_server/srv_reg_nt.c */
+
+#if OLD_NTDOMAIN
+uint32 _reg_close(pipes_struct *p, REG_Q_CLOSE *q_u, REG_R_CLOSE *r_u);
+uint32 _reg_open(pipes_struct *p, REG_Q_OPEN_HKLM *q_u, REG_R_OPEN_HKLM *r_u);
+uint32 _reg_open_entry(pipes_struct *p, REG_Q_OPEN_ENTRY *q_u, REG_R_OPEN_ENTRY *r_u);
+uint32 _reg_info(pipes_struct *p, REG_Q_INFO *q_u, REG_R_INFO *r_u);
+#endif
+
/*The following definitions come from rpc_server/srv_samr.c */
#if OLD_NTDOMAIN
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index 60daa261ba..186f8f1115 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -360,4 +360,23 @@ typedef struct lsa_r_lookup_names
} LSA_R_LOOKUP_NAMES;
+/* This is probably a policy handle but at the moment we
+ never read it - so use a dummy struct. */
+
+typedef struct lsa_q_open_secret
+{
+ uint32 dummy;
+} LSA_Q_OPEN_SECRET;
+
+/* We always return "not found" at present - so just marshal the minimum. */
+
+typedef struct lsa_r_open_secret
+{
+ uint32 dummy1;
+ uint32 dummy2;
+ uint32 dummy3;
+ uint32 dummy4;
+ uint32 status;
+} LSA_R_OPEN_SECRET;
+
#endif /* _RPC_LSA_H */