getrrsetbyname.c (126274) | getrrsetbyname.c (137015) |
---|---|
1/* OPENBSD ORIGINAL: lib/libc/net/getrrsetbyname.c */ 2 3/* $OpenBSD: getrrsetbyname.c,v 1.7 2003/03/07 07:34:14 itojun Exp $ */ 4 5/* 6 * Copyright (c) 2001 Jakob Schlyter. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 39 unchanged lines hidden (view full) --- 48#include "includes.h" 49 50#ifndef HAVE_GETRRSETBYNAME 51 52#include "getrrsetbyname.h" 53 54#define ANSWER_BUFFER_SIZE 1024*64 55 | 1/* OPENBSD ORIGINAL: lib/libc/net/getrrsetbyname.c */ 2 3/* $OpenBSD: getrrsetbyname.c,v 1.7 2003/03/07 07:34:14 itojun Exp $ */ 4 5/* 6 * Copyright (c) 2001 Jakob Schlyter. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 39 unchanged lines hidden (view full) --- 48#include "includes.h" 49 50#ifndef HAVE_GETRRSETBYNAME 51 52#include "getrrsetbyname.h" 53 54#define ANSWER_BUFFER_SIZE 1024*64 55 |
56#if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO 57extern int h_errno; 58#endif 59 |
|
56struct dns_query { 57 char *name; 58 u_int16_t type; 59 u_int16_t class; 60 struct dns_query *next; 61}; 62 63struct dns_rr { --- 514 unchanged lines hidden --- | 60struct dns_query { 61 char *name; 62 u_int16_t type; 63 u_int16_t class; 64 struct dns_query *next; 65}; 66 67struct dns_rr { --- 514 unchanged lines hidden --- |