Remove more redundant lsa parsing functions.
[bbaumbach/samba-autobuild/.git] / source / include / rpc_lsa.h
index beb12c2df5512f9385482d017a6f83c85b8d735b..22436c59b2a2706ec5f6728ae716a04ec6aaf6bb 100644 (file)
@@ -1059,121 +1059,6 @@ typedef struct {
        NTSTATUS        status;
 } LSA_R_SET_SECRET;
 
-/* LSA_Q_QUERY_TRUSTED_DOMAIN_INFO - LSA query trusted domain info */
-typedef struct lsa_query_trusted_domain_info
-{
-       POLICY_HND      pol;            /* policy handle */
-       uint16          info_class;     /* info class */
-
-} LSA_Q_QUERY_TRUSTED_DOMAIN_INFO;
-
-typedef struct trusted_domain_info_name {
-       LSA_STRING      netbios_name; 
-} TRUSTED_DOMAIN_INFO_NAME;
-
-typedef struct trusted_domain_info_posix_offset {
-       uint32          posix_offset;
-} TRUSTED_DOMAIN_INFO_POSIX_OFFSET;
-
-typedef struct lsa_data_buf {
-       uint32 size;
-       uint32 offset;
-       uint32 length;
-       uint8 *data;
-} LSA_DATA_BUF;
-
-typedef struct lsa_data_buf_hdr {
-       uint32 length;
-       uint32 size;
-       uint32 data_ptr;
-} LSA_DATA_BUF_HDR;
-
-typedef struct lsa_data_buf2 {
-       uint32 size;
-       uint8 *data;
-} LSA_DATA_BUF2;
-
-typedef struct trusted_domain_info_password {
-       uint32 ptr_password;
-       uint32 ptr_old_password;
-       LSA_DATA_BUF_HDR password_hdr;
-       LSA_DATA_BUF_HDR old_password_hdr;
-       LSA_DATA_BUF password;
-       LSA_DATA_BUF old_password;
-} TRUSTED_DOMAIN_INFO_PASSWORD;
-
-typedef struct trusted_domain_info_basic {
-       LSA_STRING      netbios_name;
-       DOM_SID2        sid;
-} TRUSTED_DOMAIN_INFO_BASIC;
-
-typedef struct trusted_domain_info_ex {
-       LSA_STRING      domain_name;
-       LSA_STRING      netbios_name;
-       DOM_SID2        sid;
-       uint32          trust_direction;
-       uint32          trust_type;
-       uint32          trust_attributes;
-} TRUSTED_DOMAIN_INFO_EX;
-
-typedef struct trust_domain_info_buffer {
-       NTTIME          last_update_time;
-       uint32          secret_type;
-       LSA_DATA_BUF2   data;
-} LSA_TRUSTED_DOMAIN_INFO_BUFFER;
-
-typedef struct trusted_domain_info_auth_info {
-       uint32 incoming_count;
-       LSA_TRUSTED_DOMAIN_INFO_BUFFER incoming_current_auth_info;
-       LSA_TRUSTED_DOMAIN_INFO_BUFFER incoming_previous_auth_info;
-       uint32 outgoing_count;
-       LSA_TRUSTED_DOMAIN_INFO_BUFFER outgoing_current_auth_info;
-       LSA_TRUSTED_DOMAIN_INFO_BUFFER outgoing_previous_auth_info;
-} TRUSTED_DOMAIN_INFO_AUTH_INFO;
-
-typedef struct trusted_domain_info_full_info {
-       TRUSTED_DOMAIN_INFO_EX          info_ex;
-       TRUSTED_DOMAIN_INFO_POSIX_OFFSET posix_offset;
-       TRUSTED_DOMAIN_INFO_AUTH_INFO   auth_info;
-} TRUSTED_DOMAIN_INFO_FULL_INFO;
-
-typedef struct trusted_domain_info_11 {
-       TRUSTED_DOMAIN_INFO_EX          info_ex;
-       LSA_DATA_BUF2                   data1;
-} TRUSTED_DOMAIN_INFO_11;
-
-typedef struct trusted_domain_info_all {
-       TRUSTED_DOMAIN_INFO_EX          info_ex;
-       LSA_DATA_BUF2                   data1;
-       TRUSTED_DOMAIN_INFO_POSIX_OFFSET posix_offset;
-       TRUSTED_DOMAIN_INFO_AUTH_INFO   auth_info;
-} TRUSTED_DOMAIN_INFO_ALL;
-
-/* LSA_TRUSTED_DOMAIN_INFO */
-typedef union lsa_trusted_domain_info
-{
-       uint16                                  info_class;
-       TRUSTED_DOMAIN_INFO_NAME                name;
-       /* deprecated - gd
-       TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO    controllers; */
-       TRUSTED_DOMAIN_INFO_POSIX_OFFSET        posix_offset;
-       TRUSTED_DOMAIN_INFO_PASSWORD            password;
-       TRUSTED_DOMAIN_INFO_BASIC               basic;
-       TRUSTED_DOMAIN_INFO_EX                  info_ex;
-       TRUSTED_DOMAIN_INFO_AUTH_INFO           auth_info;
-       TRUSTED_DOMAIN_INFO_FULL_INFO           full_info;
-       TRUSTED_DOMAIN_INFO_11                  info11;
-       TRUSTED_DOMAIN_INFO_ALL                 info_all;
-
-} LSA_TRUSTED_DOMAIN_INFO;
-
-/* LSA_R_QUERY_TRUSTED_DOMAIN_INFO - LSA query trusted domain info */
-typedef struct r_lsa_query_trusted_domain_info
-{
-       LSA_TRUSTED_DOMAIN_INFO *info;
-       NTSTATUS status;
-} LSA_R_QUERY_TRUSTED_DOMAIN_INFO;
-
 typedef struct dom_info_kerberos {
        uint32 enforce_restrictions;
        NTTIME service_tkt_lifetime;