295 debug (
"time: now = %d dns = %d %d diff = %d",
300 if (cur_time <= dns ->
timeout) {
302 debug (
"easy copy: %x %d %x",
303 dns ->
data, dns -> data_len,
304 dns ->
data ? *(
int *)(dns ->
data) : 0);
307 dns ->
data, dns -> data_len);
325 warn (
"%s: temporary name server failure",
332 warn (
"%s: no A record associated with address",
342 debug (
"Lookup succeeded; first address is %x",
352 if (dns -> buf_len <
i) {
354 (
unsigned char *)
dmalloc (new_len,
"do_host_lookup");
357 new_len = dns -> buf_len;
358 if (!dns -> buf_len) {
366 dns -> buf_len = new_len;
377 debug (
"dns -> data: %x h -> h_addr_list [0]: %x",
380 dns -> data_len = new_len;
387 debug (
"hard copy: %x %d %x",
388 dns ->
data, dns -> data_len, *(
int *)(dns ->
data));
void dfree(void *ptr, char *name)
GLbitfield GLuint64 timeout
GLfloat GLfloat GLfloat GLfloat h
GLenum GLuint GLenum GLsizei const GLchar * buf
static void do_data_copy(int *bufix, unsigned char **bufp, int *bufcount, unsigned char *data, int len)
PHOSTENT WSAAPI gethostbyname(IN const char FAR *name)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
void * dmalloc(int size, char *name)