* Serialization in C
@ 2007-12-05 17:20 Dinesh
2007-12-05 17:47 ` Steve Graegert
0 siblings, 1 reply; 4+ messages in thread
From: Dinesh @ 2007-12-05 17:20 UTC (permalink / raw)
To: linux-c-programming
Hello,
I'm using graph and tree represented in linked list structure in my C
program..
I have to save them while running the program to retrieve later.
Is there any C libraries available to serialize these structures...
My search became a vain attempt.. It will be fine if I get some
relevant information..
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serialization in C
2007-12-05 17:20 Serialization in C Dinesh
@ 2007-12-05 17:47 ` Steve Graegert
2007-12-05 19:18 ` Brian McQueen
0 siblings, 1 reply; 4+ messages in thread
From: Steve Graegert @ 2007-12-05 17:47 UTC (permalink / raw)
To: Dinesh; +Cc: linux-c-programming
On Dec 5, 2007 6:20 PM, Dinesh <tdblinux@yahoo.co.in> wrote:
>
> Hello,
>
> I'm using graph and tree represented in linked list structure in my C
> program..
>
> I have to save them while running the program to retrieve later.
>
> Is there any C libraries available to serialize these structures...
>
> My search became a vain attempt.. It will be fine if I get some
> relevant information..
I'd recommend taking a look at TPL which seems to be exactly what
you're looking for.
Get it from here: http://tpl.sourceforge.net
\Steve
--
Steve Grägert
DigitalEther.de
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serialization in C
2007-12-05 17:47 ` Steve Graegert
@ 2007-12-05 19:18 ` Brian McQueen
2007-12-05 19:47 ` Steve Graegert
0 siblings, 1 reply; 4+ messages in thread
From: Brian McQueen @ 2007-12-05 19:18 UTC (permalink / raw)
To: Steve Graegert; +Cc: Dinesh, linux-c-programming
Check out the xdr stuff from Sun's RPC stuff too.
On Dec 5, 2007 9:47 AM, Steve Graegert <graegerts@gmail.com> wrote:
> On Dec 5, 2007 6:20 PM, Dinesh <tdblinux@yahoo.co.in> wrote:
> >
> > Hello,
> >
> > I'm using graph and tree represented in linked list structure in my C
> > program..
> >
> > I have to save them while running the program to retrieve later.
> >
> > Is there any C libraries available to serialize these structures...
> >
> > My search became a vain attempt.. It will be fine if I get some
> > relevant information..
>
> I'd recommend taking a look at TPL which seems to be exactly what
> you're looking for.
> Get it from here: http://tpl.sourceforge.net
>
> \Steve
>
> --
>
> Steve Grägert
> DigitalEther.de
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serialization in C
2007-12-05 19:18 ` Brian McQueen
@ 2007-12-05 19:47 ` Steve Graegert
0 siblings, 0 replies; 4+ messages in thread
From: Steve Graegert @ 2007-12-05 19:47 UTC (permalink / raw)
To: Brian McQueen; +Cc: Dinesh, linux-c-programming
On Dec 5, 2007 8:18 PM, Brian McQueen <mcqueenorama@gmail.com> wrote:
> Check out the xdr stuff from Sun's RPC stuff too.
XDR comes to mind first, but it can be very tedious, since you
sometimes have be carefully select between the xdr_reference and
xdr_pointer primitives due to the fact that one operates on
XDR-translated data while the other does not.
Additionally, the developer should get intimately familiar with XDR
first to make use of it because the data structures must be described
properly and many self-written subroutines are needed to facilitate
XDR. TPL is very intuitive to use and also supports converting the
data to XML back and forth.
Unless you do not need to transfer data between architectures, TPL
wins over XDR. If native binary representation is not an option XDR
is the way to go.
\Steve
PS: Please, do not top-post. Thanks.
> On Dec 5, 2007 9:47 AM, Steve Graegert <graegerts@gmail.com> wrote:
> > On Dec 5, 2007 6:20 PM, Dinesh <tdblinux@yahoo.co.in> wrote:
> > >
> > > Hello,
> > >
> > > I'm using graph and tree represented in linked list structure in my C
> > > program..
> > >
> > > I have to save them while running the program to retrieve later.
> > >
> > > Is there any C libraries available to serialize these structures...
> > >
> > > My search became a vain attempt.. It will be fine if I get some
> > > relevant information..
> >
> > I'd recommend taking a look at TPL which seems to be exactly what
> > you're looking for.
> > Get it from here: http://tpl.sourceforge.net
> >
> > \Steve
> >
> > --
> >
> > Steve Grägert
> > DigitalEther.de
>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-05 19:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 17:20 Serialization in C Dinesh
2007-12-05 17:47 ` Steve Graegert
2007-12-05 19:18 ` Brian McQueen
2007-12-05 19:47 ` Steve Graegert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).