aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2008-03-05 12:00:57 +0000
committerMarcus Brinkmann <[email protected]>2008-03-05 12:00:57 +0000
commit639df34f6506cead14179c2db459de3fcf7d3290 (patch)
treefa25bd1af9e38d1d754001b8206ef660a2eca9b1
parent2008-02-15 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-639df34f6506cead14179c2db459de3fcf7d3290.tar.gz
gpgme-639df34f6506cead14179c2db459de3fcf7d3290.zip
2008-03-05 Marcus Brinkmann <[email protected]>
* gpgme.texi (Library Version Check): Rename snippet function to init_gpgme. (I/O Callback Example): Call it here.
Diffstat (limited to '')
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/gpgme.texi4
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 607a9a4a..38e53a68 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-05 Marcus Brinkmann <[email protected]>
+
+ * gpgme.texi (Library Version Check): Rename snippet function to
+ init_gpgme.
+ (I/O Callback Example): Call it here.
+
2008-01-28 Marcus Brinkmann <[email protected]>
* gpgme.texi: Document that data encoding affects some output data
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index b62cfc82..d854f98c 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -608,7 +608,7 @@ pinentry. Here is an example of a complete initialization:
#include <gpgme.h>
void
-init_program (void)
+init_gpgme (void)
@{
/* Initialize the locale environment. */
setlocale (LC_ALL, "");
@@ -5222,6 +5222,8 @@ main (int argc, char *argv[])
&result
@};
+ init_gpgme (void);
+
/* Initialize the loop structure. */
loop.lock = PTHREAD_MUTEX_INITIALIZER;
for (i = 0; i < MAX_FDS; i++)