Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* linked list in DCE RPC?
@ 1993-03-09 16:14 Kakumanu Kumar (Contractor)
  1993-03-10 16:38 ` MKK2
  0 siblings, 1 reply; 3+ messages in thread
From: Kakumanu Kumar (Contractor) @ 1993-03-09 16:14 UTC (permalink / raw)



Hi,
  Is it possible to pass a linked list (say, a pointer to the head of
a list of structures which contain pointers to next elements) as
input/output parameter in DCE RPC?  I have to use a linked list
to both send and receive data from the server.

					-Thanks in advance
					 Kumar Kakumanu 

############################################################# 
#			Kumar Kakumanu			    #
#		 Tel#:(Off)512-823-0241  IBM Austin	    # 
#		INTERNET: kumark@netftp.austin.ibm.com      #
#############################################################



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linked list in DCE RPC?
  1993-03-09 16:14 linked list in DCE RPC? Kakumanu Kumar (Contractor)
@ 1993-03-10 16:38 ` MKK2
  1993-03-11 19:12   ` Bill Sommerfeld
  0 siblings, 1 reply; 3+ messages in thread
From: MKK2 @ 1993-03-10 16:38 UTC (permalink / raw)


In article <C3MqGF.2wus@austin.ibm.com>, kumark@austin.ibm.com (Kakumanu Kumar
(Contractor)) says:

>Hi,
Hi,
  Is it possible to pass a linked list (say, a pointer to the head of
a list of structures which contain pointers to next elements) as
input/output parameter in DCE RPC?  I have to use a linked list
to both send and receive data from the server.

1.  I don't know.

2.  I doubt it.  DCE will set up a remote pointer, and will marshall the thing
pointed to OK, but it won't know that it should track the entire pointer chain
to some end.

   You should probably just write your own marshalling funcion that converts
the LL into an array of known size.  DCE can handle that OK, I think.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linked list in DCE RPC?
  1993-03-10 16:38 ` MKK2
@ 1993-03-11 19:12   ` Bill Sommerfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Sommerfeld @ 1993-03-11 19:12 UTC (permalink / raw)


In article <93069.113849MKK2@psuvm.psu.edu> <MKK2@psuvm.psu.edu> writes:

   2.  I doubt it.  DCE will set up a remote pointer, and will
   marshall the thing pointed to OK, but it won't know that it should
   track the entire pointer chain to some end.

This is not true.  if you declare the pointer in the .idl file with
the [ptr] attribute, it will do the pointer-chasing as far as it needs
to.  There's an amazing amount of hair in the runtime library and idl
compiler to get this right.

						- Bill


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-03-11 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-03-09 16:14 linked list in DCE RPC? Kakumanu Kumar (Contractor)
1993-03-10 16:38 ` MKK2
1993-03-11 19:12   ` Bill Sommerfeld

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