1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2020, Open Mobile Platform LLC 4 */ 5 6 #ifndef PLUGIN_TA_H 7 #define PLUGIN_TA_H 8 9 /* 10 * This UUID is generated with uuidgen 11 * the ITU-T UUID generator at http://www.itu.int/ITU-T/asn1/uuid.html 12 */ 13 #define PLUGIN_TA_UUID \ 14 { 0x2a287631, 0xde1b, 0x4fdd, \ 15 { 0xa5, 0x5c, 0xb9, 0x31, 0x2e, 0x40, 0x76, 0x9a } } 16 17 /* trigger to use a plugin */ 18 #define PLUGIN_TA_PING 0 19 20 /* 21 * Interface with syslog tee-supplicant plugin 22 */ 23 #define SYSLOG_PLUGIN_UUID { 0x96bcf744, 0x4f72, 0x4866, \ 24 { 0xbf, 0x1d, 0x86, 0x34, 0xfd, 0x9c, 0x65, 0xe5 } } 25 #define TO_SYSLOG_CMD 0 26 27 /* according to syslog.h */ 28 #define LOG_EMERG 0 /* system is unusable */ 29 #define LOG_ALERT 1 /* action must be taken immediately */ 30 #define LOG_CRIT 2 /* critical conditions */ 31 #define LOG_ERR 3 /* error conditions */ 32 #define LOG_WARNING 4 /* warning conditions */ 33 #define LOG_NOTICE 5 /* normal but significant condition */ 34 #define LOG_INFO 6 /* informational */ 35 #define LOG_DEBUG 7 /* debug-level messages */ 36 37 #endif /*PLUGIN_TA_H*/ 38