Use typedef in source code for SourceOptions
Merge pull request #1053 from elemoine/sourceoptions

Use typedef in source code for SourceOptions