diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-27 15:09:23 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-27 15:09:23 +0000 |
commit | 8586dda29b79f041cac2879ecff0afa3283dfca1 (patch) | |
tree | fc937d1c8f7a6fa4b1d4fdf127e51560a3ae7ec5 /source3/include/proto.h | |
parent | 71d648cdb431ecf984196a7e480208a94fcdf390 (diff) | |
download | samba-8586dda29b79f041cac2879ecff0afa3283dfca1.tar.gz samba-8586dda29b79f041cac2879ecff0afa3283dfca1.tar.bz2 samba-8586dda29b79f041cac2879ecff0afa3283dfca1.zip |
added LSA Open Policy query and response processing to smbclient
(This used to be commit 16cc27852bf54999db4b0a3665b0743d9fe0e74a)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index cdecd1ec88..6bb91e8c1f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -373,6 +373,10 @@ struct share_ops *locking_slow_init(int ronly); /*The following definitions come from lsaparse.c */ +void make_q_open_pol(LSA_Q_OPEN_POL *r_q, char *server_name, + uint32 attributes, uint32 sec_qos, + uint16 desired_access); +char* lsa_io_q_open_pol(BOOL io, LSA_Q_OPEN_POL *r_q, char *q, char *base, int align, int depth); char* lsa_io_r_open_pol(BOOL io, LSA_R_OPEN_POL *r_p, char *q, char *base, int align, int depth); char* lsa_io_q_query(BOOL io, LSA_Q_QUERY_INFO *q_q, char *q, char *base, int align, int depth); char* lsa_io_r_query(BOOL io, LSA_R_QUERY_INFO *r_q, char *q, char *base, int align, int depth); @@ -944,6 +948,8 @@ char* smb_io_gid(BOOL io, DOM_GID *gid, char *q, char *base, int align, int dept void make_rpc_header(RPC_HDR *hdr, enum RPC_PKT_TYPE pkt_type, uint32 call_id, int data_len, uint8 opnum); char* smb_io_rpc_hdr(BOOL io, RPC_HDR *rpc, char *q, char *base, int align, int depth); +void make_obj_attr(LSA_OBJ_ATTR *attr, uint32 attributes, uint32 sec_qos); +char* smb_io_obj_attr(BOOL io, LSA_OBJ_ATTR *attr, char *q, char *base, int align, int depth); char* smb_io_pol_hnd(BOOL io, LSA_POL_HND *pol, char *q, char *base, int align, int depth); char* smb_io_dom_query_3(BOOL io, DOM_QUERY_3 *d_q, char *q, char *base, int align, int depth); char* smb_io_dom_query_5(BOOL io, DOM_QUERY_3 *d_q, char *q, char *base, int align, int depth); |