diff options
author | Mukund Sivaraman <muks@isc.org> | 2012-10-25 06:05:06 +0200 |
---|---|---|
committer | Mukund Sivaraman <muks@isc.org> | 2012-10-25 06:36:34 +0200 |
commit | 059a2a175193e5c60a3a5e647acf95e0eb6b9a6a (patch) | |
tree | c0529f22066954c4be1b1c96259fcf2cb8640cca /src | |
parent | [2357] Update the scaffolding which message compiler generates (diff) | |
download | kea-059a2a175193e5c60a3a5e647acf95e0eb6b9a6a.tar.xz kea-059a2a175193e5c60a3a5e647acf95e0eb6b9a6a.zip |
[2357] Update scaffolding using fix-scaffolding.py tool
See bug #2367 for the fix-scaffolding.py tool.
Diffstat (limited to 'src')
237 files changed, 683 insertions, 683 deletions
diff --git a/src/bin/auth/auth_config.h b/src/bin/auth/auth_config.h index 8e816a3fb4..57fd270faa 100644 --- a/src/bin/auth/auth_config.h +++ b/src/bin/auth/auth_config.h @@ -18,8 +18,8 @@ #include <cc/data.h> -#ifndef __CONFIG_H -#define __CONFIG_H 1 +#ifndef CONFIG_H +#define CONFIG_H 1 class AuthSrv; @@ -195,7 +195,7 @@ void configureAuthServer(AuthSrv& server, AuthConfigParser* createAuthConfigParser(AuthSrv& server, const std::string& config_id); -#endif // __CONFIG_H +#endif // CONFIG_H // Local Variables: // mode: c++ diff --git a/src/bin/auth/auth_log.h b/src/bin/auth/auth_log.h index 7fb3a2d72a..52b973ecc9 100644 --- a/src/bin/auth/auth_log.h +++ b/src/bin/auth/auth_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __AUTH_LOG__H -#define __AUTH_LOG__H +#ifndef AUTH_LOG_H +#define AUTH_LOG_H #include <log/macros.h> #include <auth/auth_messages.h> @@ -53,4 +53,4 @@ extern isc::log::Logger auth_logger; } // namespace nsas } // namespace isc -#endif // __AUTH_LOG__H +#endif // AUTH_LOG_H diff --git a/src/bin/auth/auth_srv.h b/src/bin/auth/auth_srv.h index 2d53666266..f06a82a73e 100644 --- a/src/bin/auth/auth_srv.h +++ b/src/bin/auth/auth_srv.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __AUTH_SRV_H -#define __AUTH_SRV_H 1 +#ifndef AUTH_SRV_H +#define AUTH_SRV_H 1 #include <config/ccsession.h> @@ -328,7 +328,7 @@ private: isc::asiodns::DNSServiceBase* dnss_; }; -#endif // __AUTH_SRV_H +#endif // AUTH_SRV_H // Local Variables: // mode: c++ diff --git a/src/bin/auth/command.h b/src/bin/auth/command.h index 7db5cd697a..5058b81943 100644 --- a/src/bin/auth/command.h +++ b/src/bin/auth/command.h @@ -16,8 +16,8 @@ #include <cc/data.h> -#ifndef __COMMAND_H -#define __COMMAND_H 1 +#ifndef COMMAND_H +#define COMMAND_H 1 class AuthSrv; @@ -54,7 +54,7 @@ isc::data::ConstElementPtr execAuthServerCommand(AuthSrv& server, const std::string& command_id, isc::data::ConstElementPtr args); -#endif // __COMMAND_H +#endif // COMMAND_H // Local Variables: // mode: c++ diff --git a/src/bin/auth/common.h b/src/bin/auth/common.h index 0964217336..908a7d1621 100644 --- a/src/bin/auth/common.h +++ b/src/bin/auth/common.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __COMMON_H -#define __COMMON_H 1 +#ifndef COMMON_H +#define COMMON_H 1 #include <stdexcept> #include <string> @@ -62,7 +62,7 @@ extern const char* const AUTH_NAME; /// This is sent to interested modules (currently only b10-ddns) extern const char* const AUTH_STARTED_NOTIFICATION; -#endif // __COMMON_H +#endif // COMMON_H // Local Variables: // mode: c++ diff --git a/src/bin/auth/statistics.h b/src/bin/auth/statistics.h index 0ca8da4d39..d5700addd3 100644 --- a/src/bin/auth/statistics.h +++ b/src/bin/auth/statistics.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __STATISTICS_H -#define __STATISTICS_H 1 +#ifndef STATISTICS_H +#define STATISTICS_H 1 #include <dns/opcode.h> #include <dns/rcode.h> @@ -178,7 +178,7 @@ public: void registerStatisticsValidator(AuthCounters::validator_type validator) const; }; -#endif // __STATISTICS_H +#endif // STATISTICS_H // Local Variables: // mode: c++ diff --git a/src/bin/auth/tests/datasrc_util.h b/src/bin/auth/tests/datasrc_util.h index 07ebc0c25e..974833266b 100644 --- a/src/bin/auth/tests/datasrc_util.h +++ b/src/bin/auth/tests/datasrc_util.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __AUTH_DATA_SOURCE_UTIL_H -#define __AUTH_DATA_SOURCE_UTIL_H 1 +#ifndef AUTH_DATA_SOURCE_UTIL_H +#define AUTH_DATA_SOURCE_UTIL_H 1 #include <dns/name.h> #include <dns/rrclass.h> @@ -51,7 +51,7 @@ createSQLite3DB(dns::RRClass zclass, const dns::Name& zname, } // end of auth } // end of isc -#endif // __AUTH_DATA_SOURCE_UTIL_H +#endif // AUTH_DATA_SOURCE_UTIL_H // Local Variables: // mode: c++ diff --git a/src/bin/dhcp4/dhcp4_log.h b/src/bin/dhcp4/dhcp4_log.h index 3717b62d92..b042ea4045 100644 --- a/src/bin/dhcp4/dhcp4_log.h +++ b/src/bin/dhcp4/dhcp4_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DHCP4_LOG__H -#define __DHCP4_LOG__H +#ifndef DHCP4_LOG_H +#define DHCP4_LOG_H #include <log/macros.h> #include <log/logger_support.h> @@ -56,4 +56,4 @@ extern isc::log::Logger dhcp4_logger; } // namespace dhcp4 } // namespace isc -#endif // __DHCP4_LOG__H +#endif // DHCP4_LOG_H diff --git a/src/bin/dhcp6/dhcp6_log.h b/src/bin/dhcp6/dhcp6_log.h index 6d7f4e33b0..fb3c3f90bb 100644 --- a/src/bin/dhcp6/dhcp6_log.h +++ b/src/bin/dhcp6/dhcp6_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DHCP6_LOG__H -#define __DHCP6_LOG__H +#ifndef DHCP6_LOG_H +#define DHCP6_LOG_H #include <log/macros.h> #include <log/logger_support.h> @@ -56,4 +56,4 @@ extern isc::log::Logger dhcp6_logger; } // namespace dhcp6 } // namespace isc -#endif // __DHCP6_LOG__H +#endif // DHCP6_LOG_H diff --git a/src/bin/resolver/resolver.h b/src/bin/resolver/resolver.h index e91192e931..cc0f09f9bf 100644 --- a/src/bin/resolver/resolver.h +++ b/src/bin/resolver/resolver.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RESOLVER_H -#define __RESOLVER_H 1 +#ifndef RESOLVER_H +#define RESOLVER_H 1 #include <string> #include <vector> @@ -266,7 +266,7 @@ private: isc::cache::ResolverCache* cache_; }; -#endif // __RESOLVER_H +#endif // RESOLVER_H // Local Variables: // mode: c++ diff --git a/src/bin/resolver/resolver_log.h b/src/bin/resolver/resolver_log.h index e0e3fdafb2..a4b6c44e75 100644 --- a/src/bin/resolver/resolver_log.h +++ b/src/bin/resolver/resolver_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RESOLVER_LOG__H -#define __RESOLVER_LOG__H +#ifndef RESOLVER_LOG_H +#define RESOLVER_LOG_H #include <log/macros.h> #include "resolver_messages.h" @@ -46,4 +46,4 @@ const int RESOLVER_DBG_DETAIL = DBGLVL_TRACE_DETAIL_DATA; /// space. extern isc::log::Logger resolver_logger; -#endif // __RESOLVER_LOG__H +#endif // RESOLVER_LOG_H diff --git a/src/bin/resolver/response_scrubber.h b/src/bin/resolver/response_scrubber.h index c59ac15f30..cb80b26e00 100644 --- a/src/bin/resolver/response_scrubber.h +++ b/src/bin/resolver/response_scrubber.h @@ -14,8 +14,8 @@ // $Id$ -#ifndef __RESPONSE_SCRUBBER_H -#define __RESPONSE_SCRUBBER_H +#ifndef RESPONSE_SCRUBBER_H +#define RESPONSE_SCRUBBER_H /// \page DataScrubbing Data Scrubbing /// \section DataScrubbingIntro Introduction @@ -419,4 +419,4 @@ public: } }; -#endif // __RESPONSE_SCRUBBER_H +#endif // RESPONSE_SCRUBBER_H diff --git a/src/bin/sockcreator/sockcreator.h b/src/bin/sockcreator/sockcreator.h index e5d47838db..8e32c48c64 100644 --- a/src/bin/sockcreator/sockcreator.h +++ b/src/bin/sockcreator/sockcreator.h @@ -18,8 +18,8 @@ /// This module holds the functionality of the socket creator. It is a separate /// module from main to make testing easier. -#ifndef __SOCKCREATOR_H -#define __SOCKCREATOR_H 1 +#ifndef SOCKCREATOR_H +#define SOCKCREATOR_H 1 #include <util/io/fd_share.h> #include <exceptions/exceptions.h> @@ -144,4 +144,4 @@ run(const int input_fd, const int output_fd, get_sock_t get_sock_fun, } // namespace socket_creator } // NAMESPACE ISC -#endif // __SOCKCREATOR_H +#endif // SOCKCREATOR_H diff --git a/src/lib/acl/dnsname_check.h b/src/lib/acl/dnsname_check.h index 7498d99f64..7403c16c38 100644 --- a/src/lib/acl/dnsname_check.h +++ b/src/lib/acl/dnsname_check.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DNSNAME_CHECK_H -#define __DNSNAME_CHECK_H 1 +#ifndef DNSNAME_CHECK_H +#define DNSNAME_CHECK_H 1 #include <dns/name.h> @@ -76,7 +76,7 @@ private: } // namespace acl } // namespace isc -#endif // __DNSNAME_CHECK_H +#endif // DNSNAME_CHECK_H // Local Variables: // mode: c++ diff --git a/src/lib/acl/ip_check.h b/src/lib/acl/ip_check.h index 794b943106..9d70b0a9b9 100644 --- a/src/lib/acl/ip_check.h +++ b/src/lib/acl/ip_check.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IP_CHECK_H -#define __IP_CHECK_H +#ifndef IP_CHECK_H +#define IP_CHECK_H #include <sys/socket.h> @@ -410,7 +410,7 @@ const size_t IPCheck<Context>::IPV4_SIZE; } // namespace acl } // namespace isc -#endif // __IP_CHECK_H +#endif // IP_CHECK_H // Local Variables: // mode: c++ diff --git a/src/lib/acl/tests/sockaddr.h b/src/lib/acl/tests/sockaddr.h index bd304516ad..2a4457ab9d 100644 --- a/src/lib/acl/tests/sockaddr.h +++ b/src/lib/acl/tests/sockaddr.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ACL_TEST_SOCKADDR_H -#define __ACL_TEST_SOCKADDR_H 1 +#ifndef ACL_TEST_SOCKADDR_H +#define ACL_TEST_SOCKADDR_H 1 #include <sys/types.h> #include <sys/socket.h> @@ -62,7 +62,7 @@ getSockAddr(const char* const addr) { } // end of namespace "acl" } // end of namespace "isc" -#endif // __ACL_TEST_SOCKADDR_H +#endif // ACL_TEST_SOCKADDR_H // Local Variables: // mode: c++ diff --git a/src/lib/asiodns/asiodns.h b/src/lib/asiodns/asiodns.h index 8791a72f1a..3032ebdb1a 100644 --- a/src/lib/asiodns/asiodns.h +++ b/src/lib/asiodns/asiodns.h @@ -12,12 +12,12 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIODNS_H -#define __ASIODNS_H 1 +#ifndef ASIODNS_H +#define ASIODNS_H 1 #include <asiodns/dns_service.h> #include <asiodns/dns_server.h> #include <asiodns/dns_lookup.h> #include <asiodns/dns_answer.h> -#endif // __ASIODNS_H +#endif // ASIODNS_H diff --git a/src/lib/asiodns/dns_answer.h b/src/lib/asiodns/dns_answer.h index 36543697b7..4b4576bbbf 100644 --- a/src/lib/asiodns/dns_answer.h +++ b/src/lib/asiodns/dns_answer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_DNS_ANSWER_H -#define __ASIOLINK_DNS_ANSWER_H 1 +#ifndef ASIOLINK_DNS_ANSWER_H +#define ASIOLINK_DNS_ANSWER_H 1 #include <asiolink/io_message.h> #include <util/buffer.h> @@ -74,4 +74,4 @@ public: } // namespace asiodns } // namespace isc -#endif // __ASIOLINK_DNS_ANSWER_H +#endif // ASIOLINK_DNS_ANSWER_H diff --git a/src/lib/asiodns/dns_lookup.h b/src/lib/asiodns/dns_lookup.h index 5dc84ac34e..309755cd82 100644 --- a/src/lib/asiodns/dns_lookup.h +++ b/src/lib/asiodns/dns_lookup.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_DNS_LOOKUP_H -#define __ASIOLINK_DNS_LOOKUP_H 1 +#ifndef ASIOLINK_DNS_LOOKUP_H +#define ASIOLINK_DNS_LOOKUP_H 1 #include <asiolink/io_message.h> #include <asiodns/dns_server.h> @@ -84,4 +84,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __ASIOLINK_DNS_LOOKUP_H +#endif // ASIOLINK_DNS_LOOKUP_H diff --git a/src/lib/asiodns/dns_server.h b/src/lib/asiodns/dns_server.h index bc398056c4..3b8758fe49 100644 --- a/src/lib/asiodns/dns_server.h +++ b/src/lib/asiodns/dns_server.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_DNS_SERVER_H -#define __ASIOLINK_DNS_SERVER_H 1 +#ifndef ASIOLINK_DNS_SERVER_H +#define ASIOLINK_DNS_SERVER_H 1 #include <asiolink/io_message.h> @@ -152,4 +152,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __ASIOLINK_DNS_SERVER_H +#endif // ASIOLINK_DNS_SERVER_H diff --git a/src/lib/asiodns/dns_service.h b/src/lib/asiodns/dns_service.h index 0b578fbd9b..01b6310d70 100644 --- a/src/lib/asiodns/dns_service.h +++ b/src/lib/asiodns/dns_service.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_DNS_SERVICE_H -#define __ASIOLINK_DNS_SERVICE_H 1 +#ifndef ASIOLINK_DNS_SERVICE_H +#define ASIOLINK_DNS_SERVICE_H 1 #include <resolve/resolver_interface.h> @@ -210,7 +210,7 @@ private: } // namespace asiodns } // namespace isc -#endif // __ASIOLINK_DNS_SERVICE_H +#endif // ASIOLINK_DNS_SERVICE_H // Local Variables: // mode: c++ diff --git a/src/lib/asiodns/io_fetch.h b/src/lib/asiodns/io_fetch.h index 78c2da9c61..c31ee092c9 100644 --- a/src/lib/asiodns/io_fetch.h +++ b/src/lib/asiodns/io_fetch.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_FETCH_H -#define __IO_FETCH_H 1 +#ifndef IO_FETCH_H +#define IO_FETCH_H 1 #include <config.h> @@ -229,4 +229,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __IO_FETCH_H +#endif // IO_FETCH_H diff --git a/src/lib/asiodns/sync_udp_server.h b/src/lib/asiodns/sync_udp_server.h index 97184226f4..ddac1f9340 100644 --- a/src/lib/asiodns/sync_udp_server.h +++ b/src/lib/asiodns/sync_udp_server.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SYNC_UDP_SERVER_H -#define __SYNC_UDP_SERVER_H 1 +#ifndef SYNC_UDP_SERVER_H +#define SYNC_UDP_SERVER_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -145,4 +145,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __SYNC_UDP_SERVER_H +#endif // SYNC_UDP_SERVER_H diff --git a/src/lib/asiodns/tcp_server.h b/src/lib/asiodns/tcp_server.h index 7675daf332..46f484bf81 100644 --- a/src/lib/asiodns/tcp_server.h +++ b/src/lib/asiodns/tcp_server.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TCP_SERVER_H -#define __TCP_SERVER_H 1 +#ifndef TCP_SERVER_H +#define TCP_SERVER_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -147,4 +147,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __TCP_SERVER_H +#endif // TCP_SERVER_H diff --git a/src/lib/asiodns/udp_server.h b/src/lib/asiodns/udp_server.h index b32c06c9d0..c2b1b96d64 100644 --- a/src/lib/asiodns/udp_server.h +++ b/src/lib/asiodns/udp_server.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UDP_SERVER_H -#define __UDP_SERVER_H 1 +#ifndef UDP_SERVER_H +#define UDP_SERVER_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -96,4 +96,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __UDP_SERVER_H +#endif // UDP_SERVER_H diff --git a/src/lib/asiolink/asiolink.h b/src/lib/asiolink/asiolink.h index 51d3a141c1..708f368abb 100644 --- a/src/lib/asiolink/asiolink.h +++ b/src/lib/asiolink/asiolink.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_H -#define __ASIOLINK_H 1 +#ifndef ASIOLINK_H +#define ASIOLINK_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -74,4 +74,4 @@ /// the placeholder of callback handlers: /// http://think-async.com/Asio/asio-1.3.1/doc/asio/reference/asio_handler_allocate.html -#endif // __ASIOLINK_H +#endif // ASIOLINK_H diff --git a/src/lib/asiolink/dummy_io_cb.h b/src/lib/asiolink/dummy_io_cb.h index bcaefe9faa..c4644c5048 100644 --- a/src/lib/asiolink/dummy_io_cb.h +++ b/src/lib/asiolink/dummy_io_cb.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DUMMY_IO_CB_H -#define __DUMMY_IO_CB_H +#ifndef DUMMY_IO_CB_H +#define DUMMY_IO_CB_H #include <iostream> @@ -59,4 +59,4 @@ public: } // namespace asiolink } // namespace isc -#endif // __DUMMY_IO_CB_H +#endif // DUMMY_IO_CB_H diff --git a/src/lib/asiolink/interval_timer.h b/src/lib/asiolink/interval_timer.h index 57ec1c327e..620abfa962 100644 --- a/src/lib/asiolink/interval_timer.h +++ b/src/lib/asiolink/interval_timer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_INTERVAL_TIMER_H -#define __ASIOLINK_INTERVAL_TIMER_H 1 +#ifndef ASIOLINK_INTERVAL_TIMER_H +#define ASIOLINK_INTERVAL_TIMER_H 1 #include <boost/function.hpp> #include <boost/shared_ptr.hpp> @@ -130,4 +130,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __ASIOLINK_INTERVAL_TIMER_H +#endif // ASIOLINK_INTERVAL_TIMER_H diff --git a/src/lib/asiolink/io_address.h b/src/lib/asiolink/io_address.h index a3bb61ac29..6c18a66d57 100644 --- a/src/lib/asiolink/io_address.h +++ b/src/lib/asiolink/io_address.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_ADDRESS_H -#define __IO_ADDRESS_H 1 +#ifndef IO_ADDRESS_H +#define IO_ADDRESS_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -215,4 +215,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __IO_ADDRESS_H +#endif // IO_ADDRESS_H diff --git a/src/lib/asiolink/io_asio_socket.h b/src/lib/asiolink/io_asio_socket.h index aeac63d3af..f6d64a0026 100644 --- a/src/lib/asiolink/io_asio_socket.h +++ b/src/lib/asiolink/io_asio_socket.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_ASIO_SOCKET_H -#define __IO_ASIO_SOCKET_H 1 +#ifndef IO_ASIO_SOCKET_H +#define IO_ASIO_SOCKET_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -385,4 +385,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __IO_ASIO_SOCKET_H +#endif // IO_ASIO_SOCKET_H diff --git a/src/lib/asiolink/io_endpoint.h b/src/lib/asiolink/io_endpoint.h index 973fc8b4dd..89bc247398 100644 --- a/src/lib/asiolink/io_endpoint.h +++ b/src/lib/asiolink/io_endpoint.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_ENDPOINT_H -#define __IO_ENDPOINT_H 1 +#ifndef IO_ENDPOINT_H +#define IO_ENDPOINT_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -184,7 +184,7 @@ public: std::ostream& operator<<(std::ostream& os, const IOEndpoint& endpoint); } // namespace asiolink } // namespace isc -#endif // __IO_ENDPOINT_H +#endif // IO_ENDPOINT_H // Local Variables: // mode: c++ diff --git a/src/lib/asiolink/io_error.h b/src/lib/asiolink/io_error.h index c19d91c693..2fb2486e82 100644 --- a/src/lib/asiolink/io_error.h +++ b/src/lib/asiolink/io_error.h @@ -13,8 +13,8 @@ // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_ERROR_H -#define __IO_ERROR_H +#ifndef IO_ERROR_H +#define IO_ERROR_H #include <exceptions/exceptions.h> @@ -34,4 +34,4 @@ public: } // namespace asiolink } // namespace isc -#endif // __IO_ERROR_H +#endif // IO_ERROR_H diff --git a/src/lib/asiolink/io_message.h b/src/lib/asiolink/io_message.h index 81f6da1cf0..7607c72ed5 100644 --- a/src/lib/asiolink/io_message.h +++ b/src/lib/asiolink/io_message.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_MESSAGE_H -#define __IO_MESSAGE_H 1 +#ifndef IO_MESSAGE_H +#define IO_MESSAGE_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -99,4 +99,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __IO_MESSAGE_H +#endif // IO_MESSAGE_H diff --git a/src/lib/asiolink/io_service.h b/src/lib/asiolink/io_service.h index 75aaee67e8..e0198ddf73 100644 --- a/src/lib/asiolink/io_service.h +++ b/src/lib/asiolink/io_service.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_IO_SERVICE_H -#define __ASIOLINK_IO_SERVICE_H 1 +#ifndef ASIOLINK_IO_SERVICE_H +#define ASIOLINK_IO_SERVICE_H 1 namespace asio { class io_service; @@ -76,4 +76,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __ASIOLINK_IO_SERVICE_H +#endif // ASIOLINK_IO_SERVICE_H diff --git a/src/lib/asiolink/io_socket.h b/src/lib/asiolink/io_socket.h index ab6479c62a..6581faf0f5 100644 --- a/src/lib/asiolink/io_socket.h +++ b/src/lib/asiolink/io_socket.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_SOCKET_H -#define __IO_SOCKET_H 1 +#ifndef IO_SOCKET_H +#define IO_SOCKET_H 1 // IMPORTANT NOTE: only very few ASIO headers files can be included in // this file. In particular, asio.hpp should never be included here. @@ -123,4 +123,4 @@ public: } // namespace asiolink } // namespace isc -#endif // __IO_SOCKET_H +#endif // IO_SOCKET_H diff --git a/src/lib/asiolink/simple_callback.h b/src/lib/asiolink/simple_callback.h index a297a1d621..4301bd1d48 100644 --- a/src/lib/asiolink/simple_callback.h +++ b/src/lib/asiolink/simple_callback.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_SIMPLE_CALLBACK_H -#define __ASIOLINK_SIMPLE_CALLBACK_H 1 +#ifndef ASIOLINK_SIMPLE_CALLBACK_H +#define ASIOLINK_SIMPLE_CALLBACK_H 1 #include <asiolink/io_message.h> @@ -72,4 +72,4 @@ private: } // namespace asiolink } // namespace isc -#endif // __ASIOLINK_SIMPLE_CALLBACK_H +#endif // ASIOLINK_SIMPLE_CALLBACK_H diff --git a/src/lib/asiolink/tcp_endpoint.h b/src/lib/asiolink/tcp_endpoint.h index a54f6b290f..3d6a87a62e 100644 --- a/src/lib/asiolink/tcp_endpoint.h +++ b/src/lib/asiolink/tcp_endpoint.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TCP_ENDPOINT_H -#define __TCP_ENDPOINT_H 1 +#ifndef TCP_ENDPOINT_H +#define TCP_ENDPOINT_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -116,7 +116,7 @@ private: } // namespace asiolink } // namespace isc -#endif // __TCP_ENDPOINT_H +#endif // TCP_ENDPOINT_H // Local Variables: // mode: c++ diff --git a/src/lib/asiolink/tcp_socket.h b/src/lib/asiolink/tcp_socket.h index 2505d7b019..6b0a43cd49 100644 --- a/src/lib/asiolink/tcp_socket.h +++ b/src/lib/asiolink/tcp_socket.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TCP_SOCKET_H -#define __TCP_SOCKET_H 1 +#ifndef TCP_SOCKET_H +#define TCP_SOCKET_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -415,4 +415,4 @@ TCPSocket<C>::close() { } // namespace asiolink } // namespace isc -#endif // __TCP_SOCKET_H +#endif // TCP_SOCKET_H diff --git a/src/lib/asiolink/udp_endpoint.h b/src/lib/asiolink/udp_endpoint.h index c5ba3bd93d..34701b984f 100644 --- a/src/lib/asiolink/udp_endpoint.h +++ b/src/lib/asiolink/udp_endpoint.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UDP_ENDPOINT_H -#define __UDP_ENDPOINT_H 1 +#ifndef UDP_ENDPOINT_H +#define UDP_ENDPOINT_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -116,7 +116,7 @@ private: } // namespace asiolink } // namespace isc -#endif // __UDP_ENDPOINT_H +#endif // UDP_ENDPOINT_H // Local Variables: // mode: c++ diff --git a/src/lib/asiolink/udp_socket.h b/src/lib/asiolink/udp_socket.h index c061fba965..5712957c23 100644 --- a/src/lib/asiolink/udp_socket.h +++ b/src/lib/asiolink/udp_socket.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UDP_SOCKET_H -#define __UDP_SOCKET_H 1 +#ifndef UDP_SOCKET_H +#define UDP_SOCKET_H 1 #ifndef ASIO_HPP #error "asio.hpp must be included before including this, see asiolink.h as to why" @@ -321,4 +321,4 @@ UDPSocket<C>::close() { } // namespace asiolink } // namespace isc -#endif // __UDP_SOCKET_H +#endif // UDP_SOCKET_H diff --git a/src/lib/bench/benchmark.h b/src/lib/bench/benchmark.h index a5c6fd4535..3e380dc367 100644 --- a/src/lib/bench/benchmark.h +++ b/src/lib/bench/benchmark.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __BENCHMARK_H -#define __BENCHMARK_H 1 +#ifndef BENCHMARK_H +#define BENCHMARK_H 1 #include <sys/time.h> @@ -402,7 +402,7 @@ private: } } -#endif // __BENCHMARK_H +#endif // BENCHMARK_H // Local Variables: // mode: c++ diff --git a/src/lib/bench/benchmark_util.h b/src/lib/bench/benchmark_util.h index 3a373f2fa2..2cb6acc6e3 100644 --- a/src/lib/bench/benchmark_util.h +++ b/src/lib/bench/benchmark_util.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __BENCHMARK_UTIL_H -#define __BENCHMARK_UTIL_H 1 +#ifndef BENCHMARK_UTIL_H +#define BENCHMARK_UTIL_H 1 /// \file /// Utilities to help write benchmark cases. @@ -140,7 +140,7 @@ void loadQueryData(std::istream& input, BenchQueries& queries, const isc::dns::RRClass& qclass, const bool strict = false); } } -#endif // __BENCHMARK_UTIL_H +#endif // BENCHMARK_UTIL_H // Local Variables: // mode: c++ diff --git a/src/lib/cache/cache_entry_key.h b/src/lib/cache/cache_entry_key.h index 674deb00f7..308a55614e 100644 --- a/src/lib/cache/cache_entry_key.h +++ b/src/lib/cache/cache_entry_key.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CACHE_ENTRY_KEY_H -#define __CACHE_ENTRY_KEY_H +#ifndef CACHE_ENTRY_KEY_H +#define CACHE_ENTRY_KEY_H #include <string> #include <dns/name.h> @@ -50,5 +50,5 @@ genCacheEntryName(const std::string& namestr, const uint16_t type); } // namespace cache } // namespace isc -#endif // __CACHE_ENTRY_KEY_H +#endif // CACHE_ENTRY_KEY_H diff --git a/src/lib/cache/local_zone_data.h b/src/lib/cache/local_zone_data.h index df77f40165..4bfdb94271 100644 --- a/src/lib/cache/local_zone_data.h +++ b/src/lib/cache/local_zone_data.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _LOCAL_ZONE_DATA -#define _LOCAL_ZONE_DATA +#ifndef LOCAL_ZONE_DATA +#define LOCAL_ZONE_DATA #include <map> #include <string> @@ -60,5 +60,5 @@ typedef boost::shared_ptr<const LocalZoneData> ConstLocalZoneDataPtr; } // namespace cache } // namespace isc -#endif // _LOCAL_ZONE_DATA +#endif // LOCAL_ZONE_DATA diff --git a/src/lib/cache/logger.h b/src/lib/cache/logger.h index 52c9743cc7..3cadb54e25 100644 --- a/src/lib/cache/logger.h +++ b/src/lib/cache/logger.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_LOGGER_H -#define __DATASRC_LOGGER_H +#ifndef DATASRC_LOGGER_H +#define DATASRC_LOGGER_H #include <log/macros.h> #include <cache/cache_messages.h> diff --git a/src/lib/cache/message_cache.h b/src/lib/cache/message_cache.h index b418f23953..0c19139088 100644 --- a/src/lib/cache/message_cache.h +++ b/src/lib/cache/message_cache.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_CACHE_H -#define __MESSAGE_CACHE_H +#ifndef MESSAGE_CACHE_H +#define MESSAGE_CACHE_H #include <string> #include <boost/shared_ptr.hpp> @@ -90,5 +90,5 @@ typedef boost::shared_ptr<MessageCache> MessageCachePtr; } // namespace cache } // namespace isc -#endif // __MESSAGE_CACHE_H +#endif // MESSAGE_CACHE_H diff --git a/src/lib/cache/message_entry.h b/src/lib/cache/message_entry.h index 6da27cc539..206e601c1b 100644 --- a/src/lib/cache/message_entry.h +++ b/src/lib/cache/message_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_ENTRY_H -#define __MESSAGE_ENTRY_H +#ifndef MESSAGE_ENTRY_H +#define MESSAGE_ENTRY_H #include <vector> #include <dns/message.h> @@ -199,5 +199,5 @@ typedef boost::shared_ptr<MessageEntry> MessageEntryPtr; } // namespace cache } // namespace isc -#endif // __MESSAGE_ENTRY_H +#endif // MESSAGE_ENTRY_H diff --git a/src/lib/cache/message_utility.h b/src/lib/cache/message_utility.h index a77af078c4..1a79480812 100644 --- a/src/lib/cache/message_utility.h +++ b/src/lib/cache/message_utility.h @@ -14,8 +14,8 @@ // $Id$ -#ifndef __MESSAGE_UTILITY_H -#define __MESSAGE_UTILITY_H +#ifndef MESSAGE_UTILITY_H +#define MESSAGE_UTILITY_H #include <dns/message.h> @@ -63,4 +63,4 @@ bool canMessageBeCached(const isc::dns::Message& msg); } // namespace isc -#endif//__MESSAGE_UTILITY_H +#endif//MESSAGE_UTILITY_H diff --git a/src/lib/cache/resolver_cache.h b/src/lib/cache/resolver_cache.h index 5630bd77d4..9813cc29e6 100644 --- a/src/lib/cache/resolver_cache.h +++ b/src/lib/cache/resolver_cache.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RESOLVER_CACHE_H -#define __RESOLVER_CACHE_H +#ifndef RESOLVER_CACHE_H +#define RESOLVER_CACHE_H #include <map> #include <string> @@ -319,5 +319,5 @@ private: } // namespace cache } // namespace isc -#endif // __RESOLVER_CACHE_H +#endif // RESOLVER_CACHE_H diff --git a/src/lib/cache/rrset_cache.h b/src/lib/cache/rrset_cache.h index a4ea54ef6e..304c6e8907 100644 --- a/src/lib/cache/rrset_cache.h +++ b/src/lib/cache/rrset_cache.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRSET_CACHE_H -#define __RRSET_CACHE_H +#ifndef RRSET_CACHE_H +#define RRSET_CACHE_H #include <cache/rrset_entry.h> #include <nsas/hash_table.h> @@ -89,5 +89,5 @@ typedef boost::shared_ptr<const RRsetCache> ConstRRsetCachePtr; } // namespace cache } // namespace isc -#endif // __RRSET_CACHE_H +#endif // RRSET_CACHE_H diff --git a/src/lib/cache/rrset_copy.h b/src/lib/cache/rrset_copy.h index e1dc489f0e..6b74bc0b27 100644 --- a/src/lib/cache/rrset_copy.h +++ b/src/lib/cache/rrset_copy.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRSET_COPY_ -#define __RRSET_COPY_ +#ifndef RRSET_COPY +#define RRSET_COPY #include <dns/rrset.h> @@ -38,5 +38,5 @@ rrsetCopy(const isc::dns::AbstractRRset& src, isc::dns::AbstractRRset& dst); } // namespace cache } // namespace isc -#endif // __RRSET_COPY_ +#endif // RRSET_COPY diff --git a/src/lib/cache/rrset_entry.h b/src/lib/cache/rrset_entry.h index 129300df54..0efda3660f 100644 --- a/src/lib/cache/rrset_entry.h +++ b/src/lib/cache/rrset_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRSET_ENTRY_H -#define __RRSET_ENTRY_H +#ifndef RRSET_ENTRY_H +#define RRSET_ENTRY_H #include <dns/rrset.h> #include <dns/message.h> @@ -132,5 +132,5 @@ typedef boost::shared_ptr<RRsetEntry> RRsetEntryPtr; } // namespace cache } // namespace isc -#endif // __RRSET_ENTRY_H +#endif // RRSET_ENTRY_H diff --git a/src/lib/cc/data.h b/src/lib/cc/data.h index c1147a21cd..bb84ae2e30 100644 --- a/src/lib/cc/data.h +++ b/src/lib/cc/data.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_DATA_H -#define _ISC_DATA_H 1 +#ifndef ISC_DATA_H +#define ISC_DATA_H 1 #include <string> #include <vector> @@ -567,7 +567,7 @@ std::ostream& operator<<(std::ostream& out, const Element& e); bool operator==(const Element& a, const Element& b); bool operator!=(const Element& a, const Element& b); } } -#endif // _ISC_DATA_H +#endif // ISC_DATA_H // Local Variables: // mode: c++ diff --git a/src/lib/cc/session.h b/src/lib/cc/session.h index 9b082322d3..a81829154b 100644 --- a/src/lib/cc/session.h +++ b/src/lib/cc/session.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_SESSION_H -#define _ISC_SESSION_H 1 +#ifndef ISC_SESSION_H +#define ISC_SESSION_H 1 #include <string> @@ -161,7 +161,7 @@ namespace isc { } // namespace cc } // namespace isc -#endif // _ISC_SESSION_H +#endif // ISC_SESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/config/ccsession.h b/src/lib/config/ccsession.h index 4b99a44bd8..b4a44d0afd 100644 --- a/src/lib/config/ccsession.h +++ b/src/lib/config/ccsession.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CCSESSION_H -#define __CCSESSION_H 1 +#ifndef CCSESSION_H +#define CCSESSION_H 1 #include <config/config_data.h> #include <config/module_spec.h> @@ -576,7 +576,7 @@ getRelatedLoggers(isc::data::ConstElementPtr loggers); } // namespace config } // namespace isc -#endif // __CCSESSION_H +#endif // CCSESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/config/config_data.h b/src/lib/config/config_data.h index 3fdbc25ce2..0bb1bfdb7c 100644 --- a/src/lib/config/config_data.h +++ b/src/lib/config/config_data.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CONFIG_DATA_H -#define __CONFIG_DATA_H 1 +#ifndef CONFIG_DATA_H +#define CONFIG_DATA_H 1 #include <string> #include <vector> diff --git a/src/lib/config/config_log.h b/src/lib/config/config_log.h index 21709fdee0..14f681e616 100644 --- a/src/lib/config/config_log.h +++ b/src/lib/config/config_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CONFIG_LOG__H -#define __CONFIG_LOG__H +#ifndef CONFIG_LOG_H +#define CONFIG_LOG_H #include <log/macros.h> #include "config_messages.h" @@ -38,4 +38,4 @@ const int DBG_CONFIG_PROCESS = DBGLVL_TRACE_BASIC; } // namespace config } // namespace isc -#endif // __CONFIG_LOG__H +#endif // CONFIG_LOG_H diff --git a/src/lib/config/module_spec.h b/src/lib/config/module_spec.h index 27dcfe38b8..d755125d22 100644 --- a/src/lib/config/module_spec.h +++ b/src/lib/config/module_spec.h @@ -13,8 +13,8 @@ // NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -#ifndef _MODULE_SPEC_H -#define _MODULE_SPEC_H 1 +#ifndef MODULE_SPEC_H +#define MODULE_SPEC_H 1 #include <cc/data.h> diff --git a/src/lib/config/tests/fake_session.h b/src/lib/config/tests/fake_session.h index c91b5199e3..7d3cfdee2d 100644 --- a/src/lib/config/tests/fake_session.h +++ b/src/lib/config/tests/fake_session.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_FAKESESSION_H -#define _ISC_FAKESESSION_H 1 +#ifndef ISC_FAKESESSION_H +#define ISC_FAKESESSION_H 1 #include <string> @@ -111,7 +111,7 @@ private: } // namespace cc } // namespace isc -#endif // _ISC_FAKESESSION_H +#endif // ISC_FAKESESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/cryptolink/crypto_hmac.h b/src/lib/cryptolink/crypto_hmac.h index 2eb0d0ec8f..2f09f927d6 100644 --- a/src/lib/cryptolink/crypto_hmac.h +++ b/src/lib/cryptolink/crypto_hmac.h @@ -18,8 +18,8 @@ #include <cryptolink/cryptolink.h> -#ifndef _ISC_CRYPTO_HMAC_H -#define _ISC_CRYPTO_HMAC_H +#ifndef ISC_CRYPTO_HMAC_H +#define ISC_CRYPTO_HMAC_H namespace isc { namespace cryptolink { diff --git a/src/lib/cryptolink/cryptolink.h b/src/lib/cryptolink/cryptolink.h index d0f7d38933..859065bfd2 100644 --- a/src/lib/cryptolink/cryptolink.h +++ b/src/lib/cryptolink/cryptolink.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_CRYPTO_H -#define _ISC_CRYPTO_H +#ifndef ISC_CRYPTO_H +#define ISC_CRYPTO_H #include <string> #include <util/buffer.h> @@ -205,4 +205,4 @@ private: } // namespace cryptolink } // namespace isc -#endif // _ISC_CRYPTO_H +#endif // ISC_CRYPTO_H diff --git a/src/lib/datasrc/client.h b/src/lib/datasrc/client.h index dab081f38d..3756a6858a 100644 --- a/src/lib/datasrc/client.h +++ b/src/lib/datasrc/client.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATA_SOURCE_CLIENT_H -#define __DATA_SOURCE_CLIENT_H 1 +#ifndef DATA_SOURCE_CLIENT_H +#define DATA_SOURCE_CLIENT_H 1 #include <utility> diff --git a/src/lib/datasrc/data_source.h b/src/lib/datasrc/data_source.h index 37c536e5fe..bf5a7d73f2 100644 --- a/src/lib/datasrc/data_source.h +++ b/src/lib/datasrc/data_source.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATA_SOURCE_H -#define __DATA_SOURCE_H +#ifndef DATA_SOURCE_H +#define DATA_SOURCE_H #include <stdint.h> diff --git a/src/lib/datasrc/database.h b/src/lib/datasrc/database.h index 68955096de..320f3272a6 100644 --- a/src/lib/datasrc/database.h +++ b/src/lib/datasrc/database.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATABASE_DATASRC_H -#define __DATABASE_DATASRC_H +#ifndef DATABASE_DATASRC_H +#define DATABASE_DATASRC_H #include <string> @@ -1425,7 +1425,7 @@ private: } } -#endif // __DATABASE_DATASRC_H +#endif // DATABASE_DATASRC_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/factory.h b/src/lib/datasrc/factory.h index 2731f58775..45e4f9b5c8 100644 --- a/src/lib/datasrc/factory.h +++ b/src/lib/datasrc/factory.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATA_SOURCE_FACTORY_H -#define __DATA_SOURCE_FACTORY_H 1 +#ifndef DATA_SOURCE_FACTORY_H +#define DATA_SOURCE_FACTORY_H 1 #include <datasrc/data_source.h> #include <datasrc/client.h> diff --git a/src/lib/datasrc/iterator.h b/src/lib/datasrc/iterator.h index 99d33313c0..e1c69294da 100644 --- a/src/lib/datasrc/iterator.h +++ b/src/lib/datasrc/iterator.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_ZONE_ITERATOR_H -#define __DATASRC_ZONE_ITERATOR_H 1 +#ifndef DATASRC_ZONE_ITERATOR_H +#define DATASRC_ZONE_ITERATOR_H 1 #include <dns/rrset.h> @@ -98,7 +98,7 @@ public: } } -#endif // __DATASRC_ZONE_ITERATOR_H +#endif // DATASRC_ZONE_ITERATOR_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/logger.h b/src/lib/datasrc/logger.h index db4e5cbabc..a270082add 100644 --- a/src/lib/datasrc/logger.h +++ b/src/lib/datasrc/logger.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_LOGGER_H -#define __DATASRC_LOGGER_H +#ifndef DATASRC_LOGGER_H +#define DATASRC_LOGGER_H #include <log/macros.h> #include <datasrc/datasrc_messages.h> diff --git a/src/lib/datasrc/memory/domaintree.h b/src/lib/datasrc/memory/domaintree.h index 272245d05f..48164525a9 100644 --- a/src/lib/datasrc/memory/domaintree.h +++ b/src/lib/datasrc/memory/domaintree.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _DOMAINTREE_H -#define _DOMAINTREE_H 1 +#ifndef DOMAINTREE_H +#define DOMAINTREE_H 1 //! \file datasrc/memory/domaintree.h /// @@ -2126,7 +2126,7 @@ DomainTree<T>::dumpDotHelper(std::ostream& os, } // namespace datasrc } // namespace isc -#endif // _DOMAINTREE_H +#endif // DOMAINTREE_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/memory/zone_table.h b/src/lib/datasrc/memory/zone_table.h index 024558eb30..93e6b18250 100644 --- a/src/lib/datasrc/memory/zone_table.h +++ b/src/lib/datasrc/memory/zone_table.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_MEMORY_ZONE_TABLE_H -#define __DATASRC_MEMORY_ZONE_TABLE_H 1 +#ifndef DATASRC_MEMORY_ZONE_TABLE_H +#define DATASRC_MEMORY_ZONE_TABLE_H 1 #include <util/memory_segment.h> @@ -190,7 +190,7 @@ private: } } } -#endif // __DATASRC_MEMORY_ZONE_TABLE_H +#endif // DATASRC_MEMORY_ZONE_TABLE_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/memory/zone_table_segment.h b/src/lib/datasrc/memory/zone_table_segment.h index 8731718f61..8741241113 100644 --- a/src/lib/datasrc/memory/zone_table_segment.h +++ b/src/lib/datasrc/memory/zone_table_segment.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ZONE_TABLE_SEGMENT_H__ -#define __ZONE_TABLE_SEGMENT_H__ +#ifndef ZONE_TABLE_SEGMENT_H +#define ZONE_TABLE_SEGMENT_H #include <datasrc/memory/zone_table.h> #include "load_action.h" @@ -149,4 +149,4 @@ public: } // namespace datasrc } // namespace isc -#endif // __ZONE_TABLE_SEGMENT_H__ +#endif // ZONE_TABLE_SEGMENT_H diff --git a/src/lib/datasrc/memory/zone_table_segment_local.h b/src/lib/datasrc/memory/zone_table_segment_local.h index b83bd49fa2..96be0ef15d 100644 --- a/src/lib/datasrc/memory/zone_table_segment_local.h +++ b/src/lib/datasrc/memory/zone_table_segment_local.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ZONE_TABLE_SEGMENT_LOCAL_H__ -#define __ZONE_TABLE_SEGMENT_LOCAL_H__ +#ifndef ZONE_TABLE_SEGMENT_LOCAL_H +#define ZONE_TABLE_SEGMENT_LOCAL_H #include <datasrc/memory/zone_table_segment.h> #include <util/memory_segment_local.h> @@ -67,4 +67,4 @@ private: } // namespace datasrc } // namespace isc -#endif // __ZONE_TABLE_SEGMENT_LOCAL_H__ +#endif // ZONE_TABLE_SEGMENT_LOCAL_H diff --git a/src/lib/datasrc/memory_datasrc.h b/src/lib/datasrc/memory_datasrc.h index be545d42df..2fc0f9054d 100644 --- a/src/lib/datasrc/memory_datasrc.h +++ b/src/lib/datasrc/memory_datasrc.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MEMORY_DATA_SOURCE_H -#define __MEMORY_DATA_SOURCE_H 1 +#ifndef MEMORY_DATA_SOURCE_H +#define MEMORY_DATA_SOURCE_H 1 #include <string> diff --git a/src/lib/datasrc/rbnode_rrset.h b/src/lib/datasrc/rbnode_rrset.h index 1c23e05d67..cbb1b71398 100644 --- a/src/lib/datasrc/rbnode_rrset.h +++ b/src/lib/datasrc/rbnode_rrset.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RBNODE_RRSET_H -#define __RBNODE_RRSET_H +#ifndef RBNODE_RRSET_H +#define RBNODE_RRSET_H #include <dns/messagerenderer.h> #include <dns/name.h> @@ -227,4 +227,4 @@ private: } // namespace datasrc } // namespace isc -#endif // __RBNODE_RRSET_H +#endif // RBNODE_RRSET_H diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h index eb971e80c5..d0efa0a4de 100644 --- a/src/lib/datasrc/rbtree.h +++ b/src/lib/datasrc/rbtree.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _RBTREE_H -#define _RBTREE_H 1 +#ifndef RBTREE_H +#define RBTREE_H 1 //! \file datasrc/rbtree.h /// @@ -1986,7 +1986,7 @@ RBTree<T>::dumpDotHelper(std::ostream& os, const RBNode<T>* node, } } -#endif // _RBTREE_H +#endif // RBTREE_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/result.h b/src/lib/datasrc/result.h index f7ca363556..5a28d08099 100644 --- a/src/lib/datasrc/result.h +++ b/src/lib/datasrc/result.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_RESULT_H -#define __DATASRC_RESULT_H 1 +#ifndef DATASRC_RESULT_H +#define DATASRC_RESULT_H 1 namespace isc { namespace datasrc { diff --git a/src/lib/datasrc/sqlite3_accessor.h b/src/lib/datasrc/sqlite3_accessor.h index 3e44d5b71c..b1b47055ff 100644 --- a/src/lib/datasrc/sqlite3_accessor.h +++ b/src/lib/datasrc/sqlite3_accessor.h @@ -13,8 +13,8 @@ // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DATASRC_SQLITE3_ACCESSOR_H -#define __DATASRC_SQLITE3_ACCESSOR_H +#ifndef DATASRC_SQLITE3_ACCESSOR_H +#define DATASRC_SQLITE3_ACCESSOR_H #include <datasrc/database.h> #include <datasrc/data_source.h> diff --git a/src/lib/datasrc/tests/test_client.h b/src/lib/datasrc/tests/test_client.h index 2c692d3745..1e35cd39a8 100644 --- a/src/lib/datasrc/tests/test_client.h +++ b/src/lib/datasrc/tests/test_client.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TEST_DATA_SOURCE_CLIENT_H -#define __TEST_DATA_SOURCE_CLIENT_H 1 +#ifndef TEST_DATA_SOURCE_CLIENT_H +#define TEST_DATA_SOURCE_CLIENT_H 1 #include <dns/name.h> #include <dns/rrclass.h> @@ -64,7 +64,7 @@ createSQLite3Client(dns::RRClass zclass, const dns::Name& zname, } // end of datasrc } // end of isc -#endif // __TEST_DATA_SOURCE_CLIENT_H +#endif // TEST_DATA_SOURCE_CLIENT_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/zone.h b/src/lib/datasrc/zone.h index 36a1cffe4f..9572ed09b5 100644 --- a/src/lib/datasrc/zone.h +++ b/src/lib/datasrc/zone.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ZONE_H -#define __ZONE_H 1 +#ifndef ZONE_H +#define ZONE_H 1 #include <dns/name.h> #include <dns/rrset.h> @@ -1065,7 +1065,7 @@ typedef boost::shared_ptr<ZoneJournalReader> ZoneJournalReaderPtr; } // end of datasrc } // end of isc -#endif // __ZONE_H +#endif // ZONE_H // Local Variables: // mode: c++ diff --git a/src/lib/datasrc/zonetable.h b/src/lib/datasrc/zonetable.h index 93a021c9e8..911391cd39 100644 --- a/src/lib/datasrc/zonetable.h +++ b/src/lib/datasrc/zonetable.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ZONETABLE_H -#define __ZONETABLE_H 1 +#ifndef ZONETABLE_H +#define ZONETABLE_H 1 #include <util/memory_segment.h> @@ -153,7 +153,7 @@ private: }; } } -#endif // __ZONETABLE_H +#endif // ZONETABLE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/benchmarks/oldmessagerenderer.h b/src/lib/dns/benchmarks/oldmessagerenderer.h index d40808171e..acbd7578dc 100644 --- a/src/lib/dns/benchmarks/oldmessagerenderer.h +++ b/src/lib/dns/benchmarks/oldmessagerenderer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __OLDMESSAGERENDERER_H -#define __OLDMESSAGERENDERER_H 1 +#ifndef OLDMESSAGERENDERER_H +#define OLDMESSAGERENDERER_H 1 // // This is a copy of an older version of MessageRenderer class. It is kept @@ -49,7 +49,7 @@ private: }; } } -#endif // __OLDMESSAGERENDERER_H +#endif // OLDMESSAGERENDERER_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/character_string.h b/src/lib/dns/character_string.h index 7961274826..2a68778c7b 100644 --- a/src/lib/dns/character_string.h +++ b/src/lib/dns/character_string.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CHARACTER_STRING_H -#define __CHARACTER_STRING_H +#ifndef CHARACTER_STRING_H +#define CHARACTER_STRING_H #include <string> #include <exceptions/exceptions.h> @@ -54,4 +54,4 @@ namespace characterstr { } // namespace dns } // namespace isc -#endif // __CHARACTER_STRING_H +#endif // CHARACTER_STRING_H diff --git a/src/lib/dns/edns.h b/src/lib/dns/edns.h index a7bc4c4695..dcd552fa72 100644 --- a/src/lib/dns/edns.h +++ b/src/lib/dns/edns.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __EDNS_H -#define __EDNS_H 1 +#ifndef EDNS_H +#define EDNS_H 1 #include <stdint.h> @@ -438,7 +438,7 @@ EDNS* createEDNSFromRR(const Name& name, const RRClass& rrclass, std::ostream& operator<<(std::ostream& os, const EDNS& edns); } } -#endif // __EDNS_H +#endif // EDNS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/exceptions.h b/src/lib/dns/exceptions.h index bd696a5286..070b152c2b 100644 --- a/src/lib/dns/exceptions.h +++ b/src/lib/dns/exceptions.h @@ -17,8 +17,8 @@ // style for the header guide (e.g. module-name_file-name_H) throughout the // package. -#ifndef __DNS_EXCEPTIONS_H -#define __DNS_EXCEPTIONS_H 1 +#ifndef DNS_EXCEPTIONS_H +#define DNS_EXCEPTIONS_H 1 #include <exceptions/exceptions.h> @@ -52,7 +52,7 @@ public: }; } } -#endif // __DNS_EXCEPTIONS_H +#endif // DNS_EXCEPTIONS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h index 3f6a03aea7..6c9745440d 100644 --- a/src/lib/dns/labelsequence.h +++ b/src/lib/dns/labelsequence.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LABELSEQUENCE_H -#define __LABELSEQUENCE_H 1 +#ifndef LABELSEQUENCE_H +#define LABELSEQUENCE_H 1 #include <dns/name.h> #include <util/buffer.h> diff --git a/src/lib/dns/masterload.h b/src/lib/dns/masterload.h index e2522857f6..44b3d62c29 100644 --- a/src/lib/dns/masterload.h +++ b/src/lib/dns/masterload.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MASTERLOAD_H -#define __MASTERLOAD_H 1 +#ifndef MASTERLOAD_H +#define MASTERLOAD_H 1 #include <iosfwd> @@ -244,7 +244,7 @@ void masterLoad(std::istream& input, const Name& origin, //@} } -#endif // __MASTERLOAD_H +#endif // MASTERLOAD_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/message.h b/src/lib/dns/message.h index 85754ac31e..8aaaa48476 100644 --- a/src/lib/dns/message.h +++ b/src/lib/dns/message.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_H -#define __MESSAGE_H 1 +#ifndef MESSAGE_H +#define MESSAGE_H 1 #include <stdint.h> @@ -687,7 +687,7 @@ typedef boost::shared_ptr<const Message> ConstMessagePtr; std::ostream& operator<<(std::ostream& os, const Message& message); } } -#endif // __MESSAGE_H +#endif // MESSAGE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/messagerenderer.h b/src/lib/dns/messagerenderer.h index 4816ad5079..092d6de4e1 100644 --- a/src/lib/dns/messagerenderer.h +++ b/src/lib/dns/messagerenderer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGERENDERER_H -#define __MESSAGERENDERER_H 1 +#ifndef MESSAGERENDERER_H +#define MESSAGERENDERER_H 1 #include <util/buffer.h> @@ -397,7 +397,7 @@ private: }; } } -#endif // __MESSAGERENDERER_H +#endif // MESSAGERENDERER_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/name.h b/src/lib/dns/name.h index 261caee291..a3e3674f93 100644 --- a/src/lib/dns/name.h +++ b/src/lib/dns/name.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NAME_H -#define __NAME_H 1 +#ifndef NAME_H +#define NAME_H 1 #include <stdint.h> @@ -724,7 +724,7 @@ operator<<(std::ostream& os, const Name& name); } } -#endif // __NAME_H +#endif // NAME_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/name_internal.h b/src/lib/dns/name_internal.h index 8595df14a0..d60ee7af47 100644 --- a/src/lib/dns/name_internal.h +++ b/src/lib/dns/name_internal.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NAME_INTERNAL_H -#define __NAME_INTERNAL_H 1 +#ifndef NAME_INTERNAL_H +#define NAME_INTERNAL_H 1 // This is effectively a "private" namespace for the Name class implementation, // but exposed publicly so the definitions in it can be shared with other @@ -36,7 +36,7 @@ extern const uint8_t maptolower[]; } // end of name } // end of dns } // end of isc -#endif // __NAME_INTERNAL_H +#endif // NAME_INTERNAL_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/nsec3hash.h b/src/lib/dns/nsec3hash.h index e082ee8c25..f1ca1a3c2c 100644 --- a/src/lib/dns/nsec3hash.h +++ b/src/lib/dns/nsec3hash.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSEC3HASH_H -#define __NSEC3HASH_H 1 +#ifndef NSEC3HASH_H +#define NSEC3HASH_H 1 #include <string> #include <vector> @@ -276,7 +276,7 @@ void setNSEC3HashCreator(const NSEC3HashCreator* new_creator); } } -#endif // __NSEC3HASH_H +#endif // NSEC3HASH_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/opcode.h b/src/lib/dns/opcode.h index dd88062341..8e9387737c 100644 --- a/src/lib/dns/opcode.h +++ b/src/lib/dns/opcode.h @@ -18,8 +18,8 @@ #include <ostream> -#ifndef __OPCODE_H -#define __OPCODE_H 1 +#ifndef OPCODE_H +#define OPCODE_H 1 namespace isc { namespace dns { diff --git a/src/lib/dns/python/edns_python.h b/src/lib/dns/python/edns_python.h index 30d92abe22..2106b227f4 100644 --- a/src/lib/dns/python/edns_python.h +++ b/src/lib/dns/python/edns_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_EDNS_H -#define __PYTHON_EDNS_H 1 +#ifndef PYTHON_EDNS_H +#define PYTHON_EDNS_H 1 #include <Python.h> @@ -57,7 +57,7 @@ const EDNS& PyEDNS_ToEDNS(const PyObject* edns_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_EDNS_H +#endif // PYTHON_EDNS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/message_python.h b/src/lib/dns/python/message_python.h index be238907db..f3c1488e0a 100644 --- a/src/lib/dns/python/message_python.h +++ b/src/lib/dns/python/message_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_MESSAGE_H -#define __PYTHON_MESSAGE_H 1 +#ifndef PYTHON_MESSAGE_H +#define PYTHON_MESSAGE_H 1 #include <Python.h> @@ -33,7 +33,7 @@ extern PyTypeObject message_type; } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_MESSAGE_H +#endif // PYTHON_MESSAGE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/messagerenderer_python.h b/src/lib/dns/python/messagerenderer_python.h index ea9a9402d9..f6ea922745 100644 --- a/src/lib/dns/python/messagerenderer_python.h +++ b/src/lib/dns/python/messagerenderer_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_MESSAGERENDERER_H -#define __PYTHON_MESSAGERENDERER_H 1 +#ifndef PYTHON_MESSAGERENDERER_H +#define PYTHON_MESSAGERENDERER_H 1 #include <Python.h> @@ -50,7 +50,7 @@ MessageRenderer& PyMessageRenderer_ToMessageRenderer(PyObject* messagerenderer_o } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_MESSAGERENDERER_H +#endif // PYTHON_MESSAGERENDERER_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/name_python.h b/src/lib/dns/python/name_python.h index 86d7fd08a0..d18c0d9385 100644 --- a/src/lib/dns/python/name_python.h +++ b/src/lib/dns/python/name_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_NAME_H -#define __PYTHON_NAME_H 1 +#ifndef PYTHON_NAME_H +#define PYTHON_NAME_H 1 #include <Python.h> @@ -74,7 +74,7 @@ const Name& PyName_ToName(const PyObject* name_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_NAME_H +#endif // PYTHON_NAME_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/nsec3hash_python.h b/src/lib/dns/python/nsec3hash_python.h index fa9b9b66fa..51a5fdea9a 100644 --- a/src/lib/dns/python/nsec3hash_python.h +++ b/src/lib/dns/python/nsec3hash_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_NSEC3HASH_H -#define __PYTHON_NSEC3HASH_H 1 +#ifndef PYTHON_NSEC3HASH_H +#define PYTHON_NSEC3HASH_H 1 #include <Python.h> @@ -40,7 +40,7 @@ bool initModulePart_NSEC3Hash(PyObject* mod); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_NSEC3HASH_H +#endif // PYTHON_NSEC3HASH_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/opcode_python.h b/src/lib/dns/python/opcode_python.h index d0aec15e8b..6e9967eeef 100644 --- a/src/lib/dns/python/opcode_python.h +++ b/src/lib/dns/python/opcode_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_OPCODE_H -#define __PYTHON_OPCODE_H 1 +#ifndef PYTHON_OPCODE_H +#define PYTHON_OPCODE_H 1 #include <Python.h> @@ -57,7 +57,7 @@ const Opcode& PyOpcode_ToOpcode(const PyObject* opcode_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_OPCODE_H +#endif // PYTHON_OPCODE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/pydnspp_common.h b/src/lib/dns/python/pydnspp_common.h index 3cc69c4ef8..5ca1cd8ef5 100644 --- a/src/lib/dns/python/pydnspp_common.h +++ b/src/lib/dns/python/pydnspp_common.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LIBDNS_PYTHON_COMMON_H -#define __LIBDNS_PYTHON_COMMON_H 1 +#ifndef LIBDNS_PYTHON_COMMON_H +#define LIBDNS_PYTHON_COMMON_H 1 #include <Python.h> @@ -106,7 +106,7 @@ convertToPyHash(HashvalType val) { } // namespace python } // namespace dns } // namespace isc -#endif // __LIBDNS_PYTHON_COMMON_H +#endif // LIBDNS_PYTHON_COMMON_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/pydnspp_towire.h b/src/lib/dns/python/pydnspp_towire.h index e987a29814..7ad70cdcef 100644 --- a/src/lib/dns/python/pydnspp_towire.h +++ b/src/lib/dns/python/pydnspp_towire.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LIBDNS_PYTHON_TOWIRE_H -#define __LIBDNS_PYTHON_TOWIRE_H 1 +#ifndef LIBDNS_PYTHON_TOWIRE_H +#define LIBDNS_PYTHON_TOWIRE_H 1 #include <Python.h> @@ -120,7 +120,7 @@ toWireWrapper(const PYSTRUCT* const self, PyObject* args) { } // namespace python } // namespace dns } // namespace isc -#endif // __LIBDNS_PYTHON_TOWIRE_H +#endif // LIBDNS_PYTHON_TOWIRE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/question_python.h b/src/lib/dns/python/question_python.h index f5d78b1372..99b37c77a1 100644 --- a/src/lib/dns/python/question_python.h +++ b/src/lib/dns/python/question_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_QUESTION_H -#define __PYTHON_QUESTION_H 1 +#ifndef PYTHON_QUESTION_H +#define PYTHON_QUESTION_H 1 #include <Python.h> @@ -59,7 +59,7 @@ const Question& PyQuestion_ToQuestion(const PyObject* question_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_QUESTION_H +#endif // PYTHON_QUESTION_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rcode_python.h b/src/lib/dns/python/rcode_python.h index a149406c0e..704821a2ab 100644 --- a/src/lib/dns/python/rcode_python.h +++ b/src/lib/dns/python/rcode_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RCODE_H -#define __PYTHON_RCODE_H 1 +#ifndef PYTHON_RCODE_H +#define PYTHON_RCODE_H 1 #include <Python.h> @@ -57,7 +57,7 @@ const Rcode& PyRcode_ToRcode(const PyObject* rcode_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RCODE_H +#endif // PYTHON_RCODE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rdata_python.h b/src/lib/dns/python/rdata_python.h index c7ddd57a6d..6fa6631b7f 100644 --- a/src/lib/dns/python/rdata_python.h +++ b/src/lib/dns/python/rdata_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RDATA_H -#define __PYTHON_RDATA_H 1 +#ifndef PYTHON_RDATA_H +#define PYTHON_RDATA_H 1 #include <Python.h> @@ -61,7 +61,7 @@ const isc::dns::rdata::Rdata& PyRdata_ToRdata(const PyObject* rdata_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RDATA_H +#endif // PYTHON_RDATA_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rrclass_python.h b/src/lib/dns/python/rrclass_python.h index f58bba604c..df5ca703ca 100644 --- a/src/lib/dns/python/rrclass_python.h +++ b/src/lib/dns/python/rrclass_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RRCLASS_H -#define __PYTHON_RRCLASS_H 1 +#ifndef PYTHON_RRCLASS_H +#define PYTHON_RRCLASS_H 1 #include <Python.h> @@ -61,7 +61,7 @@ const RRClass& PyRRClass_ToRRClass(const PyObject* rrclass_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RRCLASS_H +#endif // PYTHON_RRCLASS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rrset_python.h b/src/lib/dns/python/rrset_python.h index 2435397732..9faac954f0 100644 --- a/src/lib/dns/python/rrset_python.h +++ b/src/lib/dns/python/rrset_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RRSET_H -#define __PYTHON_RRSET_H 1 +#ifndef PYTHON_RRSET_H +#define PYTHON_RRSET_H 1 #include <Python.h> @@ -71,7 +71,7 @@ RRsetPtr PyRRset_ToRRsetPtr(PyObject* rrset_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RRSET_H +#endif // PYTHON_RRSET_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rrttl_python.h b/src/lib/dns/python/rrttl_python.h index 9dbc9824bd..9ad904feda 100644 --- a/src/lib/dns/python/rrttl_python.h +++ b/src/lib/dns/python/rrttl_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RRTTL_H -#define __PYTHON_RRTTL_H 1 +#ifndef PYTHON_RRTTL_H +#define PYTHON_RRTTL_H 1 #include <Python.h> @@ -60,7 +60,7 @@ const RRTTL& PyRRTTL_ToRRTTL(const PyObject* rrttl_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RRTTL_H +#endif // PYTHON_RRTTL_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/rrtype_python.h b/src/lib/dns/python/rrtype_python.h index 596598e002..3595952d0c 100644 --- a/src/lib/dns/python/rrtype_python.h +++ b/src/lib/dns/python/rrtype_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_RRTYPE_H -#define __PYTHON_RRTYPE_H 1 +#ifndef PYTHON_RRTYPE_H +#define PYTHON_RRTYPE_H 1 #include <Python.h> @@ -61,7 +61,7 @@ const RRType& PyRRType_ToRRType(const PyObject* rrtype_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_RRTYPE_H +#endif // PYTHON_RRTYPE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/serial_python.h b/src/lib/dns/python/serial_python.h index 48b51999c2..9a495be5be 100644 --- a/src/lib/dns/python/serial_python.h +++ b/src/lib/dns/python/serial_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_SERIAL_H -#define __PYTHON_SERIAL_H 1 +#ifndef PYTHON_SERIAL_H +#define PYTHON_SERIAL_H 1 #include <Python.h> @@ -57,7 +57,7 @@ const Serial& PySerial_ToSerial(const PyObject* Serial_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_SERIAL_H +#endif // PYTHON_SERIAL_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/tsig_python.h b/src/lib/dns/python/tsig_python.h index e4e9ffffcd..0bd57d70c0 100644 --- a/src/lib/dns/python/tsig_python.h +++ b/src/lib/dns/python/tsig_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_TSIGCONTEXT_H -#define __PYTHON_TSIGCONTEXT_H 1 +#ifndef PYTHON_TSIGCONTEXT_H +#define PYTHON_TSIGCONTEXT_H 1 #include <Python.h> @@ -52,7 +52,7 @@ TSIGContext& PyTSIGContext_ToTSIGContext(PyObject* tsigcontext_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_TSIGCONTEXT_H +#endif // PYTHON_TSIGCONTEXT_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/tsig_rdata_python.h b/src/lib/dns/python/tsig_rdata_python.h index a84d9e89a0..85dd3660cf 100644 --- a/src/lib/dns/python/tsig_rdata_python.h +++ b/src/lib/dns/python/tsig_rdata_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_TSIG_H -#define __PYTHON_TSIG_H 1 +#ifndef PYTHON_TSIG_H +#define PYTHON_TSIG_H 1 #include <Python.h> @@ -61,7 +61,7 @@ const rdata::any::TSIG& PyTSIG_ToTSIG(const PyObject* tsig_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_TSIG_H +#endif // PYTHON_TSIG_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/tsigerror_python.h b/src/lib/dns/python/tsigerror_python.h index 0b5b630ace..6258ab3d8e 100644 --- a/src/lib/dns/python/tsigerror_python.h +++ b/src/lib/dns/python/tsigerror_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_TSIGERROR_H -#define __PYTHON_TSIGERROR_H 1 +#ifndef PYTHON_TSIGERROR_H +#define PYTHON_TSIGERROR_H 1 #include <Python.h> @@ -37,7 +37,7 @@ PyObject* createTSIGErrorObject(const TSIGError& source); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_TSIGERROR_H +#endif // PYTHON_TSIGERROR_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/tsigkey_python.h b/src/lib/dns/python/tsigkey_python.h index 6c3d2e3e92..ec09e2c2ad 100644 --- a/src/lib/dns/python/tsigkey_python.h +++ b/src/lib/dns/python/tsigkey_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_TSIGKEY_H -#define __PYTHON_TSIGKEY_H 1 +#ifndef PYTHON_TSIGKEY_H +#define PYTHON_TSIGKEY_H 1 #include <Python.h> @@ -68,7 +68,7 @@ const TSIGKeyRing& PyTSIGKeyRing_ToTSIGKeyRing(const PyObject* tsigkeyring_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_TSIGKEY_H +#endif // PYTHON_TSIGKEY_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/python/tsigrecord_python.h b/src/lib/dns/python/tsigrecord_python.h index d6252e13fb..ec505f7999 100644 --- a/src/lib/dns/python/tsigrecord_python.h +++ b/src/lib/dns/python/tsigrecord_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_TSIGRECORD_H -#define __PYTHON_TSIGRECORD_H 1 +#ifndef PYTHON_TSIGRECORD_H +#define PYTHON_TSIGRECORD_H 1 #include <Python.h> @@ -58,7 +58,7 @@ const TSIGRecord& PyTSIGRecord_ToTSIGRecord(PyObject* tsigrecord_obj); } // namespace python } // namespace dns } // namespace isc -#endif // __PYTHON_TSIGRECORD_H +#endif // PYTHON_TSIGRECORD_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/question.h b/src/lib/dns/question.h index 5d2783b6f0..4b5b23356c 100644 --- a/src/lib/dns/question.h +++ b/src/lib/dns/question.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __QUESTION_H -#define __QUESTION_H 1 +#ifndef QUESTION_H +#define QUESTION_H 1 #include <iostream> #include <string> @@ -288,7 +288,7 @@ private: std::ostream& operator<<(std::ostream& os, const Question& question); } // end of namespace dns } // end of namespace isc -#endif // __QUESTION_H +#endif // QUESTION_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rcode.h b/src/lib/dns/rcode.h index 0c63285525..f294615501 100644 --- a/src/lib/dns/rcode.h +++ b/src/lib/dns/rcode.h @@ -18,8 +18,8 @@ #include <ostream> -#ifndef __RCODE_H -#define __RCODE_H 1 +#ifndef RCODE_H +#define RCODE_H 1 namespace isc { namespace dns { diff --git a/src/lib/dns/rdata.h b/src/lib/dns/rdata.h index afcf4b3da0..f77ea6efb1 100644 --- a/src/lib/dns/rdata.h +++ b/src/lib/dns/rdata.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RDATA_H -#define __RDATA_H 1 +#ifndef RDATA_H +#define RDATA_H 1 #include <stdint.h> @@ -509,7 +509,7 @@ int compareNames(const Name& n1, const Name& n2); } // end of namespace "rdata" } } -#endif // __RDATA_H +#endif // RDATA_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rdata/generic/detail/ds_like.h b/src/lib/dns/rdata/generic/detail/ds_like.h index b5a35cd967..333de4c010 100644 --- a/src/lib/dns/rdata/generic/detail/ds_like.h +++ b/src/lib/dns/rdata/generic/detail/ds_like.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __DS_LIKE_H -#define __DS_LIKE_H 1 +#ifndef DS_LIKE_H +#define DS_LIKE_H 1 #include <stdint.h> @@ -218,7 +218,7 @@ private: } } } -#endif // __DS_LIKE_H +#endif // DS_LIKE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rdata/generic/detail/nsec3param_common.h b/src/lib/dns/rdata/generic/detail/nsec3param_common.h index 515777b806..1891faea2f 100644 --- a/src/lib/dns/rdata/generic/detail/nsec3param_common.h +++ b/src/lib/dns/rdata/generic/detail/nsec3param_common.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSEC3PARAM_COMMON_H -#define __NSEC3PARAM_COMMON_H 1 +#ifndef NSEC3PARAM_COMMON_H +#define NSEC3PARAM_COMMON_H 1 #include <util/buffer.h> @@ -127,7 +127,7 @@ ParseNSEC3ParamResult parseNSEC3ParamWire(const char* const rrtype_name, } } -#endif // __NSEC3PARAM_COMMON_H +#endif // NSEC3PARAM_COMMON_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rdata/generic/detail/nsec_bitmap.h b/src/lib/dns/rdata/generic/detail/nsec_bitmap.h index 85cae2e976..0b2102f542 100644 --- a/src/lib/dns/rdata/generic/detail/nsec_bitmap.h +++ b/src/lib/dns/rdata/generic/detail/nsec_bitmap.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSECBITMAP_H -#define __NSECBITMAP_H 1 +#ifndef NSECBITMAP_H +#define NSECBITMAP_H 1 #include <stdint.h> @@ -100,7 +100,7 @@ void bitmapsToText(const std::vector<uint8_t>& typebits, } } -#endif // __NSECBITMAP_H +#endif // NSECBITMAP_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rdata/generic/detail/txt_like.h b/src/lib/dns/rdata/generic/detail/txt_like.h index a0ab7ac581..fdab6bf4e6 100644 --- a/src/lib/dns/rdata/generic/detail/txt_like.h +++ b/src/lib/dns/rdata/generic/detail/txt_like.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TXT_LIKE_H -#define __TXT_LIKE_H 1 +#ifndef TXT_LIKE_H +#define TXT_LIKE_H 1 #include <stdint.h> @@ -217,7 +217,7 @@ private: // END_RDATA_NAMESPACE // END_ISC_NAMESPACE -#endif // __TXT_LIKE_H +#endif // TXT_LIKE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rdatafields.h b/src/lib/dns/rdatafields.h index 16880f0a22..efdc453828 100644 --- a/src/lib/dns/rdatafields.h +++ b/src/lib/dns/rdatafields.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RDATAFIELDS_H -#define __RDATAFIELDS_H 1 +#ifndef RDATAFIELDS_H +#define RDATAFIELDS_H 1 #include <stdint.h> @@ -420,7 +420,7 @@ private: } } } -#endif // __RDATAFIELDS_H +#endif // RDATAFIELDS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rrclass-placeholder.h b/src/lib/dns/rrclass-placeholder.h index 80035d8d3d..70d6b786ca 100644 --- a/src/lib/dns/rrclass-placeholder.h +++ b/src/lib/dns/rrclass-placeholder.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRCLASS_H -#define __RRCLASS_H 1 +#ifndef RRCLASS_H +#define RRCLASS_H 1 #include <stdint.h> @@ -283,7 +283,7 @@ std::ostream& operator<<(std::ostream& os, const RRClass& rrclass); } } -#endif // __RRCLASS_H +#endif // RRCLASS_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rrparamregistry.h b/src/lib/dns/rrparamregistry.h index ae41b5f6bc..b1ca2251b8 100644 --- a/src/lib/dns/rrparamregistry.h +++ b/src/lib/dns/rrparamregistry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRPARAMREGISTRY_H -#define __RRPARAMREGISTRY_H 1 +#ifndef RRPARAMREGISTRY_H +#define RRPARAMREGISTRY_H 1 #include <string> @@ -506,7 +506,7 @@ private: } } -#endif // __RRPARAMREGISTRY_H +#endif // RRPARAMREGISTRY_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rrset.h b/src/lib/dns/rrset.h index 7019f93dc7..d8e31fde39 100644 --- a/src/lib/dns/rrset.h +++ b/src/lib/dns/rrset.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRSET_H -#define __RRSET_H 1 +#ifndef RRSET_H +#define RRSET_H 1 #include <iostream> #include <string> @@ -929,7 +929,7 @@ private: std::ostream& operator<<(std::ostream& os, const AbstractRRset& rrset); } // end of namespace dns } // end of namespace isc -#endif // __RRSET_H +#endif // RRSET_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rrttl.h b/src/lib/dns/rrttl.h index bf23295f08..62bf8862ba 100644 --- a/src/lib/dns/rrttl.h +++ b/src/lib/dns/rrttl.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRTTL_H -#define __RRTTL_H 1 +#ifndef RRTTL_H +#define RRTTL_H 1 #include <stdint.h> @@ -255,7 +255,7 @@ std::ostream& operator<<(std::ostream& os, const RRTTL& rrttl); } } -#endif // __RRTTL_H +#endif // RRTTL_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/rrtype-placeholder.h b/src/lib/dns/rrtype-placeholder.h index dad1b2b5ab..3be798a121 100644 --- a/src/lib/dns/rrtype-placeholder.h +++ b/src/lib/dns/rrtype-placeholder.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RRTYPE_H -#define __RRTYPE_H 1 +#ifndef RRTYPE_H +#define RRTYPE_H 1 #include <stdint.h> @@ -317,7 +317,7 @@ std::ostream& operator<<(std::ostream& os, const RRType& rrtype); } } -#endif // __RRTYPE_H +#endif // RRTYPE_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/serial.h b/src/lib/dns/serial.h index 3549860289..678fb22a5f 100644 --- a/src/lib/dns/serial.h +++ b/src/lib/dns/serial.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SERIAL_H -#define __SERIAL_H 1 +#ifndef SERIAL_H +#define SERIAL_H 1 #include <stdint.h> #include <iostream> @@ -152,4 +152,4 @@ std::ostream& operator<<(std::ostream& os, const Serial& serial); } // end namespace dns } // end namespace isc -#endif // __SERIAL_H +#endif // SERIAL_H diff --git a/src/lib/dns/tests/rdata_unittest.h b/src/lib/dns/tests/rdata_unittest.h index 1bc0fa4497..f59360910d 100644 --- a/src/lib/dns/tests/rdata_unittest.h +++ b/src/lib/dns/tests/rdata_unittest.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RDATA_UNITTEST_H -#define __RDATA_UNITTEST_H 1 +#ifndef RDATA_UNITTEST_H +#define RDATA_UNITTEST_H 1 #include <util/buffer.h> #include <dns/messagerenderer.h> @@ -44,7 +44,7 @@ protected: } } } -#endif // __RDATA_UNITTEST_H +#endif // RDATA_UNITTEST_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/tests/unittest_util.h b/src/lib/dns/tests/unittest_util.h index ebb514d066..f50df14ab2 100644 --- a/src/lib/dns/tests/unittest_util.h +++ b/src/lib/dns/tests/unittest_util.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UNITTEST_UTIL_H -#define __UNITTEST_UTIL_H 1 +#ifndef UNITTEST_UTIL_H +#define UNITTEST_UTIL_H 1 #include <vector> #include <string> @@ -111,7 +111,7 @@ public: }; } -#endif // __UNITTEST_UTIL_H +#endif // UNITTEST_UTIL_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/tsig.h b/src/lib/dns/tsig.h index 9ccc580bb2..a7ec0116b0 100644 --- a/src/lib/dns/tsig.h +++ b/src/lib/dns/tsig.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TSIG_H -#define __TSIG_H 1 +#ifndef TSIG_H +#define TSIG_H 1 #include <boost/noncopyable.hpp> @@ -433,7 +433,7 @@ private: } } -#endif // __TSIG_H +#endif // TSIG_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/tsigerror.h b/src/lib/dns/tsigerror.h index 8efd3ae7d1..5b8056d868 100644 --- a/src/lib/dns/tsigerror.h +++ b/src/lib/dns/tsigerror.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TSIGERROR_H -#define __TSIGERROR_H 1 +#ifndef TSIGERROR_H +#define TSIGERROR_H 1 #include <ostream> #include <string> @@ -331,7 +331,7 @@ std::ostream& operator<<(std::ostream& os, const TSIGError& tsig_error); } } -#endif // __TSIGERROR_H +#endif // TSIGERROR_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/tsigkey.h b/src/lib/dns/tsigkey.h index 6081dd39cd..1bbd3fe3bf 100644 --- a/src/lib/dns/tsigkey.h +++ b/src/lib/dns/tsigkey.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TSIGKEY_H -#define __TSIGKEY_H 1 +#ifndef TSIGKEY_H +#define TSIGKEY_H 1 #include <cryptolink/cryptolink.h> @@ -353,7 +353,7 @@ private: } } -#endif // __TSIGKEY_H +#endif // TSIGKEY_H // Local Variables: // mode: c++ diff --git a/src/lib/dns/tsigrecord.h b/src/lib/dns/tsigrecord.h index 03de746829..b5e8de3f12 100644 --- a/src/lib/dns/tsigrecord.h +++ b/src/lib/dns/tsigrecord.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TSIGRECORD_H -#define __TSIGRECORD_H 1 +#ifndef TSIGRECORD_H +#define TSIGRECORD_H 1 #include <ostream> #include <string> @@ -301,7 +301,7 @@ std::ostream& operator<<(std::ostream& os, const TSIGRecord& record); } } -#endif // __TSIGRECORD_H +#endif // TSIGRECORD_H // Local Variables: // mode: c++ diff --git a/src/lib/exceptions/exceptions.h b/src/lib/exceptions/exceptions.h index 010fd3930e..d7e270dbab 100644 --- a/src/lib/exceptions/exceptions.h +++ b/src/lib/exceptions/exceptions.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __EXCEPTIONS_H -#define __EXCEPTIONS_H 1 +#ifndef EXCEPTIONS_H +#define EXCEPTIONS_H 1 #include <stdexcept> #include <string> @@ -230,7 +230,7 @@ public: } while (1) } -#endif // __EXCEPTIONS_H +#endif // EXCEPTIONS_H // Local Variables: // mode: c++ diff --git a/src/lib/log/dummylog.h b/src/lib/log/dummylog.h index ef5af130bf..6f6ae970b7 100644 --- a/src/lib/log/dummylog.h +++ b/src/lib/log/dummylog.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_DUMMYLOG_H -#define _ISC_DUMMYLOG_H 1 +#ifndef ISC_DUMMYLOG_H +#define ISC_DUMMYLOG_H 1 #include <string> @@ -58,4 +58,4 @@ void dlog(const std::string& message, bool error_flag=false); } } -#endif // _ISC_DUMMYLOG_H +#endif // ISC_DUMMYLOG_H diff --git a/src/lib/log/log_dbglevels.h b/src/lib/log/log_dbglevels.h index d713714e93..a459bedd11 100644 --- a/src/lib/log/log_dbglevels.h +++ b/src/lib/log/log_dbglevels.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOG_DBGLVLS_H -#define __LOG_DBGLVLS_H +#ifndef LOG_DBGLVLS_H +#define LOG_DBGLVLS_H /// \file /// @@ -90,4 +90,4 @@ const int DBGLVL_TRACE_DETAIL_DATA = 55; } // Anonymous namespace -#endif // __LOG_DBGLVLS_H +#endif // LOG_DBGLVLS_H diff --git a/src/lib/log/log_messages.h b/src/lib/log/log_messages.h index 10e150196b..2b70553063 100644 --- a/src/lib/log/log_messages.h +++ b/src/lib/log/log_messages.h @@ -1,7 +1,7 @@ // File created from log_messages.mes on Thu Jul 7 15:32:06 2011 -#ifndef __LOG_MESSAGES_H -#define __LOG_MESSAGES_H +#ifndef LOG_MESSAGES_H +#define LOG_MESSAGES_H #include <log/message_types.h> @@ -32,4 +32,4 @@ extern const isc::log::MessageID LOG_WRITE_ERROR; } // namespace log } // namespace isc -#endif // __LOG_MESSAGES_H +#endif // LOG_MESSAGES_H diff --git a/src/lib/log/logger.h b/src/lib/log/logger.h index 4291eaec49..e3ba163995 100644 --- a/src/lib/log/logger.h +++ b/src/lib/log/logger.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_H -#define __LOGGER_H +#ifndef LOGGER_H +#define LOGGER_H #include <cassert> #include <cstdlib> @@ -320,4 +320,4 @@ private: } // namespace isc -#endif // __LOGGER_H +#endif // LOGGER_H diff --git a/src/lib/log/logger_impl.h b/src/lib/log/logger_impl.h index 10d3db4b58..7280d5ce8f 100644 --- a/src/lib/log/logger_impl.h +++ b/src/lib/log/logger_impl.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_IMPL_H -#define __LOGGER_IMPL_H +#ifndef LOGGER_IMPL_H +#define LOGGER_IMPL_H #include <stdarg.h> #include <time.h> @@ -200,4 +200,4 @@ private: } // namespace isc -#endif // __LOGGER_IMPL_H +#endif // LOGGER_IMPL_H diff --git a/src/lib/log/logger_level.h b/src/lib/log/logger_level.h index ea60c3c90b..ac4a61abde 100644 --- a/src/lib/log/logger_level.h +++ b/src/lib/log/logger_level.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_LEVEL_H -#define __LOGGER_LEVEL_H +#ifndef LOGGER_LEVEL_H +#define LOGGER_LEVEL_H #include <string> @@ -73,4 +73,4 @@ isc::log::Severity getSeverity(const std::string& sev_str); } // namespace log } // namespace isc -#endif // __LOGGER_LEVEL_H +#endif // LOGGER_LEVEL_H diff --git a/src/lib/log/logger_level_impl.h b/src/lib/log/logger_level_impl.h index 17b866d6df..4e18e4695c 100644 --- a/src/lib/log/logger_level_impl.h +++ b/src/lib/log/logger_level_impl.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_LEVEL_IMPL_H -#define __LOGGER_LEVEL_IMPL_H +#ifndef LOGGER_LEVEL_IMPL_H +#define LOGGER_LEVEL_IMPL_H #include <log4cplus/logger.h> #include <log4cplus/version.h> @@ -131,4 +131,4 @@ public: } // namespace log } // namespace isc -#endif // __LOGGER_LEVEL_IMPL_H +#endif // LOGGER_LEVEL_IMPL_H diff --git a/src/lib/log/logger_manager.h b/src/lib/log/logger_manager.h index dece0c995d..63699c99e4 100644 --- a/src/lib/log/logger_manager.h +++ b/src/lib/log/logger_manager.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_MANAGER_H -#define __LOGGER_MANAGER_H +#ifndef LOGGER_MANAGER_H +#define LOGGER_MANAGER_H #include "exceptions/exceptions.h" #include <log/logger_specification.h> @@ -138,4 +138,4 @@ private: } // namespace isc -#endif // __LOGGER_MANAGER_H +#endif // LOGGER_MANAGER_H diff --git a/src/lib/log/logger_manager_impl.h b/src/lib/log/logger_manager_impl.h index 42a98f152d..2bce655bb7 100644 --- a/src/lib/log/logger_manager_impl.h +++ b/src/lib/log/logger_manager_impl.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_MANAGER_IMPL_H -#define __LOGGER_MANAGER_IMPL_H +#ifndef LOGGER_MANAGER_IMPL_H +#define LOGGER_MANAGER_IMPL_H #include <string> @@ -166,4 +166,4 @@ private: } // namespace log } // namespace isc -#endif // __LOGGER_MANAGER_IMPL_H +#endif // LOGGER_MANAGER_IMPL_H diff --git a/src/lib/log/logger_name.h b/src/lib/log/logger_name.h index 82ea2ad21f..b9ebd1b982 100644 --- a/src/lib/log/logger_name.h +++ b/src/lib/log/logger_name.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_NAME_H -#define __LOGGER_NAME_H +#ifndef LOGGER_NAME_H +#define LOGGER_NAME_H #include <string> @@ -54,4 +54,4 @@ std::string expandLoggerName(const std::string& name); } } -#endif // __LOGGER_NAME_H +#endif // LOGGER_NAME_H diff --git a/src/lib/log/logger_specification.h b/src/lib/log/logger_specification.h index 78df054f11..4aed560bbd 100644 --- a/src/lib/log/logger_specification.h +++ b/src/lib/log/logger_specification.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_SPECIFICATION_H -#define __LOGGER_SPECIFICATION_H +#ifndef LOGGER_SPECIFICATION_H +#define LOGGER_SPECIFICATION_H #include <stdint.h> #include <stdlib.h> diff --git a/src/lib/log/logger_support.h b/src/lib/log/logger_support.h index 4ce3cedcd0..f59be602ce 100644 --- a/src/lib/log/logger_support.h +++ b/src/lib/log/logger_support.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_SUPPORT_H -#define __LOGGER_SUPPORT_H +#ifndef LOGGER_SUPPORT_H +#define LOGGER_SUPPORT_H #include <unistd.h> @@ -68,4 +68,4 @@ void initLogger(const std::string& root, } // namespace log } // namespace isc -#endif // __LOGGER_SUPPORT_H +#endif // LOGGER_SUPPORT_H diff --git a/src/lib/log/logger_unittest_support.h b/src/lib/log/logger_unittest_support.h index ce9121b486..70f34e80b1 100644 --- a/src/lib/log/logger_unittest_support.h +++ b/src/lib/log/logger_unittest_support.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOGGER_UNITTEST_SUPPORT_H -#define __LOGGER_UNITTEST_SUPPORT_H +#ifndef LOGGER_UNITTEST_SUPPORT_H +#define LOGGER_UNITTEST_SUPPORT_H #include <string> #include <log/logger.h> @@ -123,4 +123,4 @@ resetUnitTestRootLogger(); -#endif // __LOGGER_UNITTEST_SUPPORT_H +#endif // LOGGER_UNITTEST_SUPPORT_H diff --git a/src/lib/log/logimpl_messages.h b/src/lib/log/logimpl_messages.h index 1b94838612..71a50d6c02 100644 --- a/src/lib/log/logimpl_messages.h +++ b/src/lib/log/logimpl_messages.h @@ -1,7 +1,7 @@ // File created from logimpl_messages.mes on Wed Jun 22 10:57:02 2011 -#ifndef __LOGIMPL_MESSAGES_H -#define __LOGIMPL_MESSAGES_H +#ifndef LOGIMPL_MESSAGES_H +#define LOGIMPL_MESSAGES_H #include <log/message_types.h> @@ -15,4 +15,4 @@ extern const isc::log::MessageID LOGIMPL_BELOW_MIN_DEBUG; } // namespace log } // namespace isc -#endif // __LOGIMPL_MESSAGES_H +#endif // LOGIMPL_MESSAGES_H diff --git a/src/lib/log/macros.h b/src/lib/log/macros.h index 42fb42e5c4..f602555f29 100644 --- a/src/lib/log/macros.h +++ b/src/lib/log/macros.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LOG_MACROS_H -#define __LOG_MACROS_H +#ifndef LOG_MACROS_H +#define LOG_MACROS_H #include <log/logger.h> #include <log/log_dbglevels.h> diff --git a/src/lib/log/message_dictionary.h b/src/lib/log/message_dictionary.h index 519986d60c..3d622cdf2a 100644 --- a/src/lib/log/message_dictionary.h +++ b/src/lib/log/message_dictionary.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_DICTIONARY_H -#define __MESSAGE_DICTIONARY_H +#ifndef MESSAGE_DICTIONARY_H +#define MESSAGE_DICTIONARY_H #include <cstddef> #include <string> @@ -187,4 +187,4 @@ private: } // namespace log } // namespace isc -#endif // __MESSAGE_DICTIONARY_H +#endif // MESSAGE_DICTIONARY_H diff --git a/src/lib/log/message_exception.h b/src/lib/log/message_exception.h index 8b9d58a060..5f1ad12f70 100644 --- a/src/lib/log/message_exception.h +++ b/src/lib/log/message_exception.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_EXCEPTION_H -#define __MESSAGE_EXCEPTION_H +#ifndef MESSAGE_EXCEPTION_H +#define MESSAGE_EXCEPTION_H #include <exceptions/exceptions.h> #include <log/message_types.h> @@ -117,4 +117,4 @@ private: } // namespace log } // namespace isc -#endif // __MESSAGE_EXCEPTION_H +#endif // MESSAGE_EXCEPTION_H diff --git a/src/lib/log/message_initializer.h b/src/lib/log/message_initializer.h index 28b0e6163b..3be973de8f 100644 --- a/src/lib/log/message_initializer.h +++ b/src/lib/log/message_initializer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGEINITIALIZER_H -#define __MESSAGEINITIALIZER_H +#ifndef MESSAGEINITIALIZER_H +#define MESSAGEINITIALIZER_H #include <cstdlib> #include <string> @@ -108,4 +108,4 @@ public: } // namespace log } // namespace isc -#endif // __MESSAGEINITIALIZER_H +#endif // MESSAGEINITIALIZER_H diff --git a/src/lib/log/message_reader.h b/src/lib/log/message_reader.h index a468d43213..62d50b9b00 100644 --- a/src/lib/log/message_reader.h +++ b/src/lib/log/message_reader.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_READER_H -#define __MESSAGE_READER_H +#ifndef MESSAGE_READER_H +#define MESSAGE_READER_H #include <map> #include <string> @@ -212,4 +212,4 @@ private: } // namespace log } // namespace isc -#endif // __MESSAGE_READER_H +#endif // MESSAGE_READER_H diff --git a/src/lib/log/message_types.h b/src/lib/log/message_types.h index 9f625a92b1..7966f9897f 100644 --- a/src/lib/log/message_types.h +++ b/src/lib/log/message_types.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MESSAGE_TYPES_H -#define __MESSAGE_TYPES_H +#ifndef MESSAGE_TYPES_H +#define MESSAGE_TYPES_H #include <string.h> @@ -34,4 +34,4 @@ bool equalMessageID(const MessageID& m1, const MessageID& m2); -#endif // __MESSAGE_TYPES_H +#endif // MESSAGE_TYPES_H diff --git a/src/lib/log/output_option.h b/src/lib/log/output_option.h index 8dfdd7021f..8dcb28dc0f 100644 --- a/src/lib/log/output_option.h +++ b/src/lib/log/output_option.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __OUTPUT_OPTION_H -#define __OUTPUT_OPTION_H +#ifndef OUTPUT_OPTION_H +#define OUTPUT_OPTION_H #include <stdint.h> #include <stdlib.h> @@ -82,4 +82,4 @@ OutputOption::Stream getStream(const std::string& stream_str); } // namespace log } // namespace isc -#endif // __OUTPUT_OPTION_H +#endif // OUTPUT_OPTION_H diff --git a/src/lib/nsas/address_entry.h b/src/lib/nsas/address_entry.h index 869801700d..0c165eab97 100644 --- a/src/lib/nsas/address_entry.h +++ b/src/lib/nsas/address_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ADDRESS_ENTRY_H -#define __ADDRESS_ENTRY_H +#ifndef ADDRESS_ENTRY_H +#define ADDRESS_ENTRY_H /// \brief Address Entry /// @@ -99,4 +99,4 @@ private: } // namespace isc -#endif // __ADDRESS_ENTRY_H +#endif // ADDRESS_ENTRY_H diff --git a/src/lib/nsas/address_request_callback.h b/src/lib/nsas/address_request_callback.h index ad0630e53b..457c5879cc 100644 --- a/src/lib/nsas/address_request_callback.h +++ b/src/lib/nsas/address_request_callback.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ADDRESS_REQUEST_CALLBACK_H -#define __ADDRESS_REQUEST_CALLBACK_H +#ifndef ADDRESS_REQUEST_CALLBACK_H +#define ADDRESS_REQUEST_CALLBACK_H #include "asiolink.h" #include "nameserver_address.h" @@ -69,4 +69,4 @@ public: } // namespace nsas } // namespace isc -#endif // __ADDRESS_REQUEST_CALLBACK_H +#endif // ADDRESS_REQUEST_CALLBACK_H diff --git a/src/lib/nsas/asiolink.h b/src/lib/nsas/asiolink.h index d95868f627..b236a0e6b7 100644 --- a/src/lib/nsas/asiolink.h +++ b/src/lib/nsas/asiolink.h @@ -12,10 +12,10 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ASIOLINK_H -#define __ASIOLINK_H +#ifndef ASIOLINK_H +#define ASIOLINK_H #include <string> #include <sys/socket.h> -#endif // __ASIOLINK_H +#endif // ASIOLINK_H diff --git a/src/lib/nsas/fetchable.h b/src/lib/nsas/fetchable.h index 461cfcaee8..7e8ce5c7d9 100644 --- a/src/lib/nsas/fetchable.h +++ b/src/lib/nsas/fetchable.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __FETCHABLE_H -#define __FETCHABLE_H +#ifndef FETCHABLE_H +#define FETCHABLE_H /** * \file fetchable.h @@ -63,4 +63,4 @@ class Fetchable { } // namespace nsas } // namespace isc -#endif // __FETCHABLE_H +#endif // FETCHABLE_H diff --git a/src/lib/nsas/glue_hints.h b/src/lib/nsas/glue_hints.h index 8e6ecf1911..ccac382657 100644 --- a/src/lib/nsas/glue_hints.h +++ b/src/lib/nsas/glue_hints.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __GLUE_HINTS_H -#define __GLUE_HINTS_H +#ifndef GLUE_HINTS_H +#define GLUE_HINTS_H #include <vector> @@ -68,4 +68,4 @@ private: } -#endif // __GLUE_HINTS_H +#endif // GLUE_HINTS_H diff --git a/src/lib/nsas/hash.h b/src/lib/nsas/hash.h index 85b82c3392..cc03b3fc4b 100644 --- a/src/lib/nsas/hash.h +++ b/src/lib/nsas/hash.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __HASH_H -#define __HASH_H +#ifndef HASH_H +#define HASH_H #include <stdint.h> #include <vector> @@ -122,4 +122,4 @@ private: } // namspace nsas } // namespace isc -#endif // __HASH_H +#endif // HASH_H diff --git a/src/lib/nsas/hash_deleter.h b/src/lib/nsas/hash_deleter.h index 27f066e9fd..6fcd3da0bf 100644 --- a/src/lib/nsas/hash_deleter.h +++ b/src/lib/nsas/hash_deleter.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __HASH_DELETER_H -#define __HASH_DELETER_H +#ifndef HASH_DELETER_H +#define HASH_DELETER_H #include <boost/shared_ptr.hpp> #include <util/lru_list.h> @@ -72,4 +72,4 @@ void HashDeleter<T>::operator()(T* element) const { } // namespace nsas } // namespace isc -#endif // __HASH_DELETER_H +#endif // HASH_DELETER_H diff --git a/src/lib/nsas/hash_key.h b/src/lib/nsas/hash_key.h index c89b327e66..5f60735eb8 100644 --- a/src/lib/nsas/hash_key.h +++ b/src/lib/nsas/hash_key.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __HASH_KEY_H -#define __HASH_KEY_H +#ifndef HASH_KEY_H +#define HASH_KEY_H #include <dns/rrclass.h> @@ -93,4 +93,4 @@ struct HashKey { } // namespace nsas } // namespace isc -#endif // __HASH_KEY_H +#endif // HASH_KEY_H diff --git a/src/lib/nsas/hash_table.h b/src/lib/nsas/hash_table.h index 6028473aa8..13cafc7f42 100644 --- a/src/lib/nsas/hash_table.h +++ b/src/lib/nsas/hash_table.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __HASH_TABLE_H -#define __HASH_TABLE_H +#ifndef HASH_TABLE_H +#define HASH_TABLE_H #include <list> @@ -334,4 +334,4 @@ bool HashTable<T>::addInternal(boost::shared_ptr<T>& object, } // namespace nsas } // namespace isc -#endif // __HASH_TABLE_H +#endif // HASH_TABLE_H diff --git a/src/lib/nsas/nameserver_address.h b/src/lib/nsas/nameserver_address.h index 07b6d4aaf4..5f5c7c95be 100644 --- a/src/lib/nsas/nameserver_address.h +++ b/src/lib/nsas/nameserver_address.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NAMESERVER_ADDRESS_H -#define __NAMESERVER_ADDRESS_H +#ifndef NAMESERVER_ADDRESS_H +#define NAMESERVER_ADDRESS_H #include <boost/shared_ptr.hpp> @@ -114,4 +114,4 @@ private: } // namespace nsas } // namespace isc -#endif//__NAMESERVER_ADDRESS_H +#endif//NAMESERVER_ADDRESS_H diff --git a/src/lib/nsas/nameserver_address_store.h b/src/lib/nsas/nameserver_address_store.h index 1af535abcb..b107b3bd4b 100644 --- a/src/lib/nsas/nameserver_address_store.h +++ b/src/lib/nsas/nameserver_address_store.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NAMESERVER_ADDRESS_STORE_H -#define __NAMESERVER_ADDRESS_STORE_H +#ifndef NAMESERVER_ADDRESS_STORE_H +#define NAMESERVER_ADDRESS_STORE_H #include <string> #include <vector> @@ -129,4 +129,4 @@ private: } // namespace isc -#endif // __NAMESERVER_ADDRESS_STORE_H +#endif // NAMESERVER_ADDRESS_STORE_H diff --git a/src/lib/nsas/nameserver_entry.h b/src/lib/nsas/nameserver_entry.h index 0f214c6847..77a640d660 100644 --- a/src/lib/nsas/nameserver_entry.h +++ b/src/lib/nsas/nameserver_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NAMESERVER_ENTRY_H -#define __NAMESERVER_ENTRY_H +#ifndef NAMESERVER_ENTRY_H +#define NAMESERVER_ENTRY_H #include <string> #include <vector> @@ -281,4 +281,4 @@ private: } // namespace dns } // namespace isc -#endif // __NAMESERVER_ENTRY_H +#endif // NAMESERVER_ENTRY_H diff --git a/src/lib/nsas/nsas_entry.h b/src/lib/nsas/nsas_entry.h index 9cbed115df..e797fd8917 100644 --- a/src/lib/nsas/nsas_entry.h +++ b/src/lib/nsas/nsas_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_ENTRY_H -#define __NSAS_ENTRY_H +#ifndef NSAS_ENTRY_H +#define NSAS_ENTRY_H #include <boost/enable_shared_from_this.hpp> #include <iostream> @@ -135,4 +135,4 @@ private: } // namespace isc -#endif // __NSAS_ENTRY_H +#endif // NSAS_ENTRY_H diff --git a/src/lib/nsas/nsas_entry_compare.h b/src/lib/nsas/nsas_entry_compare.h index 9e9ba7df96..6291456e84 100644 --- a/src/lib/nsas/nsas_entry_compare.h +++ b/src/lib/nsas/nsas_entry_compare.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_ENTRY_COMPARE_H -#define __NSAS_ENTRY_COMPARE_H +#ifndef NSAS_ENTRY_COMPARE_H +#define NSAS_ENTRY_COMPARE_H #include "hash_key.h" #include "hash_table.h" @@ -50,4 +50,4 @@ public: } // namespace nsas } // namespace isc -#endif // __NSAS_ENTRY_COMPARE_H +#endif // NSAS_ENTRY_COMPARE_H diff --git a/src/lib/nsas/nsas_log.h b/src/lib/nsas/nsas_log.h index 031f46dcb5..d4fed3c577 100644 --- a/src/lib/nsas/nsas_log.h +++ b/src/lib/nsas/nsas_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_LOG__H -#define __NSAS_LOG__H +#ifndef NSAS_LOG_H +#define NSAS_LOG_H #include <log/macros.h> #include "nsas_messages.h" @@ -50,4 +50,4 @@ extern isc::log::Logger nsas_logger; // isc::nsas::logger is the NSAS logger } // namespace nsas } // namespace isc -#endif // __NSAS_LOG__H +#endif // NSAS_LOG_H diff --git a/src/lib/nsas/nsas_types.h b/src/lib/nsas/nsas_types.h index 940cc3e644..07190a46a3 100644 --- a/src/lib/nsas/nsas_types.h +++ b/src/lib/nsas/nsas_types.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_TYPES_H -#define __NSAS_TYPES_H +#ifndef NSAS_TYPES_H +#define NSAS_TYPES_H /// \file nsas_types.h /// \brief Nameserver Address Store Types @@ -44,4 +44,4 @@ enum AddressFamily { } } -#endif // __NSAS_TYPES_H +#endif // NSAS_TYPES_H diff --git a/src/lib/nsas/tests/nsas_test.h b/src/lib/nsas/tests/nsas_test.h index 2dd95effd5..d6b4d924f8 100644 --- a/src/lib/nsas/tests/nsas_test.h +++ b/src/lib/nsas/tests/nsas_test.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_TEST_H -#define __NSAS_TEST_H +#ifndef NSAS_TEST_H +#define NSAS_TEST_H /// \file nsas_test.h /// @@ -293,4 +293,4 @@ protected: } // namespace nsas } // namespace isc -#endif // __NSAS_TEST_H +#endif // NSAS_TEST_H diff --git a/src/lib/nsas/zone_entry.h b/src/lib/nsas/zone_entry.h index 482b89f87e..7e5ab5b2ec 100644 --- a/src/lib/nsas/zone_entry.h +++ b/src/lib/nsas/zone_entry.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ZONE_ENTRY_H -#define __ZONE_ENTRY_H +#ifndef ZONE_ENTRY_H +#define ZONE_ENTRY_H #include <string> #include <vector> @@ -189,4 +189,4 @@ private: } // namespace nsas } // namespace isc -#endif // __ZONE_ENTRY_H +#endif // ZONE_ENTRY_H diff --git a/src/lib/python/isc/acl/dns.h b/src/lib/python/isc/acl/dns.h index 76849c5a3a..424a7f85d6 100644 --- a/src/lib/python/isc/acl/dns.h +++ b/src/lib/python/isc/acl/dns.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_ACL_DNS_H -#define __PYTHON_ACL_DNS_H 1 +#ifndef PYTHON_ACL_DNS_H +#define PYTHON_ACL_DNS_H 1 #include <Python.h> @@ -45,7 +45,7 @@ extern PyObject* getACLException(const char* ex_name); } // namespace acl } // namespace isc -#endif // __PYTHON_ACL_DNS_H +#endif // PYTHON_ACL_DNS_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/acl/dns_requestacl_python.h b/src/lib/python/isc/acl/dns_requestacl_python.h index 8f7ad8a097..ea1cb5eb30 100644 --- a/src/lib/python/isc/acl/dns_requestacl_python.h +++ b/src/lib/python/isc/acl/dns_requestacl_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_REQUESTACL_H -#define __PYTHON_REQUESTACL_H 1 +#ifndef PYTHON_REQUESTACL_H +#define PYTHON_REQUESTACL_H 1 #include <Python.h> @@ -46,7 +46,7 @@ bool initModulePart_RequestACL(PyObject* mod); } // namespace dns } // namespace acl } // namespace isc -#endif // __PYTHON_REQUESTACL_H +#endif // PYTHON_REQUESTACL_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/acl/dns_requestcontext_python.h b/src/lib/python/isc/acl/dns_requestcontext_python.h index 766133b38d..567e86ffa7 100644 --- a/src/lib/python/isc/acl/dns_requestcontext_python.h +++ b/src/lib/python/isc/acl/dns_requestcontext_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_REQUESTCONTEXT_H -#define __PYTHON_REQUESTCONTEXT_H 1 +#ifndef PYTHON_REQUESTCONTEXT_H +#define PYTHON_REQUESTCONTEXT_H 1 #include <Python.h> @@ -47,7 +47,7 @@ bool initModulePart_RequestContext(PyObject* mod); } // namespace dns } // namespace acl } // namespace isc -#endif // __PYTHON_REQUESTCONTEXT_H +#endif // PYTHON_REQUESTCONTEXT_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/acl/dns_requestloader_python.h b/src/lib/python/isc/acl/dns_requestloader_python.h index 9d0b63ecee..80cb6be197 100644 --- a/src/lib/python/isc/acl/dns_requestloader_python.h +++ b/src/lib/python/isc/acl/dns_requestloader_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_REQUESTLOADER_H -#define __PYTHON_REQUESTLOADER_H 1 +#ifndef PYTHON_REQUESTLOADER_H +#define PYTHON_REQUESTLOADER_H 1 #include <Python.h> @@ -39,7 +39,7 @@ bool initModulePart_RequestLoader(PyObject* mod); } // namespace dns } // namespace acl } // namespace isc -#endif // __PYTHON_REQUESTLOADER_H +#endif // PYTHON_REQUESTLOADER_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/client_python.h b/src/lib/python/isc/datasrc/client_python.h index 98a256ecbf..71aee8b55e 100644 --- a/src/lib/python/isc/datasrc/client_python.h +++ b/src/lib/python/isc/datasrc/client_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_CLIENT_H -#define __PYTHON_DATASRC_CLIENT_H 1 +#ifndef PYTHON_DATASRC_CLIENT_H +#define PYTHON_DATASRC_CLIENT_H 1 #include <datasrc/client_list.h> @@ -47,7 +47,7 @@ wrapDataSourceClient(DataSourceClient* client, } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_DATASRC_CLIENT_H +#endif // PYTHON_DATASRC_CLIENT_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/configurableclientlist_python.h b/src/lib/python/isc/datasrc/configurableclientlist_python.h index 155d262e20..bcd76fe733 100644 --- a/src/lib/python/isc/datasrc/configurableclientlist_python.h +++ b/src/lib/python/isc/datasrc/configurableclientlist_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_CONFIGURABLECLIENTLIST_H -#define __PYTHON_CONFIGURABLECLIENTLIST_H 1 +#ifndef PYTHON_CONFIGURABLECLIENTLIST_H +#define PYTHON_CONFIGURABLECLIENTLIST_H 1 #include <Python.h> @@ -37,7 +37,7 @@ bool initModulePart_ConfigurableClientList(PyObject* mod); } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_CONFIGURABLECLIENTLIST_H +#endif // PYTHON_CONFIGURABLECLIENTLIST_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/datasrc.h b/src/lib/python/isc/datasrc/datasrc.h index d82881b9ce..ef9ad53da7 100644 --- a/src/lib/python/isc/datasrc/datasrc.h +++ b/src/lib/python/isc/datasrc/datasrc.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_H -#define __PYTHON_DATASRC_H 1 +#ifndef PYTHON_DATASRC_H +#define PYTHON_DATASRC_H 1 #include <Python.h> diff --git a/src/lib/python/isc/datasrc/finder_python.h b/src/lib/python/isc/datasrc/finder_python.h index 23bc457fd7..8d4c9b6c5f 100644 --- a/src/lib/python/isc/datasrc/finder_python.h +++ b/src/lib/python/isc/datasrc/finder_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_FINDER_H -#define __PYTHON_DATASRC_FINDER_H 1 +#ifndef PYTHON_DATASRC_FINDER_H +#define PYTHON_DATASRC_FINDER_H 1 #include <Python.h> @@ -37,7 +37,7 @@ PyObject* createZoneFinderObject(isc::datasrc::ZoneFinderPtr source, } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_DATASRC_FINDER_H +#endif // PYTHON_DATASRC_FINDER_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/iterator_python.h b/src/lib/python/isc/datasrc/iterator_python.h index 7c1b0eb1b8..c64dea397e 100644 --- a/src/lib/python/isc/datasrc/iterator_python.h +++ b/src/lib/python/isc/datasrc/iterator_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_ITERATOR_H -#define __PYTHON_DATASRC_ITERATOR_H 1 +#ifndef PYTHON_DATASRC_ITERATOR_H +#define PYTHON_DATASRC_ITERATOR_H 1 #include <Python.h> @@ -39,7 +39,7 @@ PyObject* createZoneIteratorObject(isc::datasrc::ZoneIteratorPtr source, } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_DATASRC_ITERATOR_H +#endif // PYTHON_DATASRC_ITERATOR_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/journal_reader_python.h b/src/lib/python/isc/datasrc/journal_reader_python.h index 56344dfc26..6708c36e49 100644 --- a/src/lib/python/isc/datasrc/journal_reader_python.h +++ b/src/lib/python/isc/datasrc/journal_reader_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_JOURNAL_READER_H -#define __PYTHON_DATASRC_JOURNAL_READER_H 1 +#ifndef PYTHON_DATASRC_JOURNAL_READER_H +#define PYTHON_DATASRC_JOURNAL_READER_H 1 #include <Python.h> @@ -40,7 +40,7 @@ PyObject* createZoneJournalReaderObject( } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_DATASRC_JOURNAL_READER_H +#endif // PYTHON_DATASRC_JOURNAL_READER_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/datasrc/updater_python.h b/src/lib/python/isc/datasrc/updater_python.h index 8228578256..b09c524ce7 100644 --- a/src/lib/python/isc/datasrc/updater_python.h +++ b/src/lib/python/isc/datasrc/updater_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_DATASRC_UPDATER_H -#define __PYTHON_DATASRC_UPDATER_H 1 +#ifndef PYTHON_DATASRC_UPDATER_H +#define PYTHON_DATASRC_UPDATER_H 1 #include <Python.h> @@ -40,7 +40,7 @@ PyObject* createZoneUpdaterObject(isc::datasrc::ZoneUpdaterPtr source, } // namespace python } // namespace datasrc } // namespace isc -#endif // __PYTHON_DATASRC_UPDATER_H +#endif // PYTHON_DATASRC_UPDATER_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/util/cio/socketsession_python.h b/src/lib/python/isc/util/cio/socketsession_python.h index b0703acb21..da83047664 100644 --- a/src/lib/python/isc/util/cio/socketsession_python.h +++ b/src/lib/python/isc/util/cio/socketsession_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_SOCKETSESSION_H -#define __PYTHON_SOCKETSESSION_H 1 +#ifndef PYTHON_SOCKETSESSION_H +#define PYTHON_SOCKETSESSION_H 1 #include <Python.h> @@ -28,7 +28,7 @@ extern PyObject* po_SocketSessionError; } // namespace io } // namespace util } // namespace isc -#endif // __PYTHON_SOCKETSESSION_H +#endif // PYTHON_SOCKETSESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/util/cio/socketsessionforwarder_python.h b/src/lib/python/isc/util/cio/socketsessionforwarder_python.h index 2ce220a7a7..968ce7f4c4 100644 --- a/src/lib/python/isc/util/cio/socketsessionforwarder_python.h +++ b/src/lib/python/isc/util/cio/socketsessionforwarder_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_SOCKETSESSIONFORWARDER_H -#define __PYTHON_SOCKETSESSIONFORWARDER_H 1 +#ifndef PYTHON_SOCKETSESSIONFORWARDER_H +#define PYTHON_SOCKETSESSIONFORWARDER_H 1 #include <Python.h> @@ -38,7 +38,7 @@ bool initModulePart_SocketSessionForwarder(PyObject* mod); } // namespace io } // namespace util } // namespace isc -#endif // __PYTHON_SOCKETSESSIONFORWARDER_H +#endif // PYTHON_SOCKETSESSIONFORWARDER_H // Local Variables: // mode: c++ diff --git a/src/lib/python/isc/util/cio/socketsessionreceiver_python.h b/src/lib/python/isc/util/cio/socketsessionreceiver_python.h index 14e8a1b512..eb9a884a20 100644 --- a/src/lib/python/isc/util/cio/socketsessionreceiver_python.h +++ b/src/lib/python/isc/util/cio/socketsessionreceiver_python.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_SOCKETSESSIONRECEIVER_H -#define __PYTHON_SOCKETSESSIONRECEIVER_H 1 +#ifndef PYTHON_SOCKETSESSIONRECEIVER_H +#define PYTHON_SOCKETSESSIONRECEIVER_H 1 #include <Python.h> @@ -39,7 +39,7 @@ bool initModulePart_SocketSessionReceiver(PyObject* mod); } // namespace python } // namespace util } // namespace isc -#endif // __PYTHON_SOCKETSESSIONRECEIVER_H +#endif // PYTHON_SOCKETSESSIONRECEIVER_H // Local Variables: // mode: c++ diff --git a/src/lib/resolve/recursive_query.h b/src/lib/resolve/recursive_query.h index 7cda83730c..2875441586 100644 --- a/src/lib/resolve/recursive_query.h +++ b/src/lib/resolve/recursive_query.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RECURSIVE_QUERY_H -#define __RECURSIVE_QUERY_H 1 +#ifndef RECURSIVE_QUERY_H +#define RECURSIVE_QUERY_H 1 #include <util/buffer.h> #include <asiodns/dns_service.h> @@ -226,4 +226,4 @@ private: } // namespace asiodns } // namespace isc -#endif // __RECURSIVE_QUERY_H +#endif // RECURSIVE_QUERY_H diff --git a/src/lib/resolve/resolve.h b/src/lib/resolve/resolve.h index 0a588e20f4..c7ff195e8f 100644 --- a/src/lib/resolve/resolve.h +++ b/src/lib/resolve/resolve.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_RESOLVE_H -#define _ISC_RESOLVE_H 1 +#ifndef ISC_RESOLVE_H +#define ISC_RESOLVE_H 1 /// This file includes all other libresolve headers, and provides /// several helper functions used in resolving. diff --git a/src/lib/resolve/resolve_log.h b/src/lib/resolve/resolve_log.h index 828b9d3352..15a7a729b3 100644 --- a/src/lib/resolve/resolve_log.h +++ b/src/lib/resolve/resolve_log.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RESOLVE_LOG__H -#define __RESOLVE_LOG__H +#ifndef RESOLVE_LOG_H +#define RESOLVE_LOG_H #include <log/macros.h> #include "resolve_messages.h" @@ -50,4 +50,4 @@ extern isc::log::Logger logger; } // namespace resolve } // namespace isc -#endif // __RESOLVE_LOG__H +#endif // RESOLVE_LOG_H diff --git a/src/lib/resolve/resolver_callback.h b/src/lib/resolve/resolver_callback.h index 79138e832b..9a24501f89 100644 --- a/src/lib/resolve/resolver_callback.h +++ b/src/lib/resolve/resolver_callback.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _ISC_RESOLVER_CALLBACK_H -#define _ISC_RESOLVER_CALLBACK_H 1 +#ifndef ISC_RESOLVER_CALLBACK_H +#define ISC_RESOLVER_CALLBACK_H 1 #include <asiodns/dns_server.h> #include <dns/message.h> diff --git a/src/lib/resolve/resolver_interface.h b/src/lib/resolve/resolver_interface.h index 1d01e90216..5002c808bb 100644 --- a/src/lib/resolve/resolver_interface.h +++ b/src/lib/resolve/resolver_interface.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RESOLVER_INTERFACE_H -#define __RESOLVER_INTERFACE_H +#ifndef RESOLVER_INTERFACE_H +#define RESOLVER_INTERFACE_H #include <dns/message.h> @@ -95,4 +95,4 @@ class ResolverInterface { } // namespace nsas } // namespace isc -#endif //__RESOLVER_INTERFACE_H +#endif //RESOLVER_INTERFACE_H diff --git a/src/lib/resolve/response_classifier.h b/src/lib/resolve/response_classifier.h index a027bd0b3a..ce99bf0f76 100644 --- a/src/lib/resolve/response_classifier.h +++ b/src/lib/resolve/response_classifier.h @@ -14,8 +14,8 @@ // $Id$ -#ifndef __RESPONSE_CLASSIFIER_H -#define __RESPONSE_CLASSIFIER_H +#ifndef RESPONSE_CLASSIFIER_H +#define RESPONSE_CLASSIFIER_H #include <cstddef> @@ -154,4 +154,4 @@ private: } // namespace resolve } // namespace isc -#endif // __RESPONSE_CLASSIFIER_H +#endif // RESPONSE_CLASSIFIER_H diff --git a/src/lib/server_common/client.h b/src/lib/server_common/client.h index 8cafb1edc3..912e7a67fe 100644 --- a/src/lib/server_common/client.h +++ b/src/lib/server_common/client.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __CLIENT_H -#define __CLIENT_H 1 +#ifndef CLIENT_H +#define CLIENT_H 1 #include <string> #include <ostream> @@ -147,7 +147,7 @@ std::ostream& operator<<(std::ostream& os, const Client& client); } } -#endif // __CLIENT_H +#endif // CLIENT_H // Local Variables: // mode: c++ diff --git a/src/lib/server_common/logger.h b/src/lib/server_common/logger.h index 80bc81dd27..5d565bfa51 100644 --- a/src/lib/server_common/logger.h +++ b/src/lib/server_common/logger.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SERVER_COMMON_LOGGER_H -#define __SERVER_COMMON_LOGGER_H +#ifndef SERVER_COMMON_LOGGER_H +#define SERVER_COMMON_LOGGER_H #include <log/macros.h> #include <server_common/server_common_messages.h> diff --git a/src/lib/server_common/socket_request.h b/src/lib/server_common/socket_request.h index aac95d161b..b5321533c1 100644 --- a/src/lib/server_common/socket_request.h +++ b/src/lib/server_common/socket_request.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SOCKET_REQUEST_H -#define __SOCKET_REQUEST_H 1 +#ifndef SOCKET_REQUEST_H +#define SOCKET_REQUEST_H 1 #include <exceptions/exceptions.h> @@ -275,4 +275,4 @@ void cleanupSocketRequestor(); } } -#endif // __SOCKET_REQUEST_H +#endif // SOCKET_REQUEST_H diff --git a/src/lib/statistics/counter.h b/src/lib/statistics/counter.h index 9e467ce9c3..9d67b1a4ea 100644 --- a/src/lib/statistics/counter.h +++ b/src/lib/statistics/counter.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __COUNTER_H -#define __COUNTER_H 1 +#ifndef COUNTER_H +#define COUNTER_H 1 #include <boost/noncopyable.hpp> #include <boost/scoped_ptr.hpp> diff --git a/src/lib/statistics/counter_dict.h b/src/lib/statistics/counter_dict.h index e32211990e..1beff44526 100644 --- a/src/lib/statistics/counter_dict.h +++ b/src/lib/statistics/counter_dict.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __COUNTER_DICT_H -#define __COUNTER_DICT_H 1 +#ifndef COUNTER_DICT_H +#define COUNTER_DICT_H 1 #include <string> #include <vector> diff --git a/src/lib/testutils/dnsmessage_test.h b/src/lib/testutils/dnsmessage_test.h index 02550eba5c..262d1778fe 100644 --- a/src/lib/testutils/dnsmessage_test.h +++ b/src/lib/testutils/dnsmessage_test.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ISC_TESTUTILS_DNSMESSAGETEST_H -#define __ISC_TESTUTILS_DNSMESSAGETEST_H 1 +#ifndef ISC_TESTUTILS_DNSMESSAGETEST_H +#define ISC_TESTUTILS_DNSMESSAGETEST_H 1 #include <algorithm> #include <functional> @@ -391,7 +391,7 @@ rrsetsCheck(const std::string& expected, } // end of namespace testutils } // end of namespace isc -#endif // __ISC_TESTUTILS_DNSMESSAGETEST_H +#endif // ISC_TESTUTILS_DNSMESSAGETEST_H // Local Variables: // mode: c++ diff --git a/src/lib/testutils/mockups.h b/src/lib/testutils/mockups.h index 3028d7f077..fc8a2e0ff2 100644 --- a/src/lib/testutils/mockups.h +++ b/src/lib/testutils/mockups.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ISC_TESTUTILS_MOCKUPS_H -#define __ISC_TESTUTILS_MOCKUPS_H 1 +#ifndef ISC_TESTUTILS_MOCKUPS_H +#define ISC_TESTUTILS_MOCKUPS_H 1 #include <config.h> @@ -210,7 +210,7 @@ private: } // end of testutils } // end of isc -#endif // __ISC_TESTUTILS_MOCKUPS_H +#endif // ISC_TESTUTILS_MOCKUPS_H // Local Variables: // mode: c++ diff --git a/src/lib/testutils/portconfig.h b/src/lib/testutils/portconfig.h index ce1bb39c7b..8e8cab13f3 100644 --- a/src/lib/testutils/portconfig.h +++ b/src/lib/testutils/portconfig.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ISC_TESTUTILS_PORTCONFIG_H -#define __ISC_TESTUTILS_PORTCONFIG_H +#ifndef ISC_TESTUTILS_PORTCONFIG_H +#define ISC_TESTUTILS_PORTCONFIG_H #include <gtest/gtest.h> #include <cc/data.h> @@ -186,4 +186,4 @@ invalidListenAddressConfig(Server& server) { } } -#endif // __ISC_TESTUTILS_PORTCONFIG_H +#endif // ISC_TESTUTILS_PORTCONFIG_H diff --git a/src/lib/testutils/socket_request.h b/src/lib/testutils/socket_request.h index 0ae15f3310..d51140157b 100644 --- a/src/lib/testutils/socket_request.h +++ b/src/lib/testutils/socket_request.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ISC_TESTUTILS_SOCKETREQUEST_H -#define __ISC_TESTUTILS_SOCKETREQUEST_H 1 +#ifndef ISC_TESTUTILS_SOCKETREQUEST_H +#define ISC_TESTUTILS_SOCKETREQUEST_H 1 #include <server_common/socket_request.h> #include <server_common/portconfig.h> @@ -216,4 +216,4 @@ private: } } -#endif // __ISC_TESTUTILS_SOCKETREQUEST_H +#endif // ISC_TESTUTILS_SOCKETREQUEST_H diff --git a/src/lib/testutils/srv_test.h b/src/lib/testutils/srv_test.h index a5c516e896..e867595890 100644 --- a/src/lib/testutils/srv_test.h +++ b/src/lib/testutils/srv_test.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __ISC_TESTUTILS_SRVTEST_H -#define __ISC_TESTUTILS_SRVTEST_H 1 +#ifndef ISC_TESTUTILS_SRVTEST_H +#define ISC_TESTUTILS_SRVTEST_H 1 #include <util/buffer.h> #include <dns/name.h> @@ -112,7 +112,7 @@ protected: }; } // end of namespace testutils } // end of namespace isc -#endif // __ISC_TESTUTILS_SRVTEST_H +#endif // ISC_TESTUTILS_SRVTEST_H // Local Variables: // mode: c++ diff --git a/src/lib/util/buffer.h b/src/lib/util/buffer.h index 7e881089cd..4800e9905d 100644 --- a/src/lib/util/buffer.h +++ b/src/lib/util/buffer.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __BUFFER_H -#define __BUFFER_H 1 +#ifndef BUFFER_H +#define BUFFER_H 1 #include <stdlib.h> #include <cstring> @@ -535,7 +535,7 @@ typedef boost::shared_ptr<OutputBuffer> OutputBufferPtr; } // namespace util } // namespace isc -#endif // __BUFFER_H +#endif // BUFFER_H // Local Variables: // mode: c++ diff --git a/src/lib/util/encode/base32hex.h b/src/lib/util/encode/base32hex.h index d7129d74a6..83fd0d33da 100644 --- a/src/lib/util/encode/base32hex.h +++ b/src/lib/util/encode/base32hex.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __BASE32HEX_H -#define __BASE32HEX_H 1 +#ifndef BASE32HEX_H +#define BASE32HEX_H 1 #include <stdint.h> #include <string> @@ -57,7 +57,7 @@ void decodeBase32Hex(const std::string& input, std::vector<uint8_t>& result); } // namespace util } // namespace isc -#endif // __BASE32HEX_H +#endif // BASE32HEX_H // Local Variables: // mode: c++ diff --git a/src/lib/util/encode/base64.h b/src/lib/util/encode/base64.h index 6b1b346584..1c7c74d988 100644 --- a/src/lib/util/encode/base64.h +++ b/src/lib/util/encode/base64.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __BASE64_H -#define __BASE64_H 1 +#ifndef BASE64_H +#define BASE64_H 1 #include <stdint.h> #include <string> @@ -72,7 +72,7 @@ void decodeBase64(const std::string& input, std::vector<uint8_t>& result); } // namespace util } // namespace isc -#endif // __BASE64_H +#endif // BASE64_H // Local Variables: // mode: c++ diff --git a/src/lib/util/encode/hex.h b/src/lib/util/encode/hex.h index 5c806fcfaa..32b5071257 100644 --- a/src/lib/util/encode/hex.h +++ b/src/lib/util/encode/hex.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __HEX_H -#define __HEX_H 1 +#ifndef HEX_H +#define HEX_H 1 #include <stdint.h> #include <string> @@ -58,7 +58,7 @@ void decodeHex(const std::string& input, std::vector<uint8_t>& result); } // namespace util } // namespace isc -#endif // __HEX_H +#endif // HEX_H // Local Variables: // mode: c++ diff --git a/src/lib/util/filename.h b/src/lib/util/filename.h index f6259386ef..a4ba47c46f 100644 --- a/src/lib/util/filename.h +++ b/src/lib/util/filename.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __FILENAME_H -#define __FILENAME_H +#ifndef FILENAME_H +#define FILENAME_H #include <string> @@ -170,4 +170,4 @@ private: } // namespace util } // namespace isc -#endif // __FILENAME_H +#endif // FILENAME_H diff --git a/src/lib/util/hash/sha1.h b/src/lib/util/hash/sha1.h index 6089ca8eae..165d93f85a 100644 --- a/src/lib/util/hash/sha1.h +++ b/src/lib/util/hash/sha1.h @@ -30,8 +30,8 @@ * without express or implied warranty of any kind. */ -#ifndef _SHA1_H_ -#define _SHA1_H_ +#ifndef SHA1_H +#define SHA1_H #include <stdint.h> diff --git a/src/lib/util/interprocess_sync.h b/src/lib/util/interprocess_sync.h index e4fa7afcfe..f55f0ac5ca 100644 --- a/src/lib/util/interprocess_sync.h +++ b/src/lib/util/interprocess_sync.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __INTERPROCESS_SYNC_H__ -#define __INTERPROCESS_SYNC_H__ +#ifndef INTERPROCESS_SYNC_H +#define INTERPROCESS_SYNC_H #include <string> @@ -146,4 +146,4 @@ protected: } // namespace util } // namespace isc -#endif // __INTERPROCESS_SYNC_H__ +#endif // INTERPROCESS_SYNC_H diff --git a/src/lib/util/interprocess_sync_file.h b/src/lib/util/interprocess_sync_file.h index fd8da1b438..153b39164f 100644 --- a/src/lib/util/interprocess_sync_file.h +++ b/src/lib/util/interprocess_sync_file.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __INTERPROCESS_SYNC_FILE_H__ -#define __INTERPROCESS_SYNC_FILE_H__ +#ifndef INTERPROCESS_SYNC_FILE_H +#define INTERPROCESS_SYNC_FILE_H #include <util/interprocess_sync.h> #include <exceptions/exceptions.h> @@ -88,4 +88,4 @@ private: } // namespace util } // namespace isc -#endif // __INTERPROCESS_SYNC_FILE_H__ +#endif // INTERPROCESS_SYNC_FILE_H diff --git a/src/lib/util/interprocess_sync_null.h b/src/lib/util/interprocess_sync_null.h index 6ac032245e..be775148e0 100644 --- a/src/lib/util/interprocess_sync_null.h +++ b/src/lib/util/interprocess_sync_null.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __INTERPROCESS_SYNC_NULL_H__ -#define __INTERPROCESS_SYNC_NULL_H__ +#ifndef INTERPROCESS_SYNC_NULL_H +#define INTERPROCESS_SYNC_NULL_H #include <util/interprocess_sync.h> @@ -61,4 +61,4 @@ protected: } // namespace util } // namespace isc -#endif // __INTERPROCESS_SYNC_NULL_H__ +#endif // INTERPROCESS_SYNC_NULL_H diff --git a/src/lib/util/io/fd.h b/src/lib/util/io/fd.h index bdd2d41f58..e90e16e790 100644 --- a/src/lib/util/io/fd.h +++ b/src/lib/util/io/fd.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_IO_FD_H -#define __UTIL_IO_FD_H 1 +#ifndef UTIL_IO_FD_H +#define UTIL_IO_FD_H 1 #include <unistd.h> @@ -58,4 +58,4 @@ read_data(const int fd, void *buffer, const size_t length); } } -#endif // __UTIL_IO_FD_H +#endif // UTIL_IO_FD_H diff --git a/src/lib/util/io/pktinfo_utilities.h b/src/lib/util/io/pktinfo_utilities.h index 9883c30855..74dc37d3df 100644 --- a/src/lib/util/io/pktinfo_utilities.h +++ b/src/lib/util/io/pktinfo_utilities.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PKTINFO_UTIL_H_ -#define __PKTINFO_UTIL_H_ 1 +#ifndef PKTINFO_UTIL_H +#define PKTINFO_UTIL_H 1 #include <sys/socket.h> #include <netinet/in.h> @@ -48,4 +48,4 @@ convertPktInfo6(unsigned char* pktinfo) { } } -#endif // __PKTINFO_UTIL_H_ +#endif // PKTINFO_UTIL_H diff --git a/src/lib/util/io/sockaddr_util.h b/src/lib/util/io/sockaddr_util.h index 0cd7c7b10d..847a0cb946 100644 --- a/src/lib/util/io/sockaddr_util.h +++ b/src/lib/util/io/sockaddr_util.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SOCKADDR_UTIL_H_ -#define __SOCKADDR_UTIL_H_ 1 +#ifndef SOCKADDR_UTIL_H +#define SOCKADDR_UTIL_H 1 #include <sys/types.h> #include <sys/socket.h> @@ -77,7 +77,7 @@ convertSockAddr(struct sockaddr* sa) { } } -#endif // __SOCKADDR_UTIL_H_ +#endif // SOCKADDR_UTIL_H // Local Variables: // mode: c++ diff --git a/src/lib/util/io/socketsession.h b/src/lib/util/io/socketsession.h index 48b7f19fe0..023ef8eb2f 100644 --- a/src/lib/util/io/socketsession.h +++ b/src/lib/util/io/socketsession.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __SOCKETSESSION_H_ -#define __SOCKETSESSION_H_ 1 +#ifndef SOCKETSESSION_H +#define SOCKETSESSION_H 1 #include <boost/noncopyable.hpp> @@ -492,7 +492,7 @@ private: } } -#endif // __SOCKETSESSION_H_ +#endif // SOCKETSESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/util/io_utilities.h b/src/lib/util/io_utilities.h index 61d4c9c94b..66b9a4e7ea 100644 --- a/src/lib/util/io_utilities.h +++ b/src/lib/util/io_utilities.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __IO_UTILITIES_H -#define __IO_UTILITIES_H +#ifndef IO_UTILITIES_H +#define IO_UTILITIES_H #include <cstddef> diff --git a/src/lib/util/locks.h b/src/lib/util/locks.h index f33ff960e3..34296f2a9d 100644 --- a/src/lib/util/locks.h +++ b/src/lib/util/locks.h @@ -23,8 +23,8 @@ /// to be set. we might want to enfore this at compile time with a check /// (TODO) -#ifndef __LOCKS_ -#define __LOCKS_ +#ifndef LOCKS +#define LOCKS namespace isc { namespace util { @@ -62,4 +62,4 @@ public: } // namespace util } // namespace isc -#endif // __LOCKS_ +#endif // LOCKS diff --git a/src/lib/util/lru_list.h b/src/lib/util/lru_list.h index 797c3c9170..e5db8699f5 100644 --- a/src/lib/util/lru_list.h +++ b/src/lib/util/lru_list.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __LRU_LIST_H -#define __LRU_LIST_H +#ifndef LRU_LIST_H +#define LRU_LIST_H #include <list> #include <string> @@ -257,4 +257,4 @@ void LruList<T>::clear() { } // namespace util } // namespace isc -#endif // __LRU_LIST_H +#endif // LRU_LIST_H diff --git a/src/lib/util/memory_segment.h b/src/lib/util/memory_segment.h index 97d2e024a8..664bd3c644 100644 --- a/src/lib/util/memory_segment.h +++ b/src/lib/util/memory_segment.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MEMORY_SEGMENT_H__ -#define __MEMORY_SEGMENT_H__ +#ifndef MEMORY_SEGMENT_H +#define MEMORY_SEGMENT_H #include <stdlib.h> @@ -66,4 +66,4 @@ public: } // namespace util } // namespace isc -#endif // __MEMORY_SEGMENT_H__ +#endif // MEMORY_SEGMENT_H diff --git a/src/lib/util/memory_segment_local.h b/src/lib/util/memory_segment_local.h index 5e43e530f6..de35b87db1 100644 --- a/src/lib/util/memory_segment_local.h +++ b/src/lib/util/memory_segment_local.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __MEMORY_SEGMENT_LOCAL_H__ -#define __MEMORY_SEGMENT_LOCAL_H__ +#ifndef MEMORY_SEGMENT_LOCAL_H +#define MEMORY_SEGMENT_LOCAL_H #include <util/memory_segment.h> @@ -73,4 +73,4 @@ private: } // namespace util } // namespace isc -#endif // __MEMORY_SEGMENT_LOCAL_H__ +#endif // MEMORY_SEGMENT_LOCAL_H diff --git a/src/lib/util/python/pycppwrapper_util.h b/src/lib/util/python/pycppwrapper_util.h index 462e7150cb..31041baa3e 100644 --- a/src/lib/util/python/pycppwrapper_util.h +++ b/src/lib/util/python/pycppwrapper_util.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYCPPWRAPPER_UTIL_H -#define __PYCPPWRAPPER_UTIL_H 1 +#ifndef PYCPPWRAPPER_UTIL_H +#define PYCPPWRAPPER_UTIL_H 1 #include <Python.h> @@ -328,7 +328,7 @@ installClassVariable(PyTypeObject& pyclass, const char* name, PyObject* obj) { } // namespace python } // namespace util } // namespace isc -#endif // __PYCPPWRAPPER_UTIL_H +#endif // PYCPPWRAPPER_UTIL_H // Local Variables: // mode: c++ diff --git a/src/lib/util/python/wrapper_template.h b/src/lib/util/python/wrapper_template.h index be701e1b01..787a2969e2 100644 --- a/src/lib/util/python/wrapper_template.h +++ b/src/lib/util/python/wrapper_template.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __PYTHON_@CPPCLASS@_H -#define __PYTHON_@CPPCLASS@_H 1 +#ifndef PYTHON_@CPPCLASS@_H +#define PYTHON_@CPPCLASS@_H 1 #include <Python.h> @@ -52,7 +52,7 @@ PyObject* create@CPPCLASS@Object(const @CPPCLASS@& source); } // namespace python } // namespace @MODULE@ } // namespace isc -#endif // __PYTHON_@CPPCLASS@_H +#endif // PYTHON_@CPPCLASS@_H // Local Variables: // mode: c++ diff --git a/src/lib/util/random/qid_gen.h b/src/lib/util/random/qid_gen.h index 1af43c1fad..80f532fc71 100644 --- a/src/lib/util/random/qid_gen.h +++ b/src/lib/util/random/qid_gen.h @@ -18,8 +18,8 @@ // (and other parts where we need randomness, perhaps another thing // for a general libutil?) -#ifndef __QID_GEN_H -#define __QID_GEN_H +#ifndef QID_GEN_H +#define QID_GEN_H #include <boost/random/mersenne_twister.hpp> #include <boost/random/uniform_int.hpp> @@ -84,4 +84,4 @@ private: } // namespace util } // namespace isc -#endif // __QID_GEN_H +#endif // QID_GEN_H diff --git a/src/lib/util/random/random_number_generator.h b/src/lib/util/random/random_number_generator.h index 485ea7a2e5..f0c0fb30d0 100644 --- a/src/lib/util/random/random_number_generator.h +++ b/src/lib/util/random/random_number_generator.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __NSAS_RANDOM_NUMBER_GENERATOR_H -#define __NSAS_RANDOM_NUMBER_GENERATOR_H +#ifndef NSAS_RANDOM_NUMBER_GENERATOR_H +#define NSAS_RANDOM_NUMBER_GENERATOR_H #include <algorithm> #include <cmath> @@ -205,4 +205,4 @@ private: } // namespace util } // namespace isc -#endif//__NSAS_RANDOM_NUMBER_GENERATOR_H +#endif//NSAS_RANDOM_NUMBER_GENERATOR_H diff --git a/src/lib/util/range_utilities.h b/src/lib/util/range_utilities.h index 3f8b971b2d..f9ca48f877 100644 --- a/src/lib/util/range_utilities.h +++ b/src/lib/util/range_utilities.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __RANGE_UTIL_H_ -#define __RANGE_UTIL_H_ 1 +#ifndef RANGE_UTIL_H +#define RANGE_UTIL_H 1 #include <stdlib.h> #include <algorithm> diff --git a/src/lib/util/strutil.h b/src/lib/util/strutil.h index 0dbbe96b04..6b60009f9b 100644 --- a/src/lib/util/strutil.h +++ b/src/lib/util/strutil.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __STRUTIL_H -#define __STRUTIL_H +#ifndef STRUTIL_H +#define STRUTIL_H #include <algorithm> #include <cctype> @@ -206,4 +206,4 @@ tokenToNum(const std::string& num_token) { } // namespace util } // namespace isc -#endif // __STRUTIL_H +#endif // STRUTIL_H diff --git a/src/lib/util/time_utilities.h b/src/lib/util/time_utilities.h index a53089d577..5427640463 100644 --- a/src/lib/util/time_utilities.h +++ b/src/lib/util/time_utilities.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __TIME_UTILITIES_H -#define __TIME_UTILITIES_H 1 +#ifndef TIME_UTILITIES_H +#define TIME_UTILITIES_H 1 #include <string> diff --git a/src/lib/util/unittests/check_valgrind.h b/src/lib/util/unittests/check_valgrind.h index c08b58bc10..80f1f859d1 100644 --- a/src/lib/util/unittests/check_valgrind.h +++ b/src/lib/util/unittests/check_valgrind.h @@ -27,8 +27,8 @@ // natively // -#ifndef __UTIL_UNITTESTS_CHECK_VALGRIND_H -#define __UTIL_UNITTESTS_CHECK_VALGRIND_H 1 +#ifndef UTIL_UNITTESTS_CHECK_VALGRIND_H +#define UTIL_UNITTESTS_CHECK_VALGRIND_H 1 #include <config.h> @@ -47,4 +47,4 @@ bool runningOnValgrind(); } // end namespace util } // end namespace isc -#endif // __UTIL_UNITTESTS_CHECK_VALGRIND_H +#endif // UTIL_UNITTESTS_CHECK_VALGRIND_H diff --git a/src/lib/util/unittests/fork.h b/src/lib/util/unittests/fork.h index 2d27a115cf..d5623a758a 100644 --- a/src/lib/util/unittests/fork.h +++ b/src/lib/util/unittests/fork.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_FORK_H -#define __UTIL_UNITTESTS_FORK_H 1 +#ifndef UTIL_UNITTESTS_FORK_H +#define UTIL_UNITTESTS_FORK_H 1 #include <unistd.h> @@ -49,4 +49,4 @@ check_output(int *write_pipe, const void *output, const size_t length); } } -#endif // __UTIL_UNITTESTS_FORK_H +#endif // UTIL_UNITTESTS_FORK_H diff --git a/src/lib/util/unittests/mock_socketsession.h b/src/lib/util/unittests/mock_socketsession.h index 8078265deb..01ca34f3e6 100644 --- a/src/lib/util/unittests/mock_socketsession.h +++ b/src/lib/util/unittests/mock_socketsession.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_MOCKSOCKETSESSION_H -#define __UTIL_UNITTESTS_MOCKSOCKETSESSION_H 1 +#ifndef UTIL_UNITTESTS_MOCKSOCKETSESSION_H +#define UTIL_UNITTESTS_MOCKSOCKETSESSION_H 1 #include <exceptions/exceptions.h> @@ -147,7 +147,7 @@ private: } // end of unittests } // end of util } // end of isc -#endif // __UTIL_UNITTESTS_MOCKSOCKETSESSION_H +#endif // UTIL_UNITTESTS_MOCKSOCKETSESSION_H // Local Variables: // mode: c++ diff --git a/src/lib/util/unittests/newhook.h b/src/lib/util/unittests/newhook.h index c90751eb7f..d2c1385ffe 100644 --- a/src/lib/util/unittests/newhook.h +++ b/src/lib/util/unittests/newhook.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_NEWHOOK_H -#define __UTIL_UNITTESTS_NEWHOOK_H 1 +#ifndef UTIL_UNITTESTS_NEWHOOK_H +#define UTIL_UNITTESTS_NEWHOOK_H 1 /** * \file newhook.h @@ -75,7 +75,7 @@ extern size_t throw_size_on_new; } } -#endif // __UTIL_UNITTESTS_NEWHOOK_H +#endif // UTIL_UNITTESTS_NEWHOOK_H // Local Variables: // mode: c++ diff --git a/src/lib/util/unittests/resource.h b/src/lib/util/unittests/resource.h index 6430ab2bc1..42dad87649 100644 --- a/src/lib/util/unittests/resource.h +++ b/src/lib/util/unittests/resource.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_RESOURCE_H -#define __UTIL_UNITTESTS_RESOURCE_H 1 +#ifndef UTIL_UNITTESTS_RESOURCE_H +#define UTIL_UNITTESTS_RESOURCE_H 1 namespace isc { namespace util { diff --git a/src/lib/util/unittests/run_all.h b/src/lib/util/unittests/run_all.h index 94c7cb0365..2335df71dc 100644 --- a/src/lib/util/unittests/run_all.h +++ b/src/lib/util/unittests/run_all.h @@ -14,8 +14,8 @@ -#ifndef __RUN_ALL_H -#define __RUN_ALL_H +#ifndef RUN_ALL_H +#define RUN_ALL_H // Avoid need for user to include this header file. @@ -49,4 +49,4 @@ int run_all(); -#endif // __RUN_ALL_H +#endif // RUN_ALL_H diff --git a/src/lib/util/unittests/testdata.h b/src/lib/util/unittests/testdata.h index a452dc69d5..c7ee707970 100644 --- a/src/lib/util/unittests/testdata.h +++ b/src/lib/util/unittests/testdata.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_TESTDATA_H -#define __UTIL_UNITTESTS_TESTDATA_H 1 +#ifndef UTIL_UNITTESTS_TESTDATA_H +#define UTIL_UNITTESTS_TESTDATA_H 1 /** * \file testdata.h @@ -47,7 +47,7 @@ void openTestData(const char* const datafile, std::ifstream& ifs); } } -#endif // __UTIL_UNITTESTS_TESTDATA_H +#endif // UTIL_UNITTESTS_TESTDATA_H // Local Variables: // mode: c++ diff --git a/src/lib/util/unittests/textdata.h b/src/lib/util/unittests/textdata.h index 3e5fe0f2f7..50d09ea6c6 100644 --- a/src/lib/util/unittests/textdata.h +++ b/src/lib/util/unittests/textdata.h @@ -18,8 +18,8 @@ #include <gtest/gtest.h> -#ifndef __UTIL_UNITTESTS_TEXTDATA_H -#define __UTIL_UNITTESTS_TEXTDATA_H 1 +#ifndef UTIL_UNITTESTS_TEXTDATA_H +#define UTIL_UNITTESTS_TEXTDATA_H 1 /** * \file textdata.h @@ -96,7 +96,7 @@ matchTextData(const std::string& expected_text, } } -#endif // __UTIL_UNITTESTS_TEXTDATA_H +#endif // UTIL_UNITTESTS_TEXTDATA_H // Local Variables: // mode: c++ diff --git a/src/lib/util/unittests/wiredata.h b/src/lib/util/unittests/wiredata.h index a33a03af97..a8c519ea16 100644 --- a/src/lib/util/unittests/wiredata.h +++ b/src/lib/util/unittests/wiredata.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef __UTIL_UNITTESTS_WIREDATA_H -#define __UTIL_UNITTESTS_WIREDATA_H 1 +#ifndef UTIL_UNITTESTS_WIREDATA_H +#define UTIL_UNITTESTS_WIREDATA_H 1 #include <cstddef> @@ -38,7 +38,7 @@ void matchWireData(const void* expected_data, std::size_t expected_len, } } -#endif // __UTIL_UNITTESTS_WIREDATA_H +#endif // UTIL_UNITTESTS_WIREDATA_H // Local Variables: // mode: c++ diff --git a/src/lib/xfr/xfrout_client.h b/src/lib/xfr/xfrout_client.h index bad963c3dd..e691fb1513 100644 --- a/src/lib/xfr/xfrout_client.h +++ b/src/lib/xfr/xfrout_client.h @@ -12,8 +12,8 @@ // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR // PERFORMANCE OF THIS SOFTWARE. -#ifndef _XFROUT_CLIENT_H -#define _XFROUT_CLIENT_H +#ifndef XFROUT_CLIENT_H +#define XFROUT_CLIENT_H #include <stdint.h> |