Creates an Source for a native key file and adds it to this.
If an error occurs, the function returns null and sets throws.
The returned Source is referenced for thread-safety. Unreference the Source with unref when finished with it.
| this | |
| file |
the data source key file to load |
| flags |
initial permission flags for the data source |
|
the newly-added Source, or null on error |