NeoMutt  2024-10-02-19-gb00cc4
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
adata.h
Go to the documentation of this file.
1
23#ifndef MUTT_NNTP_ADATA_H
24#define MUTT_NNTP_ADATA_H
25
26#include <stdbool.h>
27#include <stdio.h>
28#include <sys/types.h>
29
30struct Connection;
31
36{
37 bool hasCAPABILITIES : 1;
38 bool hasSTARTTLS : 1;
39 bool hasDATE : 1;
41 bool hasXGTITLE : 1;
42 bool hasLISTGROUP : 1;
44 bool hasOVER : 1;
45 bool hasXOVER : 1;
46 unsigned int use_tls : 3;
47 unsigned int status : 3;
48 bool cacheable : 1;
50 FILE *fp_newsrc;
54 off_t size;
55 time_t mtime;
57 time_t check_time;
58 unsigned int groups_num;
59 unsigned int groups_max;
62 struct Connection *conn;
63};
64
65void nntp_adata_free(void **ptr);
67
68#endif /* MUTT_NNTP_ADATA_H */
void nntp_adata_free(void **ptr)
Free the private Account data - Implements Account::adata_free() -.
Definition: adata.c:43
struct NntpAccountData * nntp_adata_new(struct Connection *conn)
Allocate and initialise a new NntpAccountData structure.
Definition: adata.c:65
A Hash Table.
Definition: hash.h:97
NNTP-specific Account data -.
Definition: adata.h:36
time_t newgroups_time
Definition: adata.h:56
bool newsrc_modified
Definition: adata.h:49
struct HashTable * groups_hash
Hash Table: "newsgroup" -> NntpMboxData.
Definition: adata.h:61
off_t size
Definition: adata.h:54
bool hasXOVER
Server supports XOVER command.
Definition: adata.h:45
struct Connection * conn
Connection to NNTP Server.
Definition: adata.h:62
unsigned int status
Definition: adata.h:47
char * authenticators
Definition: adata.h:52
char * overview_fmt
Definition: adata.h:53
bool hasXGTITLE
Server supports XGTITLE command.
Definition: adata.h:41
unsigned int groups_num
Definition: adata.h:58
bool hasCAPABILITIES
Server supports CAPABILITIES command.
Definition: adata.h:37
bool hasSTARTTLS
Server supports STARTTLS command.
Definition: adata.h:38
bool hasLISTGROUPrange
Server supports LISTGROUPrange command.
Definition: adata.h:43
time_t check_time
Definition: adata.h:57
time_t mtime
Definition: adata.h:55
unsigned int groups_max
Definition: adata.h:59
unsigned int use_tls
Definition: adata.h:46
bool hasLISTGROUP
Server supports LISTGROUP command.
Definition: adata.h:42
FILE * fp_newsrc
Definition: adata.h:50
void ** groups_list
Definition: adata.h:60
bool cacheable
Definition: adata.h:48
bool hasOVER
Server supports OVER command.
Definition: adata.h:44
char * newsrc_file
Definition: adata.h:51
bool hasDATE
Server supports DATE command.
Definition: adata.h:39
bool hasLIST_NEWSGROUPS
Server supports LIST_NEWSGROUPS command.
Definition: adata.h:40