__ns_msg_getflag.c

Go to the documentation of this file.
00001 /* #include "port_before.h" */
00002 #include "config.h"
00003 
00004 #ifdef STDC_HEADERS
00005 # include <stdio.h>
00006 #endif
00007 
00008 #include <sys/types.h>
00009 
00010 #include <netinet/in.h>
00011 #include "arpa_nameser.h"
00012 
00013 
00014 
00015 int __ns_msg_getflag(ns_msg handle, int flag) {
00016         return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
00017 }
00018 

Generated on Tue Nov 4 13:27:38 2008 for libspf2 by  doxygen 1.5.4