From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,9ee38c713fb2b2e8 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-02-08 10:17:17 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!paperboy.amoco.com!apctrc!msc.edu!vulcan.iss.bnr.com!news From: seck@seck.ftw.bnr.com(seck wong) Subject: Re: backing store now Message-ID: <1994Feb8.181717.5371@vulcan.iss.bnr.com> Sender: news@vulcan.iss.bnr.com Nntp-Posting-Host: seck.ftw.bnr.com Reply-To: tonyh@oec.com Organization: Burlington Northern Railroad X-Newsreader: IBM NewsReader/2 v1.00 References: <2iclc5$hgh@milhouse.oec.com> <2j5i41$424@paperboy.osf.org> Date: Tue, 8 Feb 1994 18:17:17 GMT In <2j5i41$424@paperboy.osf.org>, mhickey@ironman.qadce.osf.org (Mark Hickey) writes: >In article <2iclc5$hgh@milhouse.oec.com> tonyh@oec.com (Tony Hsu) writes: >>Hi, >>i was wondering if there is a way to utilize DCE's data >>marshalling to store data on a file. I know DCE 1.1 will >>have a backing store library, but is there something >>I can do now? >>It seems that instead of sending stuff down a socket, >>if I can send stuff out to a file, and retrive it using >>corresponding unmarshalling routines, then i would >>have a way of dumping data structures to file, as >>the basis for a rudimentary backing store mechanism. >>Is that possible? >>-tony > >I don't know of a way to do this (but you can do anything with code :-) ). > >I do know that "pickling" will be available in DCE 1.1 ( I am not sure if this >is what you mean by "the backing store library"; the backing store library >is in fact a seperate component). This will allow the functionality you >are looking for. You specify the data structures in a .idl file, and the idl >compiler will generate the code to do the storage. > > Mark Hickey > OSF DEE Quality Assurance > mhickey@osf.org > > By looking at opt\dcelocal\include\dce\stubbase.h, you can do all the marshalling by making the ndr_*() call to do the work regards, seck