Ignore:
Timestamp:
May 27, 2013, 2:09:44 PM (8 years ago)
Author:
Jason Gross <jgross@mit.edu>
Branches:
master
Children:
0adbce1
Parents:
b58dea1
git-author:
Jason Gross <jgross@mit.edu> (02/16/13 14:03:27)
git-committer:
Jason Gross <jgross@mit.edu> (05/27/13 14:09:44)
Message:
Expose message_matches_filter to perl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl.pm

    r104a4eb r1ced34f  
    1414                    error debug
    1515                    create_style getnumcolors wordwrap
     16                    message_matches_filter
    1617                    add_dispatch remove_dispatch
    1718                    add_io_dispatch remove_io_dispatch
     
    239240
    240241Returns the number of colors this BarnOwl is capable of displaying
     242
     243=head2 message_matches_filter MESSAGE FILTER_NAME [QUIET = 0]
     244
     245Returns 1 if C<FILTER_NAME> is the name of a valid filter, and
     246C<MESSAGE> matches that filter.  Returns 0 otherwise.  If
     247C<QUIET> is false, this method displays an error message if
     248if C<FILTER_NAME> does not name a valid filter.
    241249
    242250=head2 add_dispatch FD CALLBACK
Note: See TracChangeset for help on using the changeset viewer.