Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: gkattalu@neumann.uwaterloo.ca (Gopi K. Attaluri)
Subject: DCE RPC - recursive type definitions using IDL.
Date: Sat, 7 May 1994 21:46:34 GMT	[thread overview]
Message-ID: <CpGCHM.2rq@undergrad.math.uwaterloo.ca> (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.


                 reply	other threads:[~1994-05-07 21:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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