Prototype for a function to free List data.
More...
Prototype for a function to free List data.
- Parameters
-
◆ attachmatch_free()
static void attachmatch_free |
( |
struct AttachMatch ** |
ptr | ) |
|
|
static |
Free an AttachMatch - Implements list_free_t -.
- Parameters
-
- Note
- We don't free minor because it is either a pointer into major, or a static string.
Definition at line 68 of file attachments.c.
69{
70 if (!ptr || !*ptr)
71 return;
72
77}
An attachment matching a regex for attachment counter.
regex_t minor_regex
Minor mime type regex.
const char * major
Major mime type, e.g. "text".