Created
December 15, 2014 08:53
-
-
Save ncopa/8ee3fa4516e0718300cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
/* These are defined in /usr/include/rpc/netdb.h */ | |
#if !defined(__GLIBC__) | |
struct rpcent { | |
char *r_name; /* name of server for this rpc program */ | |
char **r_aliases; /* alias list */ | |
int r_number; /* rpc program number */ | |
}; | |
/* Old interfaces that return a pointer to a static area; MT-unsafe */ | |
extern struct rpcent *getrpcbyname(const char *); | |
extern struct rpcent *getrpcbynumber(int); | |
extern struct rpcent *getrpcent(void); | |
#endif | |
extern void setrpcent(int) __THROW; | |
extern void endrpcent(void) __THROW; | |
#ifdef __cplusplus | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment