summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-14 16:21:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:17 -0500
commite5ea1d369120734f7a5355469e9e767c6e92ff53 (patch)
treefbff3e745653575b34ffa0bbb11b5fce9cf8f692 /source4/librpc
parent7651d097b44bd5743e58ce67333e00133df11eda (diff)
downloadsamba-e5ea1d369120734f7a5355469e9e767c6e92ff53.tar.gz
samba-e5ea1d369120734f7a5355469e9e767c6e92ff53.tar.bz2
samba-e5ea1d369120734f7a5355469e9e767c6e92ff53.zip
r14384: Remove orpc code from includes.h
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk2
-rw-r--r--source4/librpc/idl/orpc.idl14
-rw-r--r--source4/librpc/ndr/ndr_orpc.h40
3 files changed, 14 insertions, 42 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 6d63b1bde8..afcb59bbf5 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -322,7 +322,7 @@ NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_ORPC
[SUBSYSTEM::NDR_ORPC_MANUAL]
-PRIVATE_PROTO_HEADER = ndr/ndr_orpc_proto.h
+PRIVATE_PROTO_HEADER = ndr/ndr_orpc.h
OBJ_FILES = ndr/ndr_orpc.o
[LIBRARY::NDR_ORPC]
diff --git a/source4/librpc/idl/orpc.idl b/source4/librpc/idl/orpc.idl
index 24879bbe17..71a4fd65d2 100644
--- a/source4/librpc/idl/orpc.idl
+++ b/source4/librpc/idl/orpc.idl
@@ -6,7 +6,8 @@
*/
[
- pointer_default(unique)
+ pointer_default(unique),
+ helper("librpc/ndr/ndr_orpc.h")
]
interface ObjectRpcBaseTypes
{
@@ -38,6 +39,7 @@ interface ObjectRpcBaseTypes
/* Component Object Model version number */
+
typedef [public] struct
{
uint16 MajorVersion; /* Major version number */
@@ -103,6 +105,16 @@ interface ObjectRpcBaseTypes
nstring NetworkAddr;
} STRINGBINDING;
+ typedef [public,nopush,nopull,noprint] struct
+ {
+ STRINGBINDING **stringbindings;
+ } STRINGARRAY;
+
+ typedef [public,nopush,nopull,noprint] struct
+ {
+ STRINGBINDING **stringbindings;
+ SECURITYBINDING **securitybindings;
+ } DUALSTRINGARRAY;
const uint16 COM_C_AUTHZ_NONE = 0xffff;
typedef [public,flag(NDR_NOALIGN)] struct
diff --git a/source4/librpc/ndr/ndr_orpc.h b/source4/librpc/ndr/ndr_orpc.h
deleted file mode 100644
index 171a783b8e..0000000000
--- a/source4/librpc/ndr/ndr_orpc.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- definitions for marshalling/unmarshalling DCOM string arrays
-
- Copyright (C) Jelmer Vernooij 2004
-
- 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
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- 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.
-*/
-
-#ifndef __NDR_ORPC_H__
-#define __NDR_ORPC_H__
-
-struct STRINGARRAY
-{
- struct STRINGBINDING **stringbindings;
-};
-
-struct DUALSTRINGARRAY
-{
- struct STRINGBINDING **stringbindings;
- struct SECURITYBINDING **securitybindings;
-};
-
-#include "librpc/gen_ndr/orpc.h"
-#include "librpc/ndr/ndr_orpc_proto.h"
-
-#endif /* __NDR_ORPC_H__ */