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 67 of file attachments.c.
68{
69 if (!ptr || !*ptr)
70 return;
71
76}
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".