OpenVAS Libraries  6.0+beta5
Functions
gpgme_util.h File Reference

Protos and data structures for GPGME utilities. More...

#include <gpgme.h>

Go to the source code of this file.

Functions

gpgme_ctx_t openvas_init_gpgme_ctx (void)
 Returns a new gpgme context. More...
 

Detailed Description

Protos and data structures for GPGME utilities.

This file contains the protos for gpgme_util.c

Function Documentation

gpgme_ctx_t openvas_init_gpgme_ctx ( void  )

Returns a new gpgme context.

Inits a gpgme context with the custom gpghome directory, protocol version etc. Returns the context or NULL if an error occurred. This function also does an gpgme initialization the first time it is called. It is advisable to call this function as early as possible to notice a bad installation (e.g. an too old gpg version).

Returns
The gpgme_ctx_t to the context or NULL if an error occurred.