File: lastlog.h

package info (click to toggle)
epic5 3.0.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: ansic: 75,810; makefile: 648; ruby: 227; python: 215; sh: 78; perl: 13
file content (48 lines) | stat: -rw-r--r-- 1,442 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * lastlog.h: header for lastlog.c 
 *
 * Copyright 1990 Michael Sandrof
 * Copyright 1997 EPIC Software Labs
 * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
 */

#ifndef __lastlog_h__
#define __lastlog_h__

#include "levels.h"

extern	Mask	current_window_mask;
extern	Mask *	new_server_lastlog_mask;
extern	Mask *	old_server_lastlog_mask;
extern	double	output_expires_after;

	BUILT_IN_COMMAND(lastlog);

	Mask	real_lastlog_mask 		(void);
	Mask	real_notify_mask 		(void);
	void	set_lastlog_mask 		(void *);
	void	set_lastlog_size 		(void *);
	void	set_notify_mask 		(void *);
	int	recount_window_lastlog		(int);
	void	trim_lastlog			(int);
	void	dont_need_lastlog_item		(int, intmax_t);
	void	set_current_window_mask 	(void *);
	intmax_t add_to_lastlog 		(int, const char *);
	char *	function_line			(char *);
	char *	function_lastlog		(char *);
	void	set_new_server_lastlog_mask	(void *);
	void	set_old_server_lastlog_mask	(void *);
	void	reconstitute_scrollback		(int);
	int	do_expire_lastlog_entries	(void *);
	void	truncate_lastlog		(int);

	void	move_all_lastlog		(int, int);
	void	move_lastlog_item_by_string	(int, int, Char *);
	void	move_lastlog_item_by_target	(int, int, Char *);
	void	move_lastlog_item_by_level	(int, int, Mask *);
	void	move_lastlog_item_by_regex	(int, int, Char *);

	void    clear_level_from_lastlog 	(int, Mask *);
	void    clear_regex_from_lastlog 	(int, const char *);

#endif /* __lastlog_h_ */