r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
[tprouty/samba.git] / source / include / rpc_dce.h
index bc11a2030567a9ba6a6128bf9a7bf198a1ee8390..7ea3fcbc233d89659babf130d7bf05384988a3b7 100644 (file)
@@ -7,7 +7,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -16,8 +16,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #ifndef _DCE_RPC_H /* _DCE_RPC_H */
@@ -82,6 +81,16 @@ enum RPC_PKT_TYPE {
 #define RPC_PIPE_AUTH_SEAL_LEVEL 0x6
 #endif
 
+#define DCERPC_FAULT_OP_RNG_ERROR      0x1c010002
+#define DCERPC_FAULT_UNK_IF            0x1c010003
+#define DCERPC_FAULT_INVALID_TAG       0x1c000006
+#define DCERPC_FAULT_CONTEXT_MISMATCH  0x1c00001a
+#define DCERPC_FAULT_OTHER             0x00000001
+#define DCERPC_FAULT_ACCESS_DENIED     0x00000005
+#define DCERPC_FAULT_CANT_PERFORM      0x000006d8
+#define DCERPC_FAULT_NDR               0x000006f7
+
+
 /* Netlogon schannel auth type and level */
 #define SCHANNEL_SIGN_SIGNATURE { 0x77, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 }
 #define SCHANNEL_SEAL_SIGNATURE { 0x77, 0x00, 0x7a, 0x00, 0xff, 0xff, 0x00, 0x00 }
@@ -116,7 +125,7 @@ enum schannel_direction {
 
 /* RPC_IFACE */
 typedef struct rpc_iface_info {
-       struct uuid uuid;  /* 16 bytes of rpc interface identification */
+       struct GUID uuid;  /* 16 bytes of rpc interface identification */
        uint32 version;    /* the interface version number */
 } RPC_IFACE;