home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!rutgers!igor.rutgers.edu!gauss.rutgers.edu!manmetha
- From: manmetha@gauss.rutgers.edu (Rajesh Malhotra)
- Newsgroups: comp.databases.informix
- Subject: Sharing structs between ESQL and 'C'
- Keywords: Duplicate definitions of Structs.
- Message-ID: <Nov.18.14.57.51.1992.20682@gauss.rutgers.edu>
- Date: 18 Nov 92 19:57:51 GMT
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 35
-
-
- Fellow Informixers,
-
- Is there a way to share structure definitions between 'C' and
- the ESQL definitions?
- i.e. Say I have an ESQL definition of the type
-
- $typedef struct {
- char var1;
- int var2
- } SQLstruct;
-
- and I also need a 'C' struct
-
- typedef struct {
- char var1;
- int var2;
- } Cstruct;
-
- Must I have two definitions. Is there a workaround that would help me get
- by with a single declaration?
-
- Any and all responses would be appreciated.
-
- Thanx,
-
- Raj.
- --
- ===============================================================================
- __ __ .
- / __/ / Raj Malhotra.
- / ( /_ / voice : (908)613 4313.
- __/ email : manmetha@gauss.rutgers.edu
-
- ===============================================================================
-