Skip to content

File SolidSyslogEndpoint.h

File List > Core > Interface > SolidSyslogEndpoint.h

Go to the documentation of this file

#ifndef SOLIDSYSLOGENDPOINT_H
#define SOLIDSYSLOGENDPOINT_H

#include <stdint.h>

#include "ExternC.h"

EXTERN_C_BEGIN

    enum
    {
        SOLIDSYSLOG_MAX_HOST_SIZE = 256 
    };

    struct SolidSyslogEndpointHost;

    struct SolidSyslogEndpoint
    {
        struct SolidSyslogEndpointHost* Host;
        uint16_t Port;
    };

    typedef void (*SolidSyslogEndpointFunction)(struct SolidSyslogEndpoint* endpoint);

    typedef uint32_t (*SolidSyslogEndpointVersionFunction)(void);

EXTERN_C_END

#endif /* SOLIDSYSLOGENDPOINT_H */