From a9c88e1c38b99661edf26733226435d33dcb0062 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Sat, 10 Sep 2011 15:30:52 -0300 Subject: [PATCH] Changed include guards style to the project's standard --- src/config/configurationcommandline.h | 6 +++--- src/config/configurationfile.h | 6 +++--- src/config/configurationinterface.h | 6 +++--- src/config/configurationreader.h | 6 +++--- src/config/host.h | 2 +- src/dns/dnsresolver.h | 6 +++--- src/dns/hostaddress.h | 6 +++--- src/dns/timetolive.h | 6 +++--- src/host/hoststatusanalyzer.h | 6 +++--- src/host/pinger.h | 2 +- src/host/pingerfactory.h | 6 +++--- src/host/pinginterval.h | 6 +++--- src/host/pingprotocol.h | 6 +++--- src/host/pingscheduler.h | 6 +++--- src/host/pingstatus.h | 2 +- src/icmp/icmpdata.h | 6 +++--- src/icmp/icmppacket.h | 6 +++--- src/icmp/icmptype.h | 2 +- src/ip/pseudoipv4header.h | 2 +- src/link/linkstatusanalyzer.h | 6 +++--- src/link/statusnotifiercommand.h | 6 +++--- 21 files changed, 53 insertions(+), 53 deletions(-) diff --git a/src/config/configurationcommandline.h b/src/config/configurationcommandline.h index e40804e..4e911db 100644 --- a/src/config/configurationcommandline.h +++ b/src/config/configurationcommandline.h @@ -18,8 +18,8 @@ on this file might be covered by the GNU General Public License. */ -#ifndef CONFIGURATIONCOMMANDLINE_H -#define CONFIGURATIONCOMMANDLINE_H +#ifndef CONFIGURATION_COMMAND_LINE_H +#define CONFIGURATION_COMMAND_LINE_H #include @@ -54,4 +54,4 @@ private: }; -#endif // CONFIGURATIONCOMMANDLINE_H +#endif // CONFIGURATION_COMMAND_LINE_H diff --git a/src/config/configurationfile.h b/src/config/configurationfile.h index 2190a27..5e3e4b7 100644 --- a/src/config/configurationfile.h +++ b/src/config/configurationfile.h @@ -18,8 +18,8 @@ on this file might be covered by the GNU General Public License. */ -#ifndef CONFIGURATIONFILE_H -#define CONFIGURATIONFILE_H +#ifndef CONFIGURATION_FILE_H +#define CONFIGURATION_FILE_H #include @@ -52,4 +52,4 @@ private: }; -#endif // CONFIGURATIONFILE_H +#endif // CONFIGURATION_FILE_H diff --git a/src/config/configurationinterface.h b/src/config/configurationinterface.h index e097761..56eef94 100644 --- a/src/config/configurationinterface.h +++ b/src/config/configurationinterface.h @@ -18,8 +18,8 @@ on this file might be covered by the GNU General Public License. */ -#ifndef CONFIGURATIONINTERFACE_H -#define CONFIGURATIONINTERFACE_H +#ifndef CONFIGURATION_INTERFACE_H +#define CONFIGURATION_INTERFACE_H #include @@ -47,4 +47,4 @@ public: }; -#endif // CONFIGURATIONINTERFACE_H +#endif // CONFIGURATION_INTERFACE_H diff --git a/src/config/configurationreader.h b/src/config/configurationreader.h index 74152ea..c3e6296 100644 --- a/src/config/configurationreader.h +++ b/src/config/configurationreader.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef CONFIGURATIONREADER_H -#define CONFIGURATIONREADER_H +#ifndef CONFIGURATION_READER_H +#define CONFIGURATION_READER_H #include @@ -48,4 +48,4 @@ private: }; -#endif // CONFIGURATIONREADER_H +#endif // CONFIGURATION_READER_H diff --git a/src/config/host.h b/src/config/host.h index 4b1eb52..7f59aff 100644 --- a/src/config/host.h +++ b/src/config/host.h @@ -78,4 +78,4 @@ typedef boost::shared_ptr HostItem; typedef std::vector< HostItem > HostList; -#endif /* HOST_H */ +#endif // HOST_H diff --git a/src/dns/dnsresolver.h b/src/dns/dnsresolver.h index 7ae8955..5b7c494 100644 --- a/src/dns/dnsresolver.h +++ b/src/dns/dnsresolver.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef DNSRESOLVER_H -#define DNSRESOLVER_H +#ifndef DNS_RESOLVER_H +#define DNS_RESOLVER_H #include #include @@ -67,4 +67,4 @@ private: }; -#endif /* DNSRESOLVER_H */ +#endif // DNS_RESOLVER_H diff --git a/src/dns/hostaddress.h b/src/dns/hostaddress.h index e4eddd2..f5ad6e2 100644 --- a/src/dns/hostaddress.h +++ b/src/dns/hostaddress.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef HOSTADDRESS_H_ -#define HOSTADDRESS_H_ +#ifndef HOST_ADDRESS_H +#define HOST_ADDRESS_H #include @@ -52,4 +52,4 @@ private: }; -#endif /* HOSTADDRESS_H_ */ +#endif // HOST_ADDRESS_H diff --git a/src/dns/timetolive.h b/src/dns/timetolive.h index 225723b..74335c9 100644 --- a/src/dns/timetolive.h +++ b/src/dns/timetolive.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef TIMETOLIVE_H -#define TIMETOLIVE_H +#ifndef TIME_TO_LIVE_H +#define TIME_TO_LIVE_H #include @@ -45,4 +45,4 @@ private: boost::posix_time::ptime TtlSetTime; }; -#endif /* TIMETOLIVE_H */ +#endif // TIME_TO_LIVE_H diff --git a/src/host/hoststatusanalyzer.h b/src/host/hoststatusanalyzer.h index 06f8d1a..c8a5674 100644 --- a/src/host/hoststatusanalyzer.h +++ b/src/host/hoststatusanalyzer.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef HOSTSTATUSANALYZER_H -#define HOSTSTATUSANALYZER_H +#ifndef HOST_STATUS_ANALYZER_H +#define HOST_STATUS_ANALYZER_H #include @@ -76,4 +76,4 @@ private: }; -#endif /* HOSTSTATUSANALYZER_H */ +#endif // HOST_STATUS_ANALYZER_H diff --git a/src/host/pinger.h b/src/host/pinger.h index 27c9d1d..326aa3b 100644 --- a/src/host/pinger.h +++ b/src/host/pinger.h @@ -43,4 +43,4 @@ public: }; -#endif /* PINGER_H */ +#endif // PINGER_H diff --git a/src/host/pingerfactory.h b/src/host/pingerfactory.h index ff8bb27..08f4cd4 100644 --- a/src/host/pingerfactory.h +++ b/src/host/pingerfactory.h @@ -18,8 +18,8 @@ on this file might be covered by the GNU General Public License. */ -#ifndef PINGERFACTORY_H -#define PINGERFACTORY_H +#ifndef PINGER_FACTORY_H +#define PINGER_FACTORY_H #include @@ -48,4 +48,4 @@ private: }; -#endif /* PINGERFACTORY_H */ +#endif // PINGER_FACTORY_H diff --git a/src/host/pinginterval.h b/src/host/pinginterval.h index a4a7afb..644edc9 100644 --- a/src/host/pinginterval.h +++ b/src/host/pinginterval.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef PINGINTERVAL_H -#define PINGINTERVAL_H +#ifndef PING_INTERVAL_H +#define PING_INTERVAL_H //----------------------------------------------------------------------------- // PingIntervalType @@ -57,4 +57,4 @@ private: }; -#endif /* PINGINTERVAL_H */ +#endif // PING_INTERVAL_H diff --git a/src/host/pingprotocol.h b/src/host/pingprotocol.h index 0167aea..c7bd370 100644 --- a/src/host/pingprotocol.h +++ b/src/host/pingprotocol.h @@ -18,8 +18,8 @@ on this file might be covered by the GNU General Public License. */ -#ifndef PINGPROTOCOL_H -#define PINGPROTOCOL_H +#ifndef PING_PROTOCOL_H +#define PING_PROTOCOL_H #include @@ -33,4 +33,4 @@ enum PingProtocol PingProtocol get_ping_protocol_from_string( const std::string protocol_string ); -#endif /* PINGPROTOCOL_H */ +#endif // PING_PROTOCOL_H diff --git a/src/host/pingscheduler.h b/src/host/pingscheduler.h index feed1d3..135da48 100644 --- a/src/host/pingscheduler.h +++ b/src/host/pingscheduler.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef PINGSCHEDULER_H -#define PINGSCHEDULER_H +#ifndef PING_SCHEDULER_H +#define PING_SCHEDULER_H #include #include @@ -118,4 +118,4 @@ typedef boost::shared_ptr PingSchedulerItem; typedef std::vector< PingSchedulerItem > PingSchedulerList; -#endif /* PINGSCHEDULER_H */ +#endif // PING_SCHEDULER_H diff --git a/src/host/pingstatus.h b/src/host/pingstatus.h index 5623f68..30f412a 100644 --- a/src/host/pingstatus.h +++ b/src/host/pingstatus.h @@ -29,4 +29,4 @@ enum PingStatus PingStatus_FailureDestinationUnreachable }; -#endif /* PING_STATUS_H */ +#endif // PING_STATUS_H diff --git a/src/icmp/icmpdata.h b/src/icmp/icmpdata.h index d6bfd86..cda6140 100644 --- a/src/icmp/icmpdata.h +++ b/src/icmp/icmpdata.h @@ -4,8 +4,8 @@ // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#ifndef ICMPDATA_H -#define ICMPDATA_H +#ifndef ICMP_DATA_H +#define ICMP_DATA_H #include @@ -15,4 +15,4 @@ typedef std::string IcmpData; -#endif /* ICMPDATA_H */ +#endif // ICMP_DATA_H diff --git a/src/icmp/icmppacket.h b/src/icmp/icmppacket.h index 8a2d96a..d847742 100644 --- a/src/icmp/icmppacket.h +++ b/src/icmp/icmppacket.h @@ -4,8 +4,8 @@ // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#ifndef ICMPPACKET_H -#define ICMPPACKET_H +#ifndef ICMP_PACKET_H +#define ICMP_PACKET_H #include @@ -100,4 +100,4 @@ private: IcmpData IcmpPayloadData; }; -#endif /* ICMPPACKET_H */ +#endif // ICMP_PACKET_H diff --git a/src/icmp/icmptype.h b/src/icmp/icmptype.h index 11e27bc..05dc93c 100644 --- a/src/icmp/icmptype.h +++ b/src/icmp/icmptype.h @@ -26,4 +26,4 @@ enum IcmpType IcmpType_Generic = 43 }; -#endif /* ICMP_TYPE_H */ +#endif // ICMP_TYPE_H diff --git a/src/ip/pseudoipv4header.h b/src/ip/pseudoipv4header.h index 52745b1..f2a0923 100644 --- a/src/ip/pseudoipv4header.h +++ b/src/ip/pseudoipv4header.h @@ -53,4 +53,4 @@ public: uint16_t header_length; // TCP or UDP header length }; -#endif /* PSEUDO_IPV4_HEADER_H */ +#endif // PSEUDO_IPV4_HEADER_H diff --git a/src/link/linkstatusanalyzer.h b/src/link/linkstatusanalyzer.h index 603ac5f..ca327ae 100644 --- a/src/link/linkstatusanalyzer.h +++ b/src/link/linkstatusanalyzer.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef LINKSTATUSANALYZER_H -#define LINKSTATUSANALYZER_H +#ifndef LINK_STATUS_ANALYZER_H +#define LINK_STATUS_ANALYZER_H #include #include @@ -110,4 +110,4 @@ private: typedef boost::shared_ptr LinkStatusAnalyzerItem; -#endif /* LINKSTATUSANALYZER_H */ +#endif // LINK_STATUS_ANALYZER_H diff --git a/src/link/statusnotifiercommand.h b/src/link/statusnotifiercommand.h index 86e2455..a84aca2 100644 --- a/src/link/statusnotifiercommand.h +++ b/src/link/statusnotifiercommand.h @@ -17,8 +17,8 @@ in accordance with section (3) of the GNU General Public License. This exception does not invalidate any other reasons why a work based on this file might be covered by the GNU General Public License. */ -#ifndef STATUSNOTIFIERCOMMAND_H -#define STATUSNOTIFIERCOMMAND_H +#ifndef STATUS_NOTIFIER_COMMAND_H +#define STATUS_NOTIFIER_COMMAND_H #include @@ -56,4 +56,4 @@ private: }; -#endif /* STATUSNOTIFIERCOMMAND_H */ +#endif // STATUS_NOTIFIER_COMMAND_H -- 1.7.1