Changeset 49d467c


Ignore:
Timestamp:
Oct 20, 2003, 1:45:23 AM (17 years ago)
Author:
James M. Kretchmar <kretch@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:
269ed34
Parents:
4664c96
Message:
Allow filtering on hostname.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4664c96 r49d467c  
    11$Id$
    22
     32.0.10-pre-1
     4        Allow 'hostname' in filters.
     5       
    362.0.9
    47        Added the 'fancylines' variable.
  • commands.c

    rf17bff98 r49d467c  
    482482              "    realm      -  zephyr realm\n"
    483483              "    body       -  message body\n"
     484              "    hostname   -  hostname of sending host\n"
    484485              "    type       -  message type (zephyr, aim, admin)\n"
    485486              "    direction  -  either 'in' 'out' or 'none'\n"
  • filter.c

    r09489b89 r49d467c  
    6868          !strcasecmp(argv[i], "type") ||
    6969          !strcasecmp(argv[i], "direction") ||
     70          !strcasecmp(argv[i], "hostname") ||
    7071          !strcasecmp(argv[i], "login")) {
    7172        regexstr=owl_util_substitute(argv[i+1], "%me%", owl_zephyr_get_sender());
     
    162163    } else if (!strcasecmp(field, "type")) {
    163164      match=owl_message_type_to_string(m);
     165    } else if (!strcasecmp(field, "hostname")) {
     166      match=owl_message_get_hostname(m);
    164167    } else if (!strcasecmp(field, "direction")) {
    165168      if (owl_message_is_direction_out(m)) {
  • owl.h

    r4664c96 r49d467c  
    1919static const char owl_h_fileIdent[] = "$Id$";
    2020
    21 #define OWL_VERSION         2.0.9
    22 #define OWL_VERSION_STRING "2.0.9"
     21#define OWL_VERSION         2.0.10-pre-1
     22#define OWL_VERSION_STRING "2.0.10-pre-1"
    2323
    2424/* Feature that is being tested to redirect stderr through a pipe.
Note: See TracChangeset for help on using the changeset viewer.