#include "libcli/util/nterr.h"
#include "libcli/util/doserr.h"
#include "librpc/ndr/libndr.h"
-#include "librpc/ndr/ndr_orpc.h"
#include "librpc/rpc/dcerpc.h"
#include "libcli/nbt/libnbt.h"
#include "libcli/util/proto.h"
#define _DCOM_H
#include "lib/com/com.h"
+#include "librpc/gen_ndr/orpc.h"
#include "lib/com/dcom/proto.h"
struct dcom_client_context {
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]
*/
[
- pointer_default(unique)
+ pointer_default(unique),
+ helper("librpc/ndr/ndr_orpc.h")
]
interface ObjectRpcBaseTypes
{
/* Component Object Model version number */
+
typedef [public] struct
{
uint16 MajorVersion; /* Major version number */
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
+++ /dev/null
-/*
- 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__ */