int app_config_check(struct app_params *app) { check_mempools(app); check_links(app); check_rxqs(app); check_txqs(app); check_swqs(app); check_tms(app); check_sources(app); check_sinks(app); check_msgqs(app); check_pipelines(app); return 0; }
int main (int argc, char **argv) { char c; while ((c = getopt (argc, argv, "e")) != EOF) { switch (c) { default: usage (); } } if (optind > argc || optind != argc) usage (); if (!system ("[ `uname -i` = x86_64 ]")) arch = "amd64"; else arch = "i386"; check_sources (); check_packages (); check_emacs (); check_pythonrc (); check_xterm (); check_fluxbox (); check_tex_papersize (); check_chrome (); check_env (); check_alternative ("editor", "emacs"); check_alternative ("x-terminal-emulator", "uxterm"); if (error_flag == 0) printf ("everything ok\n"); return (0); }