NeoMutt  2024-03-23-23-gec7045
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
win_chain.h
Go to the documentation of this file.
1
23#ifndef MUTT_MIXMASTER_WIN_CHAIN_H
24#define MUTT_MIXMASTER_WIN_CHAIN_H
25
26#include <stdbool.h>
27
28struct ListHead;
29struct MuttWindow;
30struct Remailer;
31struct RemailerArray;
32
33struct MuttWindow *win_chain_new(struct MuttWindow *win_cbar);
34
35void win_chain_init (struct MuttWindow *win, struct ListHead *chain, struct RemailerArray *ra);
36int win_chain_extract (struct MuttWindow *win, struct ListHead *chain);
37int win_chain_get_length(struct MuttWindow *win);
38
39bool win_chain_next(struct MuttWindow *win);
40bool win_chain_prev(struct MuttWindow *win);
41
42bool win_chain_append (struct MuttWindow *win, struct Remailer *r);
43bool win_chain_delete (struct MuttWindow *win);
44bool win_chain_insert (struct MuttWindow *win, struct Remailer *r);
45bool win_chain_validate(struct MuttWindow *win);
46
47#endif /* MUTT_MIXMASTER_WIN_CHAIN_H */
A Mixmaster remailer.
Definition: remailer.h:40
bool win_chain_prev(struct MuttWindow *win)
Select the previous entry in the Chain list.
Definition: win_chain.c:308
int win_chain_extract(struct MuttWindow *win, struct ListHead *chain)
Extract the Chain list data.
Definition: win_chain.c:233
struct MuttWindow * win_chain_new(struct MuttWindow *win_cbar)
Create a new Chain list Window.
Definition: win_chain.c:184
bool win_chain_insert(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, before the current item.
Definition: win_chain.c:354
bool win_chain_delete(struct MuttWindow *win)
Delete the current item from the Chain.
Definition: win_chain.c:385
bool win_chain_next(struct MuttWindow *win)
Select the next entry in the Chain list.
Definition: win_chain.c:282
void win_chain_init(struct MuttWindow *win, struct ListHead *chain, struct RemailerArray *ra)
Initialise the Chain list Window.
Definition: win_chain.c:207
bool win_chain_validate(struct MuttWindow *win)
Validate the Chain.
Definition: win_chain.c:417
bool win_chain_append(struct MuttWindow *win, struct Remailer *r)
Add an item to the Chain, after the current item.
Definition: win_chain.c:335
int win_chain_get_length(struct MuttWindow *win)
Get the number of Remailers in the Chain.
Definition: win_chain.c:267