File: acklog.h

package info (click to toggle)
xymon 4.3.30-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,288 kB
  • sloc: ansic: 69,112; sh: 3,595; makefile: 857; javascript: 452; perl: 48
file content (31 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*----------------------------------------------------------------------------*/
/* Xymon monitor library.                                                     */
/*                                                                            */
/* Copyright (C) 2002-2011 Henrik Storner <henrik@storner.dk>                 */
/*                                                                            */
/* This program is released under the GNU General Public License (GPL),       */
/* version 2. See the file "COPYING" for details.                             */
/*                                                                            */
/*----------------------------------------------------------------------------*/

#ifndef _ACKLOG_H_
#define _ACKLOG_H_

/* Format of records in $XYMONACKDIR/acklog file (TAB separated) */
typedef struct ack_t {
	time_t	acktime;
	int	acknum;
	int	duration;	/* Minutes */
	int	acknum2;
	char	*ackedby;
	char	*hostname;
	char	*testname;
	int	color;
	char	*ackmsg;
	int	ackvalid;
} ack_t;

extern int havedoneacklog;
extern void do_acklog(FILE *output, int maxcount, int maxminutes);

#endif