Manage alias reverse lookups. More...
#include "config.h"
#include <stddef.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "reverse.h"
#include "lib.h"
#include "alias.h"
Go to the source code of this file.
Functions | |
void | alias_reverse_init (void) |
Set up the Reverse Alias Hash Table. | |
void | alias_reverse_shutdown (void) |
Clear up the Reverse Alias Hash Table. | |
void | alias_reverse_add (struct Alias *alias) |
Add an email address lookup for an Alias. | |
void | alias_reverse_delete (struct Alias *alias) |
Remove an email address lookup for an Alias. | |
struct Address * | alias_reverse_lookup (const struct Address *addr) |
Does the user have an alias for the given address. | |
Variables | |
static struct HashTable * | ReverseAliases = NULL |
Hash Table of aliases (email address -> alias) | |
Manage alias reverse lookups.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file reverse.c.
void alias_reverse_init | ( | void | ) |
Set up the Reverse Alias Hash Table.
Definition at line 42 of file reverse.c.
void alias_reverse_shutdown | ( | void | ) |
void alias_reverse_add | ( | struct Alias * | alias | ) |
Add an email address lookup for an Alias.
alias | Alias to use |
Definition at line 61 of file reverse.c.
void alias_reverse_delete | ( | struct Alias * | alias | ) |
Remove an email address lookup for an Alias.
alias | Alias to use |
Definition at line 83 of file reverse.c.
Does the user have an alias for the given address.
addr | Address to lookup |
ptr | Matching Address |
Definition at line 105 of file reverse.c.