/*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
/*
* fbc_append_config - Append configuration file supplement
*/
#include <stdio.h> /* NULL */
#include <stdlib.h> /* exit() */
#include "xf86Parser.h" /* Public function, etc. declarations */
#include "Configint.h" /* Private definitions, etc. */
#include "configProcs.h" /* Private function, etc. declarations */
#include "fbc.h" /* Common fbconf_xorg(1M) definitions */
#include "fbc_append_config.h" /* Append configuration file supplement */
#include "fbc_error.h" /* Error reporting */
/*
* fbc_append_config()
*
* Open a configuration supplement file and append it to the Internal
* and External representation of the current configuration.
*
* A supplement name and corresponding supplement pathname might be:
* "SunModes" /usr/lib/fbconfig/SunModes_xorg.conf
*/
int
const char *supplement_name) /* Config supplement name prefix */
{
/*
*/
if (supplement_path == NULL) {
return (FBC_ERR_OPEN);
}
#if (0) /* This may or may not be necessary */
/*
* Set effective UID to real UID while reading config file
*/
"Unable to set effective user ID\n");
}
}
#endif /* This may or may not be necessary */
/*
* Read the configuration supplement file
*/
fbc_errormsg("Error in configuration file, %s\n",
}
#if (0) /* This may or may not be necessary */
}
#endif /* This may or may not be necessary */
return (FBC_SUCCESS);
} /* fbc_append_config() */
/* End of fbc_append_config.c */