aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-nss-glue.h
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-26 16:44:28 +0800
committerXan Lopez <xan@gnome.org>2009-08-26 16:45:38 +0800
commiteea4e5155ed3102ee21c57958a29603ed0f5166f (patch)
treea491d714dd8c7bc61c5a00eaf74dbff952e808c1 /src/ephy-nss-glue.h
parentec783faa3c1737dfd80fd53a8113bbb3aa1c06a0 (diff)
downloadgsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar.gz
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar.bz2
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar.lz
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar.xz
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.tar.zst
gsoc2013-epiphany-eea4e5155ed3102ee21c57958a29603ed0f5166f.zip
Import passwords from the ephy/gecko profile on first run.
This feature requires NSS, so NSS is added as an optional dependency, enabled by default. Can be disabled with --disable-nss, but then passwords won't be imported.
Diffstat (limited to 'src/ephy-nss-glue.h')
-rw-r--r--src/ephy-nss-glue.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ephy-nss-glue.h b/src/ephy-nss-glue.h
new file mode 100644
index 000000000..0c157226a
--- /dev/null
+++ b/src/ephy-nss-glue.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2009 Igalia S.L.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef EPHY_NSS_GLUE_H
+#define EPHY_NSS_GLUE_H
+
+#include <glib.h>
+
+gboolean ephy_nss_glue_init (void);
+void ephy_nss_glue_close (void);
+char * ephy_nss_glue_decrypt (const unsigned char *, gsize);
+
+#endif