/* * Copyright (C) 1997-2005, R3vis Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA, or visit http://www.gnu.org/copyleft/lgpl.html. * * Original Contributor: * Wes Bethel, R3vis Corporation, Marin County, California * Additional Contributor(s): * * The OpenRM project is located at http://openrm.sourceforge.net/. */ /* * $Id: rmdefaults.c,v 1.2 2005/08/06 18:32:38 wes Exp $ * Version: $Name: OpenRM-1-6-0-RC5 $ * $Revision: 1.2 $ * $Log: rmdefaults.c,v $ * Revision 1.2 2005/08/06 18:32:38 wes * Doc updates. * * Revision 1.1 2005/06/15 02:11:04 wes * Initial entry. * */ /* * This file contains variables that are used as defaults elsewhere * in OpenRM. Read/Write access to these variables is done through * the rmSet* or rmGet* family of routines. * * To Do: * 6/14/05: put all the variables current value, permissible values, etc. * into a more elegant structure to minimize the amount of code needed to * maintain. For now, we're using big switch statements. */ #include #include "rmprivat.h" /* RMnode default values (not a complete list) */ static RMenum nodeDefaultPickTraversalMask = RM_TRUE; static RMenum nodeDefaultTraversalMask = RM_TRUE; /* PRIVATE */ static int private_rmValidateEnum(RMenum target, RMenum *list, int n) { int i; for (i=0;i