]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Tue, 16 Dec 2008 23:46:02 +0000 (23:46 +0000)
committerAutomatic Updater <source@isc.org>
Tue, 16 Dec 2008 23:46:02 +0000 (23:46 +0000)
bin/dig/include/dig/dig.h
bin/dig/nslookup.c

index 10293d965b99f1014e434bf3fa11fc975f3810c4..ad504cbc35fff557dc621f0dba69c97900df089f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.h,v 1.82.18.24 2008/12/16 03:00:06 jinmei Exp $ */
+/* $Id: dig.h,v 1.82.18.25 2008/12/16 23:46:02 tbox Exp $ */
 
 #ifndef DIG_H
 #define DIG_H
@@ -102,7 +102,7 @@ typedef struct dig_searchlist dig_searchlist_t;
 /*% The dig_lookup structure */
 struct dig_lookup {
        isc_boolean_t
-               pending, /*%< Pending a successful answer */
+               pending, /*%< Pending a successful answer */
                waiting_connect,
                doing_xfr,
                ns_search_only, /*%< dig +nssearch, host -C */
@@ -133,23 +133,23 @@ struct dig_lookup {
 #ifdef DIG_SIGCHASE
 isc_boolean_t  sigchase;
 #if DIG_SIGCHASE_TD
-       isc_boolean_t do_topdown,
-               trace_root_sigchase,
-               rdtype_sigchaseset,
-               rdclass_sigchaseset;
+       isc_boolean_t do_topdown,
+               trace_root_sigchase,
+               rdtype_sigchaseset,
+               rdclass_sigchaseset;
        /* Name we are going to validate RRset */
-       char textnamesigchase[MXNAME];
+       char textnamesigchase[MXNAME];
 #endif
 #endif
-       
+
        char textname[MXNAME]; /*% Name we're going to be looking up */
        char cmdline[MXNAME];
        dns_rdatatype_t rdtype;
        dns_rdatatype_t qrdtype;
 #if DIG_SIGCHASE_TD
-        dns_rdatatype_t rdtype_sigchase;
-        dns_rdatatype_t qrdtype_sigchase;
-        dns_rdataclass_t rdclass_sigchase;
+       dns_rdatatype_t rdtype_sigchase;
+       dns_rdatatype_t qrdtype_sigchase;
+       dns_rdataclass_t rdclass_sigchase;
 #endif
        dns_rdataclass_t rdclass;
        isc_boolean_t rdtypeset;
@@ -231,7 +231,7 @@ struct dig_searchlist {
 };
 #ifdef DIG_SIGCHASE
 struct dig_message {
-               dns_message_t *msg;
+               dns_message_t *msg;
                ISC_LINK(dig_message_t) link;
 };
 #endif
@@ -249,7 +249,7 @@ extern dig_searchlistlist_t search_list;
 extern unsigned int extrabytes;
 
 extern isc_boolean_t check_ra, have_ipv4, have_ipv6, specified_source,
-        usesearch, showsearch, qr;
+       usesearch, showsearch, qr;
 extern in_port_t port;
 extern unsigned int timeout;
 extern isc_mem_t *mctx;
index 64bfdfe5b32153eda60c8d2fa75fb900c2aa1d4d..ab0eea9fcd7683b6b53843b21060bb21717d65aa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.101.18.16 2008/12/16 03:00:06 jinmei Exp $ */
+/* $Id: nslookup.c,v 1.101.18.17 2008/12/16 23:46:02 tbox Exp $ */
 
 #include <config.h>
 
@@ -385,14 +385,14 @@ trying(char *frm, dig_lookup_t *lookup) {
 
 isc_result_t
 printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
-       char servtext[ISC_SOCKADDR_FORMATSIZE]; 
+       char servtext[ISC_SOCKADDR_FORMATSIZE];
 
        debug("printmessage()");
 
        isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
        printf("Server:\t\t%s\n", query->userarg);
        printf("Address:\t%s\n", servtext);
-       
+
        puts("");
 
        if (!short_form) {
@@ -508,7 +508,7 @@ testclass(char *typetext) {
        tr.base = typetext;
        tr.length = strlen(typetext);
        result = dns_rdataclass_fromtext(&rdclass, &tr);
-       if (result == ISC_R_SUCCESS) 
+       if (result == ISC_R_SUCCESS)
                return (ISC_TRUE);
        else {
                printf("unknown query class: %s\n", typetext);
@@ -606,7 +606,7 @@ setoption(char *opt) {
                set_timeout(&opt[8]);
        } else if (strncasecmp(opt, "t=", 2) == 0) {
                set_timeout(&opt[2]);
-       } else if (strncasecmp(opt, "rec", 3) == 0) {
+       } else if (strncasecmp(opt, "rec", 3) == 0) {
                recurse = ISC_TRUE;
        } else if (strncasecmp(opt, "norec", 5) == 0) {
                recurse = ISC_FALSE;
@@ -614,21 +614,21 @@ setoption(char *opt) {
                set_tries(&opt[6]);
        } else if (strncasecmp(opt, "ret=", 4) == 0) {
                set_tries(&opt[4]);
-       } else if (strncasecmp(opt, "def", 3) == 0) {
+       } else if (strncasecmp(opt, "def", 3) == 0) {
                usesearch = ISC_TRUE;
        } else if (strncasecmp(opt, "nodef", 5) == 0) {
                usesearch = ISC_FALSE;
-       } else if (strncasecmp(opt, "vc", 3) == 0) {
+       } else if (strncasecmp(opt, "vc", 3) == 0) {
                tcpmode = ISC_TRUE;
        } else if (strncasecmp(opt, "novc", 5) == 0) {
                tcpmode = ISC_FALSE;
-       } else if (strncasecmp(opt, "deb", 3) == 0) {
+       } else if (strncasecmp(opt, "deb", 3) == 0) {
                short_form = ISC_FALSE;
                showsearch = ISC_TRUE;
        } else if (strncasecmp(opt, "nodeb", 5) == 0) {
                short_form = ISC_TRUE;
                showsearch = ISC_FALSE;
-       } else if (strncasecmp(opt, "d2", 2) == 0) {
+       } else if (strncasecmp(opt, "d2", 2) == 0) {
                debugging = ISC_TRUE;
        } else if (strncasecmp(opt, "nod2", 4) == 0) {
                debugging = ISC_FALSE;
@@ -643,7 +643,7 @@ setoption(char *opt) {
        } else if (strncasecmp(opt, "nofail", 3) == 0) {
                nofail=ISC_TRUE;
        } else {
-               printf("*** Invalid option: %s\n", opt);        
+               printf("*** Invalid option: %s\n", opt);
        }
 }