Skip to content

File SolidSyslogEndpoint.h

FileList > Core > Interface > SolidSyslogEndpoint.h

Go to the source code of this file

The destination a sender is directed at (host sink + port) and the callbacks a sender uses to pull it and to detect when it changes.

  • #include <stdint.h>
  • #include "ExternC.h"

Classes

Type Name
struct SolidSyslogEndpoint
The destination a sender is directed at.

Public Types

Type Name
enum @2
typedef void(* SolidSyslogEndpointFunction
Called by the sender to pull the current destination into endpoint .
typedef uint32_t(* SolidSyslogEndpointVersionFunction
Returns a monotonic version the user bumps on any change to host or port.

Public Types Documentation

enum @2

enum @2 {
    SOLIDSYSLOG_MAX_HOST_SIZE = 256
};

typedef SolidSyslogEndpointFunction

Called by the sender to pull the current destination into endpoint .

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


typedef SolidSyslogEndpointVersionFunction

Returns a monotonic version the user bumps on any change to host or port.

typedef uint32_t(* SolidSyslogEndpointVersionFunction) (void);

The sender polls this every Send and re-pulls the endpoint only when the version differs from the last it acted on, so it must be cheap and pure.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogEndpoint.h