/*ARGSUSED*/ int uuconf_system_unknown (pointer pglobal, struct uuconf_system *qsys) { #if HAVE_TAYLOR_CONFIG return uuconf_taylor_system_unknown (pglobal, qsys); #else /* ! HAVE_TAYLOR_CONFIG */ #if HAVE_HDB_CONFIG return uuconf_hdb_system_unknown (pglobal, qsys); #else /* ! HAVE_HDB_CONFIG */ #if HAVE_V2_CONFIG struct sglobal *qglobal = (struct sglobal *) pglobal; _uuconf_uclear_system (qsys); qsys->uuconf_palloc = uuconf_malloc_block (); if (qsys->uuconf_palloc == NULL) { qglobal->ierrno = errno; return UUCONF_MALLOC_FAILED | UUCONF_ERROR_ERRNO; } return _uuconf_isystem_basic_default (qglobal, qsys); #else /* ! HAVE_V2_CONFIG */ return UUCONF_NOT_FOUND; #endif /* ! HAVE_V2_CONFIG */ #endif /* ! HAVE_HDB_CONFIG */ #endif /* ! HAVE_TAYLOR_CONFIG */ }
int uuconf_hdb_system_info (pointer pglobal, const char *zsystem, struct uuconf_system *qsys) { struct sglobal *qglobal = (struct sglobal *) pglobal; int iret; iret = _uuconf_ihdb_system_internal (qglobal, zsystem, qsys); if (iret != UUCONF_SUCCESS) return iret; return _uuconf_isystem_basic_default (qglobal, qsys); }
int uuconf_system_info (pointer pglobal, const char *zsystem, struct uuconf_system *qsys) { struct sglobal *qglobal = (struct sglobal *) pglobal; int iret; boolean fgot; fgot = FALSE; iret = _uuconf_itaylor_system_internal (qglobal, zsystem, qsys); if (iret == UUCONF_SUCCESS) fgot = TRUE; else if (iret != UUCONF_NOT_FOUND) return iret; if (! fgot) return UUCONF_NOT_FOUND; return _uuconf_isystem_basic_default (qglobal, qsys); }