1*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 2*0Sstevel@tonic-gate 3*0Sstevel@tonic-gate /**************************************************************************** 4*0Sstevel@tonic-gate Copyright (c) 1999,2000 WU-FTPD Development Group. 5*0Sstevel@tonic-gate All rights reserved. 6*0Sstevel@tonic-gate 7*0Sstevel@tonic-gate Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 8*0Sstevel@tonic-gate The Regents of the University of California. 9*0Sstevel@tonic-gate Portions Copyright (c) 1993, 1994 Washington University in Saint Louis. 10*0Sstevel@tonic-gate Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc. 11*0Sstevel@tonic-gate Portions Copyright (c) 1989 Massachusetts Institute of Technology. 12*0Sstevel@tonic-gate Portions Copyright (c) 1998 Sendmail, Inc. 13*0Sstevel@tonic-gate Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman. 14*0Sstevel@tonic-gate Portions Copyright (c) 1997 by Stan Barber. 15*0Sstevel@tonic-gate Portions Copyright (c) 1997 by Kent Landfield. 16*0Sstevel@tonic-gate Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997 17*0Sstevel@tonic-gate Free Software Foundation, Inc. 18*0Sstevel@tonic-gate 19*0Sstevel@tonic-gate Use and distribution of this software and its source code are governed 20*0Sstevel@tonic-gate by the terms and conditions of the WU-FTPD Software License ("LICENSE"). 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gate If you did not receive a copy of the license, it may be obtained online 23*0Sstevel@tonic-gate at http://www.wu-ftpd.org/license.html. 24*0Sstevel@tonic-gate 25*0Sstevel@tonic-gate $Id: conversions.h,v 1.5 2000/07/01 18:17:38 wuftpd Exp $ 26*0Sstevel@tonic-gate 27*0Sstevel@tonic-gate ****************************************************************************/ 28*0Sstevel@tonic-gate 29*0Sstevel@tonic-gate #define T_REG 1 /* regular files OK */ 30*0Sstevel@tonic-gate #define T_DIR 2 /* directories OK */ 31*0Sstevel@tonic-gate #define T_ASCII 4 /* ASCII transfers OK */ 32*0Sstevel@tonic-gate 33*0Sstevel@tonic-gate struct convert { 34*0Sstevel@tonic-gate struct convert *next; 35*0Sstevel@tonic-gate char *stripprefix; /* prefix to strip from real file */ 36*0Sstevel@tonic-gate char *stripfix; /* postfix to strip from real file */ 37*0Sstevel@tonic-gate char *prefix; /* prefix to add to real file */ 38*0Sstevel@tonic-gate char *postfix; /* postfix to add to real file */ 39*0Sstevel@tonic-gate char *external_cmd; /* command to do conversion */ 40*0Sstevel@tonic-gate int types; /* types: {file,directory} OK to convert */ 41*0Sstevel@tonic-gate int options; /* for logging: which conversion(s) used */ 42*0Sstevel@tonic-gate char *name; /* description of conversion */ 43*0Sstevel@tonic-gate }; 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gate extern struct convert *cvtptr; 46