-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Remaining secure storage bindings (#59)
- Loading branch information
Showing
14 changed files
with
1,428 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Glib | ||
description: | | ||
Bindings for glib on Linux. | ||
Regenerate bindings with `dart run ffigen --config=ffigen.glib.yaml`. | ||
language: c | ||
output: lib/src/native/linux/glib.ffi.dart | ||
headers: | ||
entry-points: | ||
- /usr/include/glib-2.0/glib.h | ||
- /usr/include/glib-2.0/glib-object.h | ||
- /usr/include/glib-2.0/gio/gio.h | ||
preamble: | | ||
// ignore_for_file: type=lint | ||
// ignore_for_file: return_of_invalid_type | ||
// ignore_for_file: unnecessary_non_null_assertion | ||
comments: | ||
style: any | ||
length: full | ||
|
||
exclude-all-by-default: true | ||
typedefs: | ||
include: | ||
- gboolean | ||
- gint | ||
- gpointer | ||
functions: | ||
include: | ||
- g_hash_table_new | ||
- g_hash_table_insert | ||
- g_hash_table_destroy | ||
- g_application_get_default | ||
- g_application_get_application_id | ||
- g_error_free | ||
structs: | ||
include: | ||
- _GError | ||
- _GHashTable | ||
- _GCancellable | ||
- _GObject | ||
rename: | ||
"_GError": GError | ||
"_GHashTable": GHashTable | ||
"_GCancellable": GCancellable | ||
"_GObject": GObject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Libsecret | ||
description: | | ||
Bindings for Libsecret on Linux. | ||
Regenerate bindings with `dart run ffigen --config=ffigen.libsecret.yaml`. | ||
language: c | ||
output: lib/src/native/linux/libsecret.ffi.dart | ||
headers: | ||
entry-points: | ||
- /usr/include/libsecret-1/libsecret/secret.h | ||
preamble: | | ||
// ignore_for_file: type=lint | ||
// ignore_for_file: return_of_invalid_type | ||
// ignore_for_file: unnecessary_non_null_assertion | ||
library-imports: | ||
glib: package:celest_core/src/native/linux/glib.ffi.dart | ||
comments: | ||
style: any | ||
length: full | ||
|
||
exclude-all-by-default: true | ||
functions: | ||
include: | ||
- secret_password_storev_sync | ||
- secret_password_lookupv_sync | ||
- secret_password_clearv_sync | ||
- secret_password_free | ||
structs: | ||
include: | ||
- SecretSchema | ||
- SecretSchemaAttribute | ||
enums: | ||
include: | ||
- SecretSchemaAttributeType | ||
- SecretSchemaFlags | ||
macros: | ||
include: | ||
- SECRET_COLLECTION_DEFAULT | ||
type-map: | ||
typedefs: | ||
GHashTable: | ||
lib: glib | ||
c-type: GHashTable | ||
dart-type: GHashTable | ||
GError: | ||
lib: glib | ||
c-type: GError | ||
dart-type: GError | ||
GCancellable: | ||
lib: glib | ||
c-type: GCancellable | ||
dart-type: GCancellable | ||
gpointer: | ||
lib: glib | ||
c-type: gpointer | ||
dart-type: gpointer | ||
gboolean: | ||
lib: glib | ||
c-type: gboolean | ||
dart-type: int | ||
gchar: | ||
lib: pkg_ffi | ||
c-type: Utf8 | ||
dart-type: Char | ||
gint: | ||
lib: glib | ||
c-type: gint | ||
dart-type: int | ||
|
Oops, something went wrong.