Changeset a1d98e4


Ignore:
Timestamp:
Apr 24, 2010, 2:22:30 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
c18d069
Parents:
63de71c
git-author:
Nelson Elhage <nelhage@mit.edu> (04/24/10 14:17:48)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/24/10 14:22:30)
Message:
Support filtering on whether a message has been deleted.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • filterelement.c

    r75c7e8e ra1d98e4  
    2222  } else if (!strcasecmp(field, "hostname")) {
    2323    match=owl_message_get_hostname(m);
     24  } else if (!strcasecmp(field, "deleted")) {
     25    match=owl_message_is_delete(m) ? "true" : "false";
    2426  } else if (!strcasecmp(field, "direction")) {
    2527    if (owl_message_is_direction_out(m)) {
  • perl/lib/BarnOwl/Complete/Filter.pm

    r5fdc562 ra1d98e4  
    4040    filter    => \&complete_filter_name,
    4141    perl      => undef,
     42    deleted   => sub { qw(true false); },
    4243);
    4344
Note: See TracChangeset for help on using the changeset viewer.