summaryrefslogtreecommitdiff
path: root/src/perl/ui/Formats.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-11 22:17:16 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-11 22:17:16 +0000
commitbd4f506b632dff6b2bbac6e62b008da75e0eb714 (patch)
treea0fdc3a0940a4125d4a37158f7c41714e2c74f68 /src/perl/ui/Formats.xs
parent8e1233e39539ec7f382f2b85ce198e664adf03e3 (diff)
downloadirssi-bd4f506b632dff6b2bbac6e62b008da75e0eb714.zip
added format_get_length(), format_real_length() and strip_codes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2774 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/ui/Formats.xs')
-rw-r--r--src/perl/ui/Formats.xs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/perl/ui/Formats.xs b/src/perl/ui/Formats.xs
index f9cc0200..5c95e56c 100644
--- a/src/perl/ui/Formats.xs
+++ b/src/perl/ui/Formats.xs
@@ -3,6 +3,19 @@
MODULE = Irssi::UI::Formats PACKAGE = Irssi::UI::Window
PROTOTYPES: ENABLE
+int
+format_get_length(str)
+ char *str
+
+int
+format_real_length(str, len)
+ char *str
+ int len
+
+char *
+strip_codes(input)
+ char *input
+
void
format_get_text(window, module, server, target, formatnum, ...)
Irssi::UI::Window window