pkg_section
rc = pkg_section(f, protos[i].proto_pkg, &doing_pkg, cur_pkg);
rc = pkg_section(f, alg_pkg, &doing_pkg, cur_pkg);