Changeset 272 for trunk/include


Ignore:
Timestamp:
Jan 27, 2010, 10:52:20 PM (15 years ago)
Author:
katerina
Message:

Fixes tickets #190, #191, #192, #193, and #194.

Location:
trunk/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_error_min.h

    r265 r272  
    2525                      long errnum, unsigned long  msg_index, ...);
    2626
     27/* this function should be called to (only) send mail
     28 */
     29void sh_error_mail (const char * alias, int sev,
     30                    const char * file, long line,
     31                    long status, unsigned long msg_id, ...);
     32
    2733/* convert a string to a numeric priority
    2834 */
  • trunk/include/sh_fifo.h

    r214 r272  
    6868sh_string * tag_list (SH_FIFO * fifo, char * tag,
    6969                      int(*check)(int, const char*, const char*, const void*),
    70                       const void * info);
     70                      const void * info, int okNull);
    7171void rollback_list (SH_FIFO * fifo);
    7272void mark_list (SH_FIFO * fifo);
  • trunk/include/sh_log_evalrule.h

    r265 r272  
    4949  enum policies     policy;
    5050  int               severity;
     51  sh_string       * alias;
    5152  time_t            interval;        /* if EVAL_SUM, interval   */
    5253  struct sh_qeval * next;
     
    5657
    5758int sh_log_lookup_severity(const char * str);
     59sh_string * sh_log_lookup_alias(const char * str);
    5860
    5961#endif
  • trunk/include/sh_mail_int.h

    r232 r272  
    2525  dnsrep           * mx_list;
    2626  int                severity;
    27   int                send_mail;
     27  short              send_mail;
     28  short              isAlias;
    2829  sh_filter_type   * mail_filter;
    2930  struct alias     * next;
  • trunk/include/slib.h

    r252 r272  
    220220
    221221  /*
    222    * robust strncmp replacement
     222   * robust strn[case]cmp replacement
    223223   */
    224224  int sl_strncmp(const char * a, const char * b, size_t n);
     225
     226  int sl_strncasecmp(const char * a, const char * b, size_t n);
    225227
    226228  /*
Note: See TracChangeset for help on using the changeset viewer.