Changeset 32eed98 for commands.c


Ignore:
Timestamp:
Dec 26, 2003, 2:49:54 PM (17 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5f82eb3
Parents:
4357be8
Message:
2.1.3-pre-2
	Added perl filter elements.  Similar to having "filter <subfilter>"
	  in a filter, you may also have "perl <functionname>"
	  where <functionname> is passed an owl::Message object and
	  returns 0 or 1 depending on whether the message matches
	  that element of the filter.
	  [Note: currently this overloads the filtername element
	  of the filterelement structure to store the function name.
	  Perhaps we should change the name of this element to something
	  more general to avoid confusion?]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r3895e23 r32eed98  
    526526              "Also you may match on the validity of another filter:\n"
    527527              "    filter <filtername>\n"
     528              "Also you may pass the message to a perl function returning 0 or 1,\n"
     529              "where 1 indicates that the function matches the filter:\n"
     530              "    perl <subname>\n"
    528531              "Valid operators are:\n"
    529532              "    and\n"
Note: See TracChangeset for help on using the changeset viewer.