00001 /* 00002 **************************************************************************** 00003 * 00004 * MODULE: Vector library 00005 * 00006 * AUTHOR(S): Original author CERL, probably Dave Gerdes or Mike Higgins. 00007 * Update to GRASS 5.7 Radim Blazek and David D. Gray. 00008 * 00009 * PURPOSE: Higher level functions for reading/writing/manipulating vectors. 00010 * 00011 * COPYRIGHT: (C) 2001 by the GRASS Development Team 00012 * 00013 * This program is free software under the GNU General Public 00014 * License (>=v2). Read the file COPYING that comes with GRASS 00015 * for details. 00016 * 00017 *****************************************************************************/ 00018 #include <string.h> 00019 #include <grass/gis.h> 00020 #include <grass/Vect.h> 00021 00022 static int fatal_err = GV_FATAL_EXIT; 00023 00032 int 00033 Vect_set_fatal_error (int err) 00034 { 00035 fatal_err = err; 00036 return 0; 00037 } 00038 00047 int 00048 Vect_get_fatal_error () 00049 { 00050 return (fatal_err); 00051 } 00052 00053 00054