The main body of the browser The main body initializes the X toolkit, checks the command line arguments, reads the configuration file for the applets, loads the user functions, and then displays the home page. <<*>>= #include "config.h" #include #include "w3a.h" #include "str.h" #include "rcfile.e" #include "globals.e" #include "requests.e" #include "gui.e" #include "dynload.e" #include "commands.e" #include "errbox.e" void main(int argc, char *argv[]) { init_toplevel(argc, argv); /* In globals.c */ install_error_handlers(); /* In errbox.c */ read_config(appdata.configfile); /* In rcfile.c */ create_windows(); /* In gui.c */ init_all_applets(); /* In dynload.c */ goto_url(appdata.homepage, FALSE); /* In commands.c */ XtAppMainLoop(app_context); }