2006-11-07 01:54:49 +03:00
import "orpc.idl";
2004-11-20 21:51:58 +03:00
[
uuid("b9e79e60-3d52-11ce-aaa1-00006901293f"),
version(0.2),
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
pointer_default(unique),
2004-11-20 21:51:58 +03:00
endpoint("ncacn_np:[\\pipe\\epmapper]", "ncacn_ip_tcp:[135]",
2006-09-19 01:52:00 +04:00
"ncalrpc:[EPMAPPER]")
2004-11-20 21:51:58 +03:00
] interface rot
{
WERROR rot_add (
[in] uint32 flags,
[in] MInterfacePointer *unk,
[in] MInterfacePointer *moniker,
2006-11-22 21:06:08 +03:00
[out] uint32 *rotid
2004-11-20 21:51:58 +03:00
);
WERROR rot_remove (
[in] uint32 rotid
);
WERROR rot_is_listed (
[in] MInterfacePointer *moniker
);
WERROR rot_get_interface_pointer (
[in] MInterfacePointer *moniker,
2006-11-22 21:06:08 +03:00
[out] MInterfacePointer *ip
2004-11-20 21:51:58 +03:00
);
WERROR rot_set_modification_time (
[in] uint32 rotid,
[in] NTTIME *t
);
WERROR rot_get_modification_time (
[in] MInterfacePointer *moniker,
2006-11-22 21:06:08 +03:00
[out] NTTIME *t
2004-11-20 21:51:58 +03:00
);
WERROR rot_enum (
[out] MInterfacePointer *EnumMoniker
);
}