From: Marcus Brinkmann Date: Wed, 5 Mar 2008 12:00:57 +0000 (+0000) Subject: 2008-03-05 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ec4298674340d041adf2daf20a1986714e40208;p=gpgme.git 2008-03-05 Marcus Brinkmann * gpgme.texi (Library Version Check): Rename snippet function to init_gpgme. (I/O Callback Example): Call it here. --- diff --git a/trunk/doc/ChangeLog b/trunk/doc/ChangeLog index 607a9a4..38e53a6 100644 --- a/trunk/doc/ChangeLog +++ b/trunk/doc/ChangeLog @@ -1,3 +1,9 @@ +2008-03-05 Marcus Brinkmann + + * gpgme.texi (Library Version Check): Rename snippet function to + init_gpgme. + (I/O Callback Example): Call it here. + 2008-01-28 Marcus Brinkmann * gpgme.texi: Document that data encoding affects some output data diff --git a/trunk/doc/gpgme.texi b/trunk/doc/gpgme.texi index b62cfc8..d854f98 100644 --- a/trunk/doc/gpgme.texi +++ b/trunk/doc/gpgme.texi @@ -608,7 +608,7 @@ pinentry. Here is an example of a complete initialization: #include 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++)