| 1966 | } |
| 1967 | |
| 1968 | static void plugin_set_timeout(struct plugin *p) |
| 1969 | { |
| 1970 | /* Don't timeout if they're running a debugger. */ |
| 1971 | if (debugging(p)) |
| 1972 | p->timeout_timer = NULL; |
| 1973 | else { |
| 1974 | p->timeout_timer |
| 1975 | = new_reltimer(p->plugins->ld->timers, p, |
| 1976 | time_from_sec(PLUGIN_STARTUP_TIMEOUT), |
| 1977 | plugin_manifest_timeout, p); |
| 1978 | } |
| 1979 | |
| 1980 | } |
| 1981 | const char *plugin_send_getmanifest(struct plugin *p, const char *cmd_id) |
| 1982 | { |
| 1983 | char **cmd; |
no test coverage detected