static char const rcsid [] = "$Id: maps_vars.c,v 1.1 1998/04/22 10:24:56 stojanov Exp $"; /*****************************************************************************/ /* */ /* Unit: MAPS_VARS */ /* */ /* Author: Nikola Stojanovic */ /* */ /* Revision: 15 APR 98 */ /* */ /* Unit contains code for declaration and initialization of the global */ /* variables of maps program */ /* */ /*****************************************************************************/ #include #include "maps.h" /*****************************************************************************/ /* */ /* */ /*****************************************************************************/ strlist_ptr registered_paths; long int start_trim; double pa; double pg; double pt; double pc; double pgap; char *current_file_name; int current_line_number; char *principal_sequence; int description_include; int page_orientation; int page_size; int page_width; int block_spacing; int text_font_size; bool information_include; int information_kind; int output_format; header_ptr file_data; /* Current contents of the alignment file observed */ unpacked_ptr alignment_records; /* Current alignment text and data */ int principal_seqnum; landmarkll_ptr established_landmarks; originll_ptr established_origins; descll_ptr *established_top_vector; descll_ptr established_top_lines; descll_ptr *established_inter_vector; descll_ptr established_inter_lines; descll_ptr *established_bottom_vector; descll_ptr established_bottom_lines; boxll_ptr established_boxes; underll_ptr established_underlines; textll_ptr *established_text_vector; float *established_information; /* Array of information contents for columns */ ibox_ptr custom_boxes; iunder_ptr custom_underlines; int display_size; displayll_ptr *display_vector; /*****************************************************************************/ /* */ /* */ /*****************************************************************************/ /*****************************************************************************/ /* */ /* Procedure: VARS_Initialize */ /* */ int VARS_Initialize (void) { registered_paths = NULL; start_trim = 0; pa = pg = pt = pc = 0.0; current_file_name = NULL; current_line_number = 0; principal_sequence = NULL; description_include = UNDEFINED; page_orientation = UNDEFINED; page_size = UNDEFINED; page_width = UNDEFINED; block_spacing = UNDEFINED; text_font_size = UNDEFINED; information_include = FALSE; information_kind = UNDEFINED; output_format = UNDEFINED; file_data = NULL; alignment_records = NULL; principal_seqnum = UNDEFINED; established_landmarks = NULL; established_origins = NULL; established_top_vector = NULL; established_top_lines = NULL; established_inter_vector = NULL; established_inter_lines = NULL; established_bottom_vector = NULL; established_bottom_lines = NULL; established_boxes = NULL; established_underlines = NULL; established_text_vector = NULL; established_information = NULL; custom_boxes = NULL; custom_underlines = NULL; display_size = 0; display_vector = NULL; return 0; }