Home | History | Annotate | Line # | Download | only in global
      1 /*	$NetBSD: string_list.h,v 1.2 2017/02/14 01:16:45 christos Exp $	*/
      2 
      3 #ifndef _STRING_LIST_H_INCLUDED_
      4 #define _STRING_LIST_H_INCLUDED_
      5 
      6 /*++
      7 /* NAME
      8 /*	string_list 3h
      9 /* SUMMARY
     10 /*	match a string against a pattern list
     11 /* SYNOPSIS
     12 /*	#include <string_list.h>
     13 /* DESCRIPTION
     14 /* .nf
     15 
     16  /*
     17   * Utility library.
     18   */
     19 #include <match_list.h>
     20 
     21  /*
     22   * External interface.
     23   */
     24 #define STRING_LIST	MATCH_LIST
     25 
     26 #define string_list_init(o, f, p) \
     27 				match_list_init((o), (f), (p), 1, match_string)
     28 #define string_list_match	match_list_match
     29 #define string_list_free	match_list_free
     30 
     31 /* LICENSE
     32 /* .ad
     33 /* .fi
     34 /*	The Secure Mailer license must be distributed with this software.
     35 /* AUTHOR(S)
     36 /*	Wietse Venema
     37 /*	IBM T.J. Watson Research
     38 /*	P.O. Box 704
     39 /*	Yorktown Heights, NY 10598, USA
     40 /*--*/
     41 
     42 #endif
     43