syslog-ng source
logproto-framed-server.c File Reference
#include "logproto-framed-server.h"
#include "logproto.h"
#include "messages.h"
#include <errno.h>
#include <ctype.h>
#include <string.h>
Include dependency graph for logproto-framed-server.c:

Classes

struct  LogProtoFramedServer
 

Enumerations

enum  LogProtoFramedServerState {
  LPFSS_FRAME_READ , LPFSS_FRAME_EXTRACT , LPFSS_MESSAGE_READ , LPFSS_MESSAGE_EXTRACT ,
  LPFSS_TRIM_MESSAGE , LPFSS_TRIM_MESSAGE_READ , LPFSS_CONSUME_TRIMMED
}
 
enum  LogProtoFramedServerStateControl { LPFSSCTRL_RETURN_WITH_STATUS , LPFSSCTRL_NEXT_STATE }
 

Functions

LogProtoServer * log_proto_framed_server_new (LogTransport *transport, const LogProtoServerOptionsStorage *options)
 

Enumeration Type Documentation

◆ LogProtoFramedServerState

Enumerator
LPFSS_FRAME_READ 
LPFSS_FRAME_EXTRACT 
LPFSS_MESSAGE_READ 
LPFSS_MESSAGE_EXTRACT 
LPFSS_TRIM_MESSAGE 
LPFSS_TRIM_MESSAGE_READ 
LPFSS_CONSUME_TRIMMED 

◆ LogProtoFramedServerStateControl

Enumerator
LPFSSCTRL_RETURN_WITH_STATUS 
LPFSSCTRL_NEXT_STATE 

Function Documentation

◆ log_proto_framed_server_new()

LogProtoServer* log_proto_framed_server_new ( LogTransport *  transport,
const LogProtoServerOptionsStorage *  options 
)