1 // Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") 2 // 3 // This Source Code Form is subject to the terms of the Mozilla Public 4 // License, v. 2.0. If a copy of the MPL was not distributed with this 5 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 #ifndef MESSAGE_TYPES_H 8 #define MESSAGE_TYPES_H 9 10 #include <string.h> 11 12 namespace isc { 13 namespace log { 14 15 typedef const char* MessageID; 16 17 /// \brief Compare MessageID for Equality 18 /// 19 /// \param m1 First message ID 20 /// \param m2 Second message ID 21 /// \return true if they are equal, false if not 22 bool equalMessageID(const MessageID& m1, const MessageID& m2); 23 24 } // namespace log 25 } // namespace isc 26 27 28 29 #endif // MESSAGE_TYPES_H 30