#include <string.h>
#include <ctype.h>
#include <assert.h>
#include <vector>
#include <algorithm>
#include "dkim.h"
#include "dkimverify.h"
#include "dnsgettxt.h"
#include "dns.h"
#include "stralloc.h"
Go to the source code of this file.
|
int | stralloc_copys (stralloc *, char const *) |
|
int | dig_ascii (char *digascii, unsigned const char *digest, const int len) |
|
int | _DNSGetTXT (const char *szFQDN, char *Buffer, int nBufLen) |
|
int | _DKIM_ReportResult (const char *ResFile, const char *result, const char *reason) |
|
const char * | DKIM_ErrorResult (const int res) |
|
bool | isswsp (char ch) |
|
bool | ParseTagValueList (char *tagvaluelist, const char *wanted[], char *values[]) |
|
char | Tohex (char ch) |
|
void | DecodeQuotedPrintable (char *ptr) |
|
unsigned | DecodeBase64 (char *ptr) |
|
bool | WildcardMatch (const char *p, const char *s) |
|
bool | ParseAddresses (string str, vector< string > &Addresses) |
|
bool | ParseUnsigned (const char *s, unsigned *result) |
|
◆ _stricmp
#define _stricmp strcasecmp |
◆ _strnicmp
#define _strnicmp strncasecmp |
◆ FDLOG
#define FDLOG stderr /* writing to another FD requires a method */ |
◆ MAX_SIGNATURES
#define MAX_SIGNATURES 10 |
◆ _DKIM_ReportResult()
int _DKIM_ReportResult |
( |
const char * |
ResFile, |
|
|
const char * |
result, |
|
|
const char * |
reason |
|
) |
| |
◆ _DNSGetTXT()
int _DNSGetTXT |
( |
const char * |
szFQDN, |
|
|
char * |
Buffer, |
|
|
int |
nBufLen |
|
) |
| |
◆ DecodeBase64()
unsigned DecodeBase64 |
( |
char * |
ptr | ) |
|
◆ DecodeQuotedPrintable()
void DecodeQuotedPrintable |
( |
char * |
ptr | ) |
|
◆ dig_ascii()
int dig_ascii |
( |
char * |
digascii, |
|
|
unsigned const char * |
digest, |
|
|
const int |
len |
|
) |
| |
◆ DKIM_ErrorResult()
const char * DKIM_ErrorResult |
( |
const int |
res | ) |
|
◆ isswsp()
◆ ParseAddresses()
bool ParseAddresses |
( |
string |
str, |
|
|
vector< string > & |
Addresses |
|
) |
| |
◆ ParseTagValueList()
bool ParseTagValueList |
( |
char * |
tagvaluelist, |
|
|
const char * |
wanted[], |
|
|
char * |
values[] |
|
) |
| |
◆ ParseUnsigned()
bool ParseUnsigned |
( |
const char * |
s, |
|
|
unsigned * |
result |
|
) |
| |
◆ stralloc_copys()
int stralloc_copys |
( |
stralloc * |
, |
|
|
char const * |
|
|
) |
| |
◆ Tohex()
◆ WildcardMatch()
bool WildcardMatch |
( |
const char * |
p, |
|
|
const char * |
s |
|
) |
| |
◆ m_SigHdr
◆ SigHdr