SolidSyslog coverage report
Current view: top level - Platform/VxWorks64/Source - SolidSyslogVxWorks64MutexPrivate.h (source / functions) Coverage Total Hit
Test: SolidSyslog Lines: 100.0 % 3 3
Test Date: 2026-11-12 23:14:35 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /* SPDX-FileCopyrightText: Copyright 2026 Cozens Software Solutions Limited
       2              :  * SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 OR LicenseRef-PolyForm-Internal-Use-1.0.0 OR LicenseRef-COSOSO-Commercial
       3              :  */
       4              : 
       5              : #ifndef SOLIDSYSLOGVXWORKS64MUTEXPRIVATE_H
       6              : #define SOLIDSYSLOGVXWORKS64MUTEXPRIVATE_H
       7              : 
       8              : #include <stdbool.h>
       9              : #include <stdint.h>
      10              : 
      11              : #include "vxWorks.h"
      12              : 
      13              : #include "semLib.h"
      14              : 
      15              : #include "SolidSyslogError.h"
      16              : #include "SolidSyslogMutexDefinition.h"
      17              : #include "SolidSyslogPrival.h"
      18              : #include "SolidSyslogVxWorks64MutexErrors.h"
      19              : 
      20              : struct SolidSyslogVxWorks64Mutex
      21              : {
      22              :     struct SolidSyslogMutex Base;
      23              :     SEM_ID Id;
      24              : };
      25              : 
      26              : bool SolidSyslogVxWorks64Mutex_Initialise(struct SolidSyslogMutex* base);
      27              : void SolidSyslogVxWorks64Mutex_Cleanup(struct SolidSyslogMutex* base);
      28              : 
      29           21 : static inline void VxWorks64Mutex_Report(
      30              :     enum SolidSyslogSeverity severity,
      31              :     uint16_t category,
      32              :     enum SolidSyslogMutexErrors code
      33              : )
      34              : {
      35           21 :     SolidSyslog_Error(severity, &SolidSyslogVxWorks64MutexErrorSource, category, (int32_t) code);
      36           21 : }
      37              : 
      38              : #endif /* SOLIDSYSLOGVXWORKS64MUTEXPRIVATE_H */
        

Generated by: LCOV version 2.0-1