# ffigen config for libsecret bindings. # # To regenerate, run: `make ffi_bindings_linux` output: 'lib/src/ffi/libsecret/libsecret.bindings.g.dart' name: 'Libsecret' description: 'Bindings to libsecret' headers: entry-points: - 'external/libsecret/libsecret/secret.h' - 'external/libsecret/libsecret/secret-schema.h' - 'external/libsecret/libsecret/secret-password.h' compiler-opts: - '-I./external/glib/' - '-I./external/glib/glib/' 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 globals: include: - NONE macros: include: - SECRET_COLLECTION_DEFAULT unions: include: - NONE unnamed-enums: include: - NONE library-imports: glib: '../glib/glib.dart' 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' preamble: | // ignore_for_file: camel_case_types, non_constant_identifier_names, require_trailing_commas, sort_constructors_first