| 362 | } |
| 363 | |
| 364 | struct timeval |
| 365 | Source::Config::getEndTime(void) const |
| 366 | { |
| 367 | struct timeval tv = {0, 0}; |
| 368 | |
| 369 | if (this->instance != nullptr) |
| 370 | if (!suscan_source_config_get_end_time(this->instance, &tv)) |
| 371 | suscan_source_config_get_start_time(this->instance, &tv); |
| 372 | |
| 373 | return tv; |
| 374 | } |
| 375 | |
| 376 | bool |
| 377 | Source::Config::fileIsValid(void) const |
no outgoing calls