~ubuntu-branches/ubuntu/lucid/rsyslog/lucid

1 by Michael Biebl
Import upstream version 1.19.10
1
/* This is the header for the output channel code of rsyslog.
2
 * Please see syslogd.c for license information.
3
 * begun 2005-06-21 rgerhards
1.1.2 by Michael Biebl
Import upstream version 3.14.2
4
 *
5
 * Copyright(C) 2005 Rainer Gerhards and Adiscon GmbH
6
 *
7
 * This file is part of rsyslog.
8
 *
9
 * Rsyslog is free software: you can redistribute it and/or modify
10
 * it under the terms of the GNU General Public License as published by
11
 * the Free Software Foundation, either version 3 of the License, or
12
 * (at your option) any later version.
13
 *
14
 * Rsyslog is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with Rsyslog.  If not, see <http://www.gnu.org/licenses/>.
21
 *
22
 * A copy of the GPL can be found in the file "COPYING" in this distribution.
1 by Michael Biebl
Import upstream version 1.19.10
23
 */
24
struct outchannel {
25
	struct outchannel *pNext;
26
	char *pszName;
27
	int iLenName;
28
	uchar *pszFileTemplate;
29
	off_t	uSizeLimit;
30
	uchar *cmdOnSizeLimit;
31
};
32
33
struct outchannel* ochConstruct(void);
34
struct outchannel *ochAddLine(char* pName, unsigned char** pRestOfConfLine);
35
struct outchannel *ochFind(char *pName, int iLenName);
36
void ochDeleteAll(void);
37
void ochPrintList(void);
38
39
/*
40
 * vi:set ai:
41
 */