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