Mixmaster Chain Window. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
struct MuttWindow * | win_chain_new (struct MuttWindow *win_cbar) |
Create a new Chain list Window. | |
void | win_chain_init (struct MuttWindow *win, struct ListHead *chain, struct RemailerArray *ra) |
Initialise the Chain list Window. | |
int | win_chain_extract (struct MuttWindow *win, struct ListHead *chain) |
Extract the Chain list data. | |
int | win_chain_get_length (struct MuttWindow *win) |
Get the number of Remailers in the Chain. | |
bool | win_chain_next (struct MuttWindow *win) |
Select the next entry in the Chain list. | |
bool | win_chain_prev (struct MuttWindow *win) |
Select the previous entry in the Chain list. | |
bool | win_chain_append (struct MuttWindow *win, struct Remailer *r) |
Add an item to the Chain, after the current item. | |
bool | win_chain_delete (struct MuttWindow *win) |
Delete the current item from the Chain. | |
bool | win_chain_insert (struct MuttWindow *win, struct Remailer *r) |
Add an item to the Chain, before the current item. | |
bool | win_chain_validate (struct MuttWindow *win) |
Validate the Chain. | |
Mixmaster Chain Window.
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 win_chain.h.
struct MuttWindow * win_chain_new | ( | struct MuttWindow * | win_cbar | ) |
Create a new Chain list Window.
win_cbar | Chain bar to keep updated (status bar) |
ptr | New Chain list Window |
Definition at line 184 of file win_chain.c.
void win_chain_init | ( | struct MuttWindow * | win, |
struct ListHead * | chain, | ||
struct RemailerArray * | ra | ||
) |
Initialise the Chain list Window.
win | Chain list Window |
chain | Chain data |
ra | Array of all Remailer hosts |
Definition at line 207 of file win_chain.c.
int win_chain_extract | ( | struct MuttWindow * | win, |
struct ListHead * | chain | ||
) |
Extract the Chain list data.
win | Chain list Window |
chain | Chain data |
num | Number of entries in the Chain |
-1 | Error |
Definition at line 233 of file win_chain.c.
int win_chain_get_length | ( | struct MuttWindow * | win | ) |
Get the number of Remailers in the Chain.
win | Chain list Window |
num | Number of entries in the Chain |
Definition at line 267 of file win_chain.c.
bool win_chain_next | ( | struct MuttWindow * | win | ) |
Select the next entry in the Chain list.
win | Chain list Window |
true | Selection changed |
Definition at line 282 of file win_chain.c.
bool win_chain_prev | ( | struct MuttWindow * | win | ) |
Select the previous entry in the Chain list.
win | Chain list Window |
true | Selection changed |
Definition at line 308 of file win_chain.c.
bool win_chain_append | ( | struct MuttWindow * | win, |
struct Remailer * | r | ||
) |
Add an item to the Chain, after the current item.
win | Chain list Window |
r | Selected Remailer host |
true | Item added to Chain |
Definition at line 335 of file win_chain.c.
bool win_chain_delete | ( | struct MuttWindow * | win | ) |
Delete the current item from the Chain.
win | Chain list Window |
true | Item deleted |
Definition at line 385 of file win_chain.c.
bool win_chain_insert | ( | struct MuttWindow * | win, |
struct Remailer * | r | ||
) |
Add an item to the Chain, before the current item.
win | Chain list Window |
r | Selected Remailer host |
true | Item added to Chain |
Definition at line 354 of file win_chain.c.
bool win_chain_validate | ( | struct MuttWindow * | win | ) |
Validate the Chain.
win | Chain list Window |
true | Chain is valid |
Definition at line 417 of file win_chain.c.