NeoMutt  2024-03-23-147-g885fbc
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, sizeof(struct EnvelopeWindowData));
54
55#ifdef USE_AUTOCRYPT
57#endif
58
59 return wdata;
60}
@ AUTOCRYPT_REC_OFF
No recommendations.
Definition: lib.h:159
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Definition: memory.c:50
Data to fill the Envelope Window.
Definition: wdata.h:38
enum AutocryptRec autocrypt_rec
Autocrypt recommendation.
Definition: wdata.h:50
+ Here is the call graph for this function:
+ Here is the caller graph for this function: