From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,eab1c7225b6ee791,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-06-17 12:55:45 PST Newsgroups: comp.unix.osf.misc Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!undergrad.math.uwaterloo.ca!dpbradsh From: dpbradsh@bluebox.uwaterloo.ca (Dexter P. Bradshaw [CS]) Subject: Reverse Engineering C definitions to IDL Message-ID: Keywords: C types, IDL types, reverse engineering, automation Sender: news@undergrad.math.uwaterloo.ca (news spool owner) Organization: University of Waterloo Date: Fri, 17 Jun 1994 13:43:08 GMT Hello: Suppose I were using a package that comes with a header file package.h, say. I want to use some of the types in my IDL definitions for my DCE RPC interfaces. Is there any way of directly importing the package.h types or automatically converting the package.h to a package.idl file? Twice so far I have encountered this scenario with header files containing a large number of dependent C types. I have spent days manually converting the types in the .h files to idl types in a .idl file? Manual conversion is time consuming and error prone. Is there any way of reverse engineering .h files from existing packages to .idl files? Some of you out there must have had a similar experience. Regards, Dex --- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Dexter P. Bradshaw \ Internet: dpbradsh@bluebox.uwaterloo.ca Phone (Home): (519) 884-1855 \ Office: DC2306B, University of Waterloo (Off): (519) 885-1211 (x4783) \ Post: 200 University Av W., Fax : (519) 885-1208 \ Waterloo, Ont N2L 3G1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ------------------------------------------------------------------------------