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