NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
wdata.c File Reference

Envelope Window Data. More...

#include "config.h"
#include "mutt/lib.h"
#include "wdata.h"
#include "autocrypt/lib.h"
+ Include dependency graph for wdata.c:

Go to the source code of this file.

Functions

void env_wdata_free (struct MuttWindow *win, void **ptr)
 Free the Envelope Data - Implements MuttWindow::wdata_free() -.
 
struct EnvelopeWindowDataenv_wdata_new (void)
 Create new Envelope Data.
 

Detailed Description

Envelope Window 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 wdata.c.

Function Documentation

◆ env_wdata_new()

struct EnvelopeWindowData * env_wdata_new ( void  )

Create new Envelope Data.

Return values
ptrNew Envelope Data

Definition at line 51 of file wdata.c.

52{
53 struct EnvelopeWindowData *wdata = MUTT_MEM_CALLOC(1, struct EnvelopeWindowData);
54
55#ifdef USE_AUTOCRYPT
57#endif
58
59 return wdata;
60}
@ AUTOCRYPT_REC_OFF
No recommendations.
Definition: lib.h:163
#define MUTT_MEM_CALLOC(n, type)
Definition: memory.h:40
Data to fill the Envelope Window.
Definition: wdata.h:38
enum AutocryptRec autocrypt_rec
Autocrypt recommendation.
Definition: wdata.h:50
+ Here is the caller graph for this function: