1 /* -*- Mode: C++-C -*- 2 * 3 * 4 * Copyright 1994 Christopher B. Liebman 5 * 6 * Permission to use, copy, modify, distribute, and sell this software 7 * and its documentation for any purpose is hereby granted without fee, 8 * provided that the above copyright notice appear in all copies and that 9 * both that copyright notice and this permission notice appear in 10 * supporting documentation, and that the name Christopher B. Liebman not 11 * be used in advertising or publicity pertaining to distribution of this 12 * software without specific, written prior permission. 13 * 14 * THIS SOFTWARE IS PROVIDED `AS-IS'. CHRISTOPHER B. LIEBMAN, DISCLAIMS 15 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT 16 * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 17 * PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT SHALL CHRISTOPHER 18 * B. LIEBMAN, BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING SPECIAL, 19 * INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA, OR 20 * PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF 21 * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF 22 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23 * 24 * 25 * 26 * Author : Chris Liebman 27 * Created On : Sat Jan 29 15:03:34 1994 28 * Last Modified By: Chris Liebman 29 * Last Modified On: Mon Jan 31 22:52:06 1994 30 * Update Count : 15 31 * Status : Released 32 * 33 * HISTORY 34 * 35 * PURPOSE 36 * Search structs. 37 * 38 * $Id: face_search.h,v 1.1 1994/02/01 03:52:16 liebman Exp $ 39 */ 40 41 #ifndef FACE_SEARCH_H 42 #define FACE_SEARCH_H 43 44 struct face_search_type 45 { 46 char* name; 47 int (*search) P_((MailItem* item, FaceSearchData* data)); 48 void *data; 49 FaceSearchType* next; 50 }; 51 52 struct face_search_data 53 { 54 FaceFormat format; 55 FaceSearchType* search; 56 FaceImageType** itypes; 57 FaceSoundType** stypes; 58 char** paths; 59 FaceSearchData* next; 60 }; 61 62 #endif /* FACE_SEARCH_H */ 63