Moved /LASTLOG handling to lastlog.c. Added options -file <filename>

for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-19 06:23:04 +00:00 committed by cras
commit 6b4a838813
8 changed files with 384 additions and 250 deletions

View file

@ -97,7 +97,8 @@ void gui_windows_deinit(void);
WINDOW_REC *gui_window_create(MAIN_WINDOW_REC *parent);
void gui_window_set_server(WINDOW_REC *window, SERVER_REC *server);
GList *gui_window_find_text(WINDOW_REC *window, char *text, GList *startline, int regexp, int fullword);
GList *gui_window_find_text(WINDOW_REC *window, const char *text,
GList *startline, int regexp, int fullword);
/* get number of real lines that line record takes */
int gui_window_get_linecount(GUI_WINDOW_REC *gui, LINE_REC *line);