aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib/e-cert-db.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /smime/lib/e-cert-db.h
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'smime/lib/e-cert-db.h')
-rw-r--r--smime/lib/e-cert-db.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/smime/lib/e-cert-db.h b/smime/lib/e-cert-db.h
index f628ba2073..30d20448cb 100644
--- a/smime/lib/e-cert-db.h
+++ b/smime/lib/e-cert-db.h
@@ -48,8 +48,8 @@ struct _ECertDBClass {
GObjectClass parent_class;
/* signals */
- gboolean (*pk11_passwd) (ECertDB *db, PK11SlotInfo *slot, gboolean retry, char **passwd);
- gboolean (*pk11_change_passwd) (ECertDB *db, char **orig_passwd, char **passwd);
+ gboolean (*pk11_passwd) (ECertDB *db, PK11SlotInfo *slot, gboolean retry, gchar **passwd);
+ gboolean (*pk11_change_passwd) (ECertDB *db, gchar **orig_passwd, gchar **passwd);
gboolean (*confirm_ca_cert_import) (ECertDB *db, ECert *cert, gboolean *trust_ssl, gboolean *trust_email, gboolean *trust_objsign);
/* Padding for future expansion */
@@ -69,12 +69,12 @@ void e_cert_db_shutdown (void);
/* searching for certificates */
ECert* e_cert_db_find_cert_by_nickname (ECertDB *certdb,
- const char *nickname,
+ const gchar *nickname,
GError **error);
#ifdef notyet
ECert* e_cert_db_find_cert_by_key (ECertDB *certdb,
- const char *db_key,
+ const gchar *db_key,
GError **error);
GList* e_cert_db_get_cert_nicknames (ECertDB *certdb,
@@ -83,16 +83,16 @@ GList* e_cert_db_get_cert_nicknames (ECertDB *certdb,
ECert* e_cert_db_find_email_encryption_cert (ECertDB *certdb,
- const char *nickname,
+ const gchar *nickname,
GError **error);
ECert* e_cert_db_find_email_signing_cert (ECertDB *certdb,
- const char *nickname,
+ const gchar *nickname,
GError **error);
#endif
ECert* e_cert_db_find_cert_by_email_address (ECertDB *certdb,
- const char *nickname,
+ const gchar *nickname,
GError **error);
/* deleting certificates */
@@ -101,34 +101,34 @@ gboolean e_cert_db_delete_cert (ECertDB *certdb,
/* importing certificates */
gboolean e_cert_db_import_certs (ECertDB *certdb,
- char *data, guint32 length,
+ gchar *data, guint32 length,
ECertType cert_type,
GError **error);
gboolean e_cert_db_import_email_cert (ECertDB *certdb,
- char *data, guint32 length,
+ gchar *data, guint32 length,
GError **error);
gboolean e_cert_db_import_user_cert (ECertDB *certdb,
- char *data, guint32 length,
+ gchar *data, guint32 length,
GError **error);
gboolean e_cert_db_import_server_cert (ECertDB *certdb,
- char *data, guint32 length,
+ gchar *data, guint32 length,
GError **error);
gboolean e_cert_db_import_certs_from_file (ECertDB *cert_db,
- const char *file_path,
+ const gchar *file_path,
ECertType cert_type,
GError **error);
gboolean e_cert_db_import_pkcs12_file (ECertDB *cert_db,
- const char *file_path,
+ const gchar *file_path,
GError **error);
#ifdef notyet
gboolean e_cert_db_export_pkcs12_file (ECertDB *cert_db,
- const char *file_path,
+ const gchar *file_path,
GList *certs,
GError **error);
#endif