suitcase

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

example-typeallocs.c (1152B)


      1 #ifndef TYPEALLOCS_H
      2 #define TYPEALLOCS_H
      3 // ugly hack required to avoid redefining
      4 #include <typealloc.h>
      5 #include <typealloclib.h>
      6 //#include <typeallocs.h>
      7 #include <mxf-remote.h>
      8 
      9 TypeAlloc_readyplus(protoAlloc,protocol_t,pt,len,a,10,protoalloc_readyplus)
     10 TypeAlloc_append(protoAlloc,protocol_t,pt,len,a,10,protoalloc_readyplus,protoalloc_catp)
     11 
     12 TypeAlloc_readyplus(saAlloc,stralloc,sa,len,a,10,saalloc_readyplus)
     13 TypeAlloc_append(saAlloc,stralloc,sa,len,a,10,saalloc_readyplus,saalloc_catsa)
     14 
     15 TypeAlloc_readyplus(pfdAlloc,struct pollfd,pfd,len,a,10,pfdalloc_readyplus)
     16 TypeAlloc_append(pfdAlloc,struct pollfd,pfd,len,a,10,pfdalloc_readyplus,pfdalloc_catpfd)
     17 
     18 //TypeAlloc_readyplus(dnslAlloc,dnsl_t,dnsl,len,a,10,dnslalloc_readyplus)
     19 //TypeAlloc_append(dnslAlloc,dnsl_t,dnsl,len,a,10,dnslalloc_readyplus,dnslalloc_catdnsl)
     20 
     21 TypeAlloc_readyplus(ipmxAlloc,ipmx_t,ipmx,len,a,10,ipmxalloc_readyplus)
     22 TypeAlloc_append(ipmxAlloc,ipmx_t,ipmx,len,a,10,ipmxalloc_readyplus,ipmxalloc_catip)
     23 
     24 TypeAlloc_readyplus(mxrAlloc,mxresult_t,mxr,len,a,10,mxralloc_readyplus)
     25 TypeAlloc_append(mxrAlloc,mxresult_t,mxr,len,a,10,mxralloc_readyplus,mxralloc_catmxr)
     26 #endif