Changed include guards style to the project's standard
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sat, 10 Sep 2011 18:30:52 +0000 (15:30 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sat, 10 Sep 2011 18:30:52 +0000 (15:30 -0300)
21 files changed:
src/config/configurationcommandline.h
src/config/configurationfile.h
src/config/configurationinterface.h
src/config/configurationreader.h
src/config/host.h
src/dns/dnsresolver.h
src/dns/hostaddress.h
src/dns/timetolive.h
src/host/hoststatusanalyzer.h
src/host/pinger.h
src/host/pingerfactory.h
src/host/pinginterval.h
src/host/pingprotocol.h
src/host/pingscheduler.h
src/host/pingstatus.h
src/icmp/icmpdata.h
src/icmp/icmppacket.h
src/icmp/icmptype.h
src/ip/pseudoipv4header.h
src/link/linkstatusanalyzer.h
src/link/statusnotifiercommand.h

index e40804e..4e911db 100644 (file)
@@ -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 <boost/program_options.hpp>
 
@@ -54,4 +54,4 @@ private:
 
 };
 
-#endif // CONFIGURATIONCOMMANDLINE_H
+#endif // CONFIGURATION_COMMAND_LINE_H
index 2190a27..5e3e4b7 100644 (file)
@@ -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 <string>
 
@@ -52,4 +52,4 @@ private:
 
 };
 
-#endif // CONFIGURATIONFILE_H
+#endif // CONFIGURATION_FILE_H
index e097761..56eef94 100644 (file)
@@ -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 <boost/program_options.hpp>
 
@@ -47,4 +47,4 @@ public:
 
 };
 
-#endif // CONFIGURATIONINTERFACE_H
+#endif // CONFIGURATION_INTERFACE_H
index 74152ea..c3e6296 100644 (file)
@@ -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 <boost/program_options.hpp>
 
@@ -48,4 +48,4 @@ private:
 
 };
 
-#endif // CONFIGURATIONREADER_H
+#endif // CONFIGURATION_READER_H
index 4b1eb52..7f59aff 100644 (file)
@@ -78,4 +78,4 @@ typedef boost::shared_ptr<Host> HostItem;
 
 typedef std::vector< HostItem > HostList;
 
-#endif /* HOST_H */
+#endif // HOST_H
index 7ae8955..5b7c494 100644 (file)
@@ -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 <string>
 #include <list>
@@ -67,4 +67,4 @@ private:
 
 };
 
-#endif /* DNSRESOLVER_H */
+#endif // DNS_RESOLVER_H
index e4eddd2..f5ad6e2 100644 (file)
@@ -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 <string>
 
@@ -52,4 +52,4 @@ private:
 
 };
 
-#endif /* HOSTADDRESS_H_ */
+#endif // HOST_ADDRESS_H
index 225723b..74335c9 100644 (file)
@@ -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 <boost/asio.hpp>
 
@@ -45,4 +45,4 @@ private:
     boost::posix_time::ptime TtlSetTime;
 };
 
-#endif /* TIMETOLIVE_H */
+#endif // TIME_TO_LIVE_H
index 06f8d1a..c8a5674 100644 (file)
@@ -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 <string>
 
@@ -76,4 +76,4 @@ private:
 
 };
 
-#endif /* HOSTSTATUSANALYZER_H */
+#endif // HOST_STATUS_ANALYZER_H
index 27c9d1d..326aa3b 100644 (file)
@@ -43,4 +43,4 @@ public:
 
 };
 
-#endif /* PINGER_H */
+#endif // PINGER_H
index ff8bb27..08f4cd4 100644 (file)
@@ -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 <string>
 
@@ -48,4 +48,4 @@ private:
 
 };
 
-#endif /* PINGERFACTORY_H */
+#endif // PINGER_FACTORY_H
index a4a7afb..644edc9 100644 (file)
@@ -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
index 0167aea..c7bd370 100644 (file)
@@ -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 <string>
 
@@ -33,4 +33,4 @@ enum PingProtocol
 
 PingProtocol get_ping_protocol_from_string( const std::string protocol_string );
 
-#endif /* PINGPROTOCOL_H */
+#endif // PING_PROTOCOL_H
index feed1d3..135da48 100644 (file)
@@ -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 <string>
 #include <vector>
@@ -118,4 +118,4 @@ typedef boost::shared_ptr<PingScheduler> PingSchedulerItem;
 
 typedef std::vector< PingSchedulerItem > PingSchedulerList;
 
-#endif /* PINGSCHEDULER_H */
+#endif // PING_SCHEDULER_H
index 5623f68..30f412a 100644 (file)
@@ -29,4 +29,4 @@ enum PingStatus
     PingStatus_FailureDestinationUnreachable
 };
 
-#endif /* PING_STATUS_H */
+#endif // PING_STATUS_H
index d6bfd86..cda6140 100644 (file)
@@ -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 <string>
 
@@ -15,4 +15,4 @@
 
 typedef std::string IcmpData;
 
-#endif /* ICMPDATA_H */
+#endif // ICMP_DATA_H
index 8a2d96a..d847742 100644 (file)
@@ -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 <stdint.h>
 
@@ -100,4 +100,4 @@ private:
     IcmpData IcmpPayloadData;
 };
 
-#endif /* ICMPPACKET_H */
+#endif // ICMP_PACKET_H
index 11e27bc..05dc93c 100644 (file)
@@ -26,4 +26,4 @@ enum IcmpType
     IcmpType_Generic = 43
 };
 
-#endif /* ICMP_TYPE_H */
+#endif // ICMP_TYPE_H
index 52745b1..f2a0923 100644 (file)
@@ -53,4 +53,4 @@ public:
     uint16_t header_length; // TCP or UDP header length
 };
 
-#endif /* PSEUDO_IPV4_HEADER_H */
+#endif // PSEUDO_IPV4_HEADER_H
index 603ac5f..ca327ae 100644 (file)
@@ -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 <set>
 #include <string>
@@ -110,4 +110,4 @@ private:
 
 typedef boost::shared_ptr<LinkStatusAnalyzer> LinkStatusAnalyzerItem;
 
-#endif /* LINKSTATUSANALYZER_H */
+#endif // LINK_STATUS_ANALYZER_H
index 86e2455..a84aca2 100644 (file)
@@ -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 <string>
 
@@ -56,4 +56,4 @@ private:
 
 };
 
-#endif /* STATUSNOTIFIERCOMMAND_H */
+#endif // STATUS_NOTIFIER_COMMAND_H