Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/bind9/isc
File: resultclass.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
#ifndef ISC_RESULTCLASS_H
[12] Fix | Delete
#define ISC_RESULTCLASS_H 1
[13] Fix | Delete
[14] Fix | Delete
[15] Fix | Delete
/*! \file isc/resultclass.h
[16] Fix | Delete
* \brief Registry of Predefined Result Type Classes
[17] Fix | Delete
*
[18] Fix | Delete
* A result class number is an unsigned 16 bit number. Each class may
[19] Fix | Delete
* contain up to 65536 results. A result code is formed by adding the
[20] Fix | Delete
* result number within the class to the class number multiplied by 65536.
[21] Fix | Delete
*
[22] Fix | Delete
* Classes < 1024 are reserved for ISC use.
[23] Fix | Delete
* Result classes >= 1024 and <= 65535 are reserved for application use.
[24] Fix | Delete
*/
[25] Fix | Delete
[26] Fix | Delete
#define ISC_RESULTCLASS_FROMNUM(num) ((num) << 16)
[27] Fix | Delete
#define ISC_RESULTCLASS_TONUM(rclass) ((rclass) >> 16)
[28] Fix | Delete
#define ISC_RESULTCLASS_SIZE 65536
[29] Fix | Delete
#define ISC_RESULTCLASS_INCLASS(rclass, result) \
[30] Fix | Delete
((rclass) == ((result) & 0xFFFF0000))
[31] Fix | Delete
[32] Fix | Delete
[33] Fix | Delete
#define ISC_RESULTCLASS_ISC ISC_RESULTCLASS_FROMNUM(0)
[34] Fix | Delete
#define ISC_RESULTCLASS_DNS ISC_RESULTCLASS_FROMNUM(1)
[35] Fix | Delete
#define ISC_RESULTCLASS_DST ISC_RESULTCLASS_FROMNUM(2)
[36] Fix | Delete
#define ISC_RESULTCLASS_DNSRCODE ISC_RESULTCLASS_FROMNUM(3)
[37] Fix | Delete
#define ISC_RESULTCLASS_OMAPI ISC_RESULTCLASS_FROMNUM(4)
[38] Fix | Delete
#define ISC_RESULTCLASS_ISCCC ISC_RESULTCLASS_FROMNUM(5)
[39] Fix | Delete
#define ISC_RESULTCLASS_DHCP ISC_RESULTCLASS_FROMNUM(6)
[40] Fix | Delete
#define ISC_RESULTCLASS_PK11 ISC_RESULTCLASS_FROMNUM(7)
[41] Fix | Delete
[42] Fix | Delete
#endif /* ISC_RESULTCLASS_H */
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function