2008-03-05 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Library Version Check): Rename snippet function to init_gpgme. (I/O Callback Example): Call it here.
This commit is contained in:
parent
8b83471079
commit
639df34f65
@ -1,3 +1,9 @@
|
|||||||
|
2008-03-05 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgme.texi (Library Version Check): Rename snippet function to
|
||||||
|
init_gpgme.
|
||||||
|
(I/O Callback Example): Call it here.
|
||||||
|
|
||||||
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
|
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.texi: Document that data encoding affects some output data
|
* gpgme.texi: Document that data encoding affects some output data
|
||||||
|
@ -608,7 +608,7 @@ pinentry. Here is an example of a complete initialization:
|
|||||||
#include <gpgme.h>
|
#include <gpgme.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
init_program (void)
|
init_gpgme (void)
|
||||||
@{
|
@{
|
||||||
/* Initialize the locale environment. */
|
/* Initialize the locale environment. */
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
@ -5222,6 +5222,8 @@ main (int argc, char *argv[])
|
|||||||
&result
|
&result
|
||||||
@};
|
@};
|
||||||
|
|
||||||
|
init_gpgme (void);
|
||||||
|
|
||||||
/* Initialize the loop structure. */
|
/* Initialize the loop structure. */
|
||||||
loop.lock = PTHREAD_MUTEX_INITIALIZER;
|
loop.lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
for (i = 0; i < MAX_FDS; i++)
|
for (i = 0; i < MAX_FDS; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user