Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/storage/mozIStorageService.idl
//
{static D: &[Interface] = &[
Interface {
name: "mozIStorageService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void openAsyncDatabase (in nsIVariant aDatabaseStore, in unsigned long aOpenFlags, in unsigned long aConnectionFlags, in mozIStorageCompletionCallback aCallback); */
Method {
name: "OpenAsyncDatabase",
params: &[Param { name: "aDatabaseStore", ty: "*const nsIVariant" }, Param { name: "aOpenFlags", ty: "u32" }, Param { name: "aConnectionFlags", ty: "u32" }, Param { name: "aCallback", ty: "*const mozIStorageCompletionCallback" }],
ret: "::nserror::nsresult",
},
/* mozIStorageConnection openSpecialDatabase (in ACString aStorageKey, [optional] in ACString aName, [optional] in unsigned long aConnectionFlags); */
Method {
name: "OpenSpecialDatabase",
params: &[Param { name: "aStorageKey", ty: "*const ::nsstring::nsACString" }, Param { name: "aName", ty: "*const ::nsstring::nsACString" }, Param { name: "aConnectionFlags", ty: "u32" }, Param { name: "_retval", ty: "*mut*const mozIStorageConnection" }],
ret: "::nserror::nsresult",
},
/* mozIStorageConnection openDatabase (in nsIFile aDatabaseFile, [optional] in unsigned long aConnectionFlags); */
Method {
name: "OpenDatabase",
params: &[Param { name: "aDatabaseFile", ty: "*const nsIFile" }, Param { name: "aConnectionFlags", ty: "u32" }, Param { name: "_retval", ty: "*mut*const mozIStorageConnection" }],
ret: "::nserror::nsresult",
},
/* mozIStorageConnection openUnsharedDatabase (in nsIFile aDatabaseFile, [optional] in unsigned long aConnectionFlags); */
Method {
name: "OpenUnsharedDatabase",
params: &[Param { name: "aDatabaseFile", ty: "*const nsIFile" }, Param { name: "aConnectionFlags", ty: "u32" }, Param { name: "_retval", ty: "*mut*const mozIStorageConnection" }],
ret: "::nserror::nsresult",
},
/* mozIStorageConnection openDatabaseWithFileURL (in nsIFileURL aFileURL, [optional] in ACString aTelemetryFilename, [optional] in unsigned long aConnectionFlags); */
Method {
name: "OpenDatabaseWithFileURL",
params: &[Param { name: "aFileURL", ty: "*const nsIFileURL" }, Param { name: "aTelemetryFilename", ty: "*const ::nsstring::nsACString" }, Param { name: "aConnectionFlags", ty: "u32" }, Param { name: "_retval", ty: "*mut*const mozIStorageConnection" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}