Serialization in C
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..
Quoted 6 lines · Dinesh
Hello,
I'm using graph and tree represented in linked list structure in my C
program..
Quoted 6 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Check out the xdr stuff from Sun's RPC stuff too.
Quoted 22 lines · Steve Graegert
Quoted 6 lines · Dinesh
Hello,
I'm using graph and tree represented in linked list structure in my C
program..Quoted 6 lines
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
--
Quoted 8 lines
Steve Grägert
DigitalEther.de-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Brian McQueen
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.
Quoted 19 lines · Steve Graegert
Quoted 18 lines · Dinesh
Quoted 6 lines
Hello,
I'm using graph and tree represented in linked list structure in my C
program..Quoted 6 lines
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
Quoted 7 lines
Quoted 6 lines
\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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html