Turi Create  4.0
status_types.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef CPPIPC_COMMON_STATUS_TYPES_HPP
7 #define CPPIPC_COMMON_STATUS_TYPES_HPP
8 namespace cppipc {
9 
10 /// Server emits this as the status_type string for informational messages
11 #define STATUS_COMM_SERVER_INFO "COMM_SERVER_INFO"
12 /// Server emits this as the status_type string for error messages
13 #define STATUS_COMM_SERVER_ERROR "COMM_SERVER_ERROR"
14 
15 /// Client watches on this prefix to get informational messages
16 #define WATCH_COMM_SERVER_INFO "COMM_SERVER_INFO:"
17 /// Client watches on this prefix to get error messages
18 #define WATCH_COMM_SERVER_ERROR "COMM_SERVER_ERROR:"
19 
20 } // namespace cppipc
21 #endif