/* * Copyright (c) 1995 Eugene W. Stark * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by Eugene W. Stark. * 4. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * 5. No copying or redistribution in any form for commercial purposes is * permitted without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY EUGENE W. STARK (THE AUTHOR) ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #define INDEX_ANCHOR_POS 3 #ifdef MSDOS #define INDEX_ANCHOR_SUBDIR "INDEX\n" #define INDEX_ANCHOR_NOSUBDIR "INDEX\n" #else #define INDEX_ANCHOR_SUBDIR "INDEX\n" #define INDEX_ANCHOR_NOSUBDIR "INDEX\n" #endif extern char *individual_template; extern char *individual_template_base[]; extern int individual_template_base_size; extern char *index_template; extern char *surname_template; extern char *file_template; extern int indivs_per_directory; extern int files_per_directory; extern int indivs_per_file; extern int pedigree_depth; void output_individual(struct individual_record *ip); void output_index(struct index_node *ip); void output_surnames(struct index_node *ip); void output_gendex(struct individual_record *ip);