1 #include "20091026-1_a.h" 2 3 #pragma GCC diagnostic ignored "-Wreturn-type" 4 extern cHead networks; 5 class cNetworkType; findNetwork(const char * s)6inline cNetworkType *findNetwork(const char *s) 7 { 8 return (cNetworkType *)networks.find(s); 9 } run(const char * opt_network_name)10int run(const char *opt_network_name) 11 { 12 cNetworkType *network = findNetwork(opt_network_name); 13 if (!network) 14 throw 1; 15 } 16 17