1117N/A * Copyright (c) 1997 Metro Link Incorporated 1117N/A * Permission is hereby granted, free of charge, to any person obtaining a 1117N/A * copy of this software and associated documentation files (the "Software"), 1117N/A * to deal in the Software without restriction, including without limitation 1117N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1117N/A * and/or sell copies of the Software, and to permit persons to whom the 1117N/A * Software is furnished to do so, subject to the following conditions: 1117N/A * The above copyright notice and this permission notice shall be included in 1117N/A * all copies or substantial portions of the Software. 1117N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1117N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1117N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1117N/A * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 1117N/A * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 1117N/A * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 1117N/A * Except as contained in this notice, the name of the Metro Link shall not be 1117N/A * used in advertising or otherwise to promote the sale, use or other dealings 1117N/A * in this Software without prior written authorization from Metro Link. 1117N/A * Copyright (c) 1997-2003 by The XFree86 Project, Inc. 1117N/A * Permission is hereby granted, free of charge, to any person obtaining a 1117N/A * copy of this software and associated documentation files (the "Software"), 1117N/A * to deal in the Software without restriction, including without limitation 1117N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1117N/A * and/or sell copies of the Software, and to permit persons to whom the 1117N/A * Software is furnished to do so, subject to the following conditions: 1117N/A * The above copyright notice and this permission notice shall be included in 1117N/A * all copies or substantial portions of the Software. 1117N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1117N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1117N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1117N/A * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 1117N/A * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 1117N/A * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 1117N/A * OTHER DEALINGS IN THE SOFTWARE. 1117N/A * Except as contained in this notice, the name of the copyright holder(s) 1117N/A * and author(s) shall not be used in advertising or otherwise to promote 1117N/A * the sale, use or other dealings in this Software without prior written 1117N/A * authorization from the copyright holder(s) and author(s). 1117N/A * Parse a configuration file, appending it to the current 1117N/A * Read and validate the (initial) configuration file. 1117N/A * Read, parse, and validate the configuration 1117N/A * Read an additional configuration file, appending it to the current 1117N/A * Note that we can't revalidate existing configuration data without 1117N/A * the possibility of memory leaks involving Screen sections. For 1117N/A * our purposes, additional configuration files are expected to 1117N/A * contain only Modes sections, so revalidation isn't a big concern. 1117N/A * This function resolves name references and reports errors if the named 1117N/A * adds an item to the end of the linked list. Any record whose first field 1117N/A * is a GenericListRec can be cast to this type and used with this function. 1117N/A * A pointer to the head of the list is returned to handle the addition of 1117N/A * Test if one chained list contains the other. 1117N/A * In this case both list have the same endpoint (provided they don't loop)