NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
chain_data.h File Reference

Mixmaster Chain Data. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Coord
 Screen coordinates. More...
 
struct  ChainData
 An ordered set of Remailer hosts. More...
 

Macros

#define MAX_MIXES   19
 Mixmaster's maximum chain length. Don't change this.
 

Functions

struct ChainDatachain_data_new (void)
 Create new Chain data.
 
void chain_data_free (struct MuttWindow *win, void **ptr)
 Free the Chain data - Implements MuttWindow::wdata_free() -.
 

Detailed Description

Mixmaster Chain Data.

Authors
  • Richard Russon

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 chain_data.h.

Macro Definition Documentation

◆ MAX_MIXES

#define MAX_MIXES   19

Mixmaster's maximum chain length. Don't change this.

Definition at line 29 of file chain_data.h.

Function Documentation

◆ chain_data_new()

struct ChainData * chain_data_new ( void  )

Create new Chain data.

Return values
ptrNew Chain data

Definition at line 37 of file chain_data.c.

38{
39 return mutt_mem_calloc(1, sizeof(struct ChainData));
40}
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
An ordered set of Remailer hosts.
Definition: chain_data.h:46
+ Here is the call graph for this function:
+ Here is the caller graph for this function: