From 2c5b4f3c3d79190367595ccf84ae90f50666ddbf Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 7 Jan 2008 10:41:22 +0000 Subject: implemented buffered read calls for the queue file --- rsyslog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rsyslog.h') diff --git a/rsyslog.h b/rsyslog.h index 4404a30b..85676753 100644 --- a/rsyslog.h +++ b/rsyslog.h @@ -94,6 +94,8 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_TCP_SOCKCREATE_ERR = -2025, /**< error during creation of TCP socket */ RS_RET_GSS_SENDINIT_ERROR = -2024, /**< error during GSS (via TCP) send initialization process */ RS_RET_QUEUE_FULL = -2025, /**< queue is full, operation could not be completed */ + RS_RET_EOF = -2026, /**< end of file reached, not necessarily an error */ + RS_RET_IO_ERROR = -2027, /**< some kind of IO error happened */ RS_RET_OK_DELETE_LISTENTRY = 1, /**< operation successful, but callee requested the deletion of an entry (special state) */ RS_RET_TERMINATE_NOW = 2, /**< operation successful, function is requested to terminate (mostly used with threads) */ RS_RET_NO_RUN = 3, /**< operation successful, but function does not like to be executed */ -- cgit