NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
chain_data.h
Go to the documentation of this file.
1
23#ifndef MUTT_MIXMASTER_CHAIN_DATA_H
24#define MUTT_MIXMASTER_CHAIN_DATA_H
25
26struct MuttWindow;
27
29#define MAX_MIXES 19
30
34struct Coord
35{
36 short row;
37 short col;
38};
39
46{
47 int sel;
51 struct RemailerArray *ra;
53};
54
55struct ChainData *chain_data_new(void);
56void chain_data_free(struct MuttWindow *win, void **ptr);
57
58#endif /* MUTT_MIXMASTER_CHAIN_DATA_H */
struct ChainData * chain_data_new(void)
Create new Chain data.
Definition: chain_data.c:37
#define MAX_MIXES
Mixmaster's maximum chain length. Don't change this.
Definition: chain_data.h:29
void chain_data_free(struct MuttWindow *win, void **ptr)
Free the Chain data - Implements MuttWindow::wdata_free() -.
Definition: chain_data.c:45
An ordered set of Remailer hosts.
Definition: chain_data.h:46
int chain_len
Length of chain.
Definition: chain_data.h:48
struct RemailerArray * ra
Array of all Remailer hosts.
Definition: chain_data.h:51
struct MuttWindow * win_cbar
Chain Bar (status window)
Definition: chain_data.h:52
int chain[MAX_MIXES]
Indexes of chain hosts.
Definition: chain_data.h:49
int sel
Current selection.
Definition: chain_data.h:47
struct Coord coords[MAX_MIXES]
Screen coordinates of each entry.
Definition: chain_data.h:50
Screen coordinates.
Definition: chain_data.h:35
short col
Column.
Definition: chain_data.h:37
short row
Row.
Definition: chain_data.h:36