[cffi-devel] mapping for define

pepone.onrez pepone.onrez at gmail.com
Mon Dec 13 23:59:15 UTC 2010


Hi,

I want to know what would be the correct approach for map C style flags

#define IFF_UP          0x1             /* interface is up              */
#define IFF_BROADCAST   0x2             /* broadcast address valid      */

and how to use then later:

struct ifaddrs* curr = ...
if(curr->ifa_flags & IFF_UP){...}  /*Especially what will be the equivalent
lisp*/

Regards,
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20101213/d7d2ff15/attachment.html>


More information about the cffi-devel mailing list