Beispiel #1
0
struct hostent *
gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t bufsiz,
    int *he)
{
	struct getnamaddr info;
	info.hp = hp;
	info.buf = buf;
	info.buflen = bufsiz;
	info.he = he;
	return getby(_hf_gethtbyname, &info, name, 0, AF_INET);
}
Beispiel #2
0
struct hostent *
gethostbyaddr_r(const void *addr, socklen_t len, int type, struct hostent *hp,
    char *buf, size_t bufsiz, int *he)
{
	struct getnamaddr info;
	info.hp = hp;
	info.buf = buf;
	info.buflen = bufsiz;
	info.he = he;
	return getby(_hf_gethtbyaddr, &info, addr, len, type);
}
Beispiel #3
0
void Obstacle::setX2 ( double xIn )
{
    setPosition ( getax(), getay(), xIn, getby() );
}
Beispiel #4
0
void Obstacle::setY1 ( double yIn )
{
    setPosition ( getax(), yIn, getbx(), getby() );
}
Beispiel #5
0
void Obstacle::setX1 ( double xIn )
{
    setPosition ( xIn, getay(), getbx(), getby() );
}