| SYNOPSIS |
#include <dkim.h>
const int dkim_name_to_code(
DKIM_NAMETABLE *tbl,
const char *name
);
Translate a name text in C string into a mnemonic code.
|
| DESCRIPTION |
| Called When |
dkim_name_to_code() can be called at any time. |
|
|---|
| ARGUMENTS |
| Argument | Description |
| tbl |
A name table to use for translation. One of values described in
DKIM_NAMETABLE.
|
| code |
A name C string to translate. |
|
| RETURN VALUES |
- A mnemonic code matching the provided name, if found
- -1, if no maching is found
|
| NOTES |
|