X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=userapps%2Fopensource%2Fnet-snmp%2Fapps%2Fsnmpnetstat%2Fwinstub.h;fp=userapps%2Fopensource%2Fnet-snmp%2Fapps%2Fsnmpnetstat%2Fwinstub.h;h=0000000000000000000000000000000000000000;hb=cf3b25a5003e531e4599b2a56fa007f272198570;hp=ea40450e02de18eaa6f2a444e461c0edba264d7b;hpb=59e02c1be2c9b373846b0789fbd5b7ef46f0927f;p=bcm963xx.git diff --git a/userapps/opensource/net-snmp/apps/snmpnetstat/winstub.h b/userapps/opensource/net-snmp/apps/snmpnetstat/winstub.h deleted file mode 100755 index ea40450e..00000000 --- a/userapps/opensource/net-snmp/apps/snmpnetstat/winstub.h +++ /dev/null @@ -1,48 +0,0 @@ - -#ifndef _WINSTUB_H_ -#define _WINSTUB_H_ - -#if (defined(WIN32) || defined(cygwin)) - -/* - * database access functions for host, services, protocols, networks - */ - -/* - * sets can open. ends must close. - */ -void sethostent(int stay_open); -void setservent(int stay_open); -void setprotoent(int stay_open); -void setnetent(int stay_open); -void endhostent(void); -void endservent(void); -void endprotoent(void); -void endnetent(void); - -/* - * get next entry from data base file, or from NIS if possible. - */ -/* - * returns 0 if there are no more entries to read. - */ -struct hostent *gethostent(void); -struct servent *getservent(void); -struct protoent *getprotoent(void); -struct netent *getnetent(void); - -struct netent *getnetbyaddr(long net, int type); - -/* - * Return the network number from an internet address - */ -u_long inet_netof(struct in_addr in); - -/* - * Return the host number from an internet address - */ -u_long inet_lnaof(struct in_addr in); - -#endif /* WIN32 or cygwin */ - -#endif /*_WINSTUB_H_ */