Create a new object database and automatically add loose and packed backends.
location to store the database pointer, if opened. Set to NULL if the open failed.
path of the backends' "objects" directory.
the options for this object database or NULL for defaults
0 or an error code