Representation of a single alias to an email address. More...
Include dependency graph for alias.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Alias |
| A shortcut for an email address or addresses. More... | |
| struct | EventAlias |
| An alias-change event. More... | |
Enumerations | |
| enum | NotifyAlias { NT_ALIAS_ADD = 1 , NT_ALIAS_DELETE , NT_ALIAS_DELETE_ALL , NT_ALIAS_CHANGE } |
| Alias notification types. More... | |
Functions | |
| ARRAY_HEAD (AliasArray, struct Alias *) | |
| void | alias_free (struct Alias **ptr) |
| Free an Alias. | |
| struct Alias * | alias_new (void) |
| Create a new Alias. | |
| void | aliaslist_clear (struct AliasArray *aa) |
| Empty a List of Aliases. | |
Variables | |
| struct AliasArray | Aliases |
Representation of a single alias to an email address.
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 alias.h.
| enum NotifyAlias |
Alias notification types.
Observers of NT_ALIAS will be passed an EventAlias.
| Enumerator | |
|---|---|
| NT_ALIAS_ADD | Alias has been added. |
| NT_ALIAS_DELETE | Alias is about to be deleted. |
| NT_ALIAS_DELETE_ALL | All Aliases are about to be deleted. |
| NT_ALIAS_CHANGE | Alias has been changed. |
| ARRAY_HEAD | ( | AliasArray | , |
| struct Alias * | ) |
| void alias_free | ( | struct Alias ** | ptr | ) |
Free an Alias.
| [out] | ptr | Alias to free |
Definition at line 673 of file alias.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Alias * alias_new | ( | void | ) |
Create a new Alias.
| ptr | Newly allocated Alias |
Free the result with alias_free()
Definition at line 661 of file alias.c.
Here is the caller graph for this function:| void aliaslist_clear | ( | struct AliasArray * | aa | ) |
Empty a List of Aliases.
| aa | AliasArray to empty |
Each Alias will be freed and the AliasArray will be left empty.
Definition at line 698 of file alias.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |