SolidSyslog coverage report
Current view: top level - Core/Source - SolidSyslogEndpointHost.c (source / functions) Coverage Total Hit
Test: SolidSyslog Lines: 100.0 % 6 6
Test Date: 2026-11-12 23:14:35 Functions: 100.0 % 2 2

            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              : #include "SolidSyslogEndpointHostPrivate.h"
       6              : 
       7              : #include "SolidSyslogFormatter.h"
       8              : 
       9         1759 : void SolidSyslogEndpointHost_FromFormatter(struct SolidSyslogEndpointHost* host, struct SolidSyslogFormatter* formatter)
      10              : {
      11         1759 :     host->Formatter = formatter;
      12         1759 : }
      13              : 
      14         1759 : void SolidSyslogEndpointHost_String(struct SolidSyslogEndpointHost* host, const char* source, size_t maxLength)
      15              : {
      16         1759 :     SolidSyslogFormatter_BoundedString(host->Formatter, source, maxLength);
      17         1759 : }
        

Generated by: LCOV version 2.0-1