Parse Subject-regex Commands. More...
Include dependency graph for subjectrx.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | NotifySubjectRx { NT_SUBJECTRX_ADD = 1 , NT_SUBJECTRX_DELETE , NT_SUBJECTRX_DELETE_ALL } |
| Subject Regex notification types. More... | |
Functions | |
| void | subjectrx_init (struct NeoMutt *n, struct IndexModuleData *md) |
| Create new Subject Regex List. | |
| void | subjectrx_cleanup (struct IndexModuleData *md) |
| Free the Subject Regex List. | |
| enum CommandResult | parse_subjectrx_list (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'subject-regex' command - Implements Command::parse() -. | |
| enum CommandResult | parse_unsubjectrx_list (const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe) |
| Parse the 'unsubject-regex' command - Implements Command::parse() -. | |
| bool | subjectrx_apply_mods (struct Envelope *env) |
| Apply regex modifications to the subject. | |
| void | subjectrx_clear_mods (struct MailboxView *mv) |
| Clear out all modified email subjects. | |
Parse Subject-regex Commands.
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 subjectrx.h.
| enum NotifySubjectRx |
Subject Regex notification types.
Observers of NT_SUBJECTRX will not be passed any Event data.
| Enumerator | |
|---|---|
| NT_SUBJECTRX_ADD | Subject Regex has been added. |
| NT_SUBJECTRX_DELETE | Subject Regex has been deleted. |
| NT_SUBJECTRX_DELETE_ALL | All Subject Regexes have been deleted. |
Definition at line 43 of file subjectrx.h.
| void subjectrx_init | ( | struct NeoMutt * | n, |
| struct IndexModuleData * | md ) |
Create new Subject Regex List.
Definition at line 42 of file subjectrx.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void subjectrx_cleanup | ( | struct IndexModuleData * | md | ) |
Free the Subject Regex List.
Definition at line 53 of file subjectrx.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool subjectrx_apply_mods | ( | struct Envelope * | env | ) |
Apply regex modifications to the subject.
| true | Subject modified |
Definition at line 148 of file subjectrx.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void subjectrx_clear_mods | ( | struct MailboxView * | mv | ) |
Clear out all modified email subjects.
| mv | Mailbox view |
Definition at line 170 of file subjectrx.c.
Here is the caller graph for this function: