Skip to content
  • Uwe Hermann's avatar
    sr_init(): Add driver sanity checks. · 55a6daf5
    Uwe Hermann authored
    After sr_init() has successfully run, we can be sure that all drivers
    define all the API calls, so we don't have to do these checks later
    in the individual API functions / wrappers.
    
    If there are one or more drivers with missing API functions (or driver
    name / longname, and so on), sr_init() will fail. This helps catch this
    kind of developer error early on.
    55a6daf5