kmail

kleo_util.h File Reference

#include <kleo/enum.h>

Include dependency graph for kleo_util.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Functions

static Kleo::CryptoMessageFormat cb2format (int idx)
static int format2cb (Kleo::CryptoMessageFormat f)
static bool isOpenPGP (Kleo::CryptoMessageFormat f)
static bool isSMIME (Kleo::CryptoMessageFormat f)

Variables

static const
Kleo::CryptoMessageFormat 
concreteCryptoMessageFormats []
static const
Kleo::CryptoMessageFormat 
cryptoMessageFormats []
static const unsigned int numConcreteCryptoMessageFormats = sizeof concreteCryptoMessageFormats / sizeof *concreteCryptoMessageFormats
static const int numCryptoMessageFormats = sizeof cryptoMessageFormats / sizeof *cryptoMessageFormats

Function Documentation

static Kleo::CryptoMessageFormat cb2format ( int  idx  )  [inline, static]

Definition at line 55 of file kleo_util.h.

static int format2cb ( Kleo::CryptoMessageFormat  f  )  [inline, static]

Definition at line 59 of file kleo_util.h.

static bool isOpenPGP ( Kleo::CryptoMessageFormat  f  )  [inline, static]

Definition at line 76 of file kleo_util.h.

static bool isSMIME ( Kleo::CryptoMessageFormat  f  )  [inline, static]

Definition at line 72 of file kleo_util.h.


Variable Documentation

const Kleo::CryptoMessageFormat concreteCryptoMessageFormats[] [static]

Initial value:

 {
  Kleo::OpenPGPMIMEFormat,
  Kleo::SMIMEFormat,
  Kleo::SMIMEOpaqueFormat,
  Kleo::InlineOpenPGPFormat
}

Definition at line 46 of file kleo_util.h.

const Kleo::CryptoMessageFormat cryptoMessageFormats[] [static]

Initial value:

 {
  Kleo::AutoFormat,
  Kleo::InlineOpenPGPFormat,
  Kleo::OpenPGPMIMEFormat,
  Kleo::SMIMEFormat,
  Kleo::SMIMEOpaqueFormat
}

Definition at line 37 of file kleo_util.h.

Definition at line 53 of file kleo_util.h.

const int numCryptoMessageFormats = sizeof cryptoMessageFormats / sizeof *cryptoMessageFormats [static]

Definition at line 44 of file kleo_util.h.