## modules/pa/gpg.h

/* [<][>][^][v][top][bottom][index][help] */

## FUNCTIONS

This source file includes following functions.

       1 /* FP: interface file for RIPE gnuPG */
       2
       3 #define INPUT_FD 0
       4 #define OUTPUT_FD 1
       5 #define ERROR_FD 2
       6
       7 #define LINE_LENGTH 1024
       8 #define STRING_LENGTH 255
       9
      10 #define ERRSTRING strerror (errno)
      11
      12 /* FP : global objects used as and interface with gnuPG */
      13
      14 typedef unsigned int u32;
      15
      16 struct VerifySignObject {
      17   char *iDocSigFilename, *iSigFilename, *oStream;
      18   char *keyRing;
      19   int isValid;
      20   u32 keyID;
      21 };
      22
      23 struct ReadCryptedObject {
      24   char *iFilename, *oStream;
      25   char *keyRing;
      26   int isValid;
      27   u32 keyID;
      28 };
      29
      30 struct ImportKeyObject {
      31   char *iFilename;
      32   char *keyRing;
      33   int rc;
      34   u32 keyID; /* check if it works */
      35 };
      36
      37 enum {
      38    iKO_OK  = 0,
      39    iKO_UNCHANGED,
      40    iKO_NOUSERID,
      41    iKO_GENERAL,
      42    iKO_NOTVALIDUSERID,
      43    iKO_NOPUBLICKEY,
      44    iKO_NODEFAULTPUBLICKEYRING,
      45    iKO_GENERALFAILURE
      46 };

/* [<][>][^][v][top][bottom][index][help] */