mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
76c6e9ab83
separately now). Added statusbar code to available to perl, it's now possible to create new statusbar items with perl scripts. statusbar_items_redraw(char *name) can now be used to easily redraw all named statusbar items in screen. Probably several other changes I've already forgotten :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
59 lines
906 B
Plaintext
59 lines
906 B
Plaintext
#include "module.h"
|
|
|
|
MODULE = Irssi::Rawlog PACKAGE = Irssi
|
|
PROTOTYPES: ENABLE
|
|
|
|
void
|
|
rawlog_set_size(lines)
|
|
int lines
|
|
|
|
Irssi::Rawlog
|
|
rawlog_create()
|
|
|
|
#*******************************
|
|
MODULE = Irssi::Rawlog PACKAGE = Irssi::Rawlog PREFIX = rawlog_
|
|
#*******************************
|
|
|
|
void
|
|
rawlog_get_lines(rawlog)
|
|
Irssi::Rawlog rawlog
|
|
PREINIT:
|
|
GSList *tmp;
|
|
PPCODE:
|
|
for (tmp = rawlog->lines; tmp != NULL; tmp = tmp->next) {
|
|
XPUSHs(sv_2mortal(new_pv(tmp->data)));
|
|
}
|
|
|
|
void
|
|
rawlog_destroy(rawlog)
|
|
Irssi::Rawlog rawlog
|
|
|
|
void
|
|
rawlog_input(rawlog, str)
|
|
Irssi::Rawlog rawlog
|
|
char *str
|
|
|
|
void
|
|
rawlog_output(rawlog, str)
|
|
Irssi::Rawlog rawlog
|
|
char *str
|
|
|
|
void
|
|
rawlog_redirect(rawlog, str)
|
|
Irssi::Rawlog rawlog
|
|
char *str
|
|
|
|
void
|
|
rawlog_open(rawlog, fname)
|
|
Irssi::Rawlog rawlog
|
|
char *fname
|
|
|
|
void
|
|
rawlog_close(rawlog)
|
|
Irssi::Rawlog rawlog
|
|
|
|
void
|
|
rawlog_save(rawlog, fname)
|
|
Irssi::Rawlog rawlog
|
|
char *fname
|