Move some libgpo files to root.
[jra/samba/.git] / source3 / include / ntdomain.h
index 3f501550da7543a37489c2dcc3e31005b0ac32d5..de53aebb91a21c4b0e06b41862202f1d72bb9d86 100644 (file)
@@ -70,13 +70,10 @@ typedef struct _output_data {
        uint32 data_sent_length;
 
        /*
-        * The current PDU being returned. This inclues
+        * The current fragment being returned. This inclues
         * headers, data and authentication footer.
         */
-       unsigned char current_pdu[RPC_MAX_PDU_FRAG_LEN];
-
-       /* The amount of data in the current_pdu buffer. */
-       uint32 current_pdu_len;
+       prs_struct frag;
 
        /* The amount of data sent from the current PDU. */
        uint32 current_pdu_sent;
@@ -89,7 +86,7 @@ typedef struct _input_data {
         * pdu is seen, then the data is copied into the in_data
         * structure. The maximum size of this is 0x1630 (RPC_MAX_PDU_FRAG_LEN).
         */
-       unsigned char current_in_pdu[RPC_MAX_PDU_FRAG_LEN];
+       uint8_t *current_in_pdu;
 
        /*
         * The amount of data needed to complete the in_pdu.
@@ -113,23 +110,7 @@ typedef struct _input_data {
        prs_struct data;
 } input_data;
 
-/*
- * Handle database - stored per pipe.
- */
-
-struct policy {
-       struct policy *next, *prev;
-
-       POLICY_HND pol_hnd;
-
-       void *data_ptr;
-};
-
-struct handle_list {
-       struct policy *Policy;  /* List of policies. */
-       size_t count;                   /* Current number of handles. */
-       size_t pipe_ref_count;  /* Number of pipe handles referring to this list. */
-};
+struct handle_list;
 
 /* Domain controller authentication protocol info */
 struct dcinfo {
@@ -214,8 +195,7 @@ typedef struct pipes_struct {
 
        struct auth_serversupplied_info *server_info;
 
-       fstring name;
-       fstring pipe_srv_name;
+       struct ndr_syntax_id syntax;
 
        /* linked list of rpc dispatch tables associated 
           with the open rpc contexts */
@@ -297,11 +277,4 @@ struct api_struct {
 
 /* end higher order functions */
 
-typedef struct {
-       uint32 size;
-       prs_struct prs;
-       uint32 struct_start;
-       uint32 string_at_end;
-} RPC_BUFFER;
-
 #endif /* _NT_DOMAIN_H */