Messages in this thread |  | | Date | Wed, 10 Oct 2001 10:20:30 -0700 (PDT) | From | murali venkateshaiah <> | Subject | Reverse RPCGEN? or other such tool? |
| |
Hi
RPCs go with a tool, called rpcgen. It takes data definition (of data structures) in a C-like (RPCL)language and rpcgen converts it into standard C-representation of the data. Its takes a .x file and converts into .h file plus a _client.c, _server.c and _xdr.c files.
Now, I am looking for a tool that does the following automation. It should take in C datastructures (simplified representations of data definitions where there are no embedded pointers but flat representation), and spit out a rpcgen-able .x file. Basically, a reverse rpcgen.
The capability makes it easier to program only in C and not worry about the mode of transport. It could be RPC or Corba or anything else. C-definitions can be seamlessly converted to RPC language or Corba etc
Am not sure IF there are any tools that SUN has packaged with ONC-RPC or Ti-RPC. If anyone has more information or pointers to other mailing lists please email me directly. I'll summarise and repost.
Thanks -Murali
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |