Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* DCE RPC - recursive type definitions using IDL.
@ 1994-05-07 21:46 Gopi K. Attaluri
  0 siblings, 0 replies; only message in thread
From: Gopi K. Attaluri @ 1994-05-07 21:46 UTC (permalink / raw)


	I am trying to use two recursive types in DCE RPC. That is,
I have two structures  A and B, each contains a member of the other type.
The 'C' language technique of defining an empty structure does not 
seem to work. 

	struct A;

	struct B {
	   struct A *abc;
	};

	IDL complains about syntax error at the end of the first 
(empty) declaration.

	The task of defining recursive types seems rather trivial
but I can't think of a way to do it. Could anyone please help?

Thanks,
-gopi krishna.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-05-07 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-07 21:46 DCE RPC - recursive type definitions using IDL Gopi K. Attaluri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox