CamelNNTPStore
3
CAMEL Library

# CamelNNTPStore

## Synopsis

                        CamelNNTPStore;
    #define             CAMEL_NNTP_EXT_SEARCH
    #define             CAMEL_NNTP_EXT_SETGET
    #define             CAMEL_NNTP_EXT_OVER
    #define             CAMEL_NNTP_EXT_XPATTEXT
    #define             CAMEL_NNTP_EXT_XACTIVE
    #define             CAMEL_NNTP_EXT_LISTMOTD
    #define             CAMEL_NNTP_EXT_LISTSUBSCR
    #define             CAMEL_NNTP_EXT_LISTPNAMES
    enum                xover_t;
    struct              xover_header;
    int                 camel_nntp_raw_commandv             (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             va_list ap);
    int                 camel_nntp_raw_command              (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);
    int                 camel_nntp_raw_command_auth         (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);
    int                 camel_nntp_command                  (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             struct _CamelNNTPFolder *folder,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);

## Description

## Details

### CamelNNTPStore

    typedef struct {
    	CamelDiscoStore parent_object;

    	struct _CamelNNTPStorePrivate *priv;

    	guint32 extensions;

    	unsigned int posting_allowed:1;
    	unsigned int do_short_folder_notation:1;
    	unsigned int folder_hierarchy_relative:1;

    	struct _CamelNNTPStoreSummary *summary;

    	struct _CamelNNTPStream *stream;
    	struct _CamelStreamMem *mem;

    	struct _CamelDataCache *cache;

    	char *current_folder, *storage_path, *base_url;

    	struct _xover_header *xover;
    } CamelNNTPStore;

### CAMEL_NNTP_EXT_SEARCH

    #define CAMEL_NNTP_EXT_SEARCH     (1<<0)

### CAMEL_NNTP_EXT_SETGET

    #define CAMEL_NNTP_EXT_SETGET     (1<<1)

### CAMEL_NNTP_EXT_OVER

    #define CAMEL_NNTP_EXT_OVER       (1<<2)

### CAMEL_NNTP_EXT_XPATTEXT

    #define CAMEL_NNTP_EXT_XPATTEXT   (1<<3)

### CAMEL_NNTP_EXT_XACTIVE

    #define CAMEL_NNTP_EXT_XACTIVE    (1<<4)

### CAMEL_NNTP_EXT_LISTMOTD

    #define CAMEL_NNTP_EXT_LISTMOTD   (1<<5)

### CAMEL_NNTP_EXT_LISTSUBSCR

    #define CAMEL_NNTP_EXT_LISTSUBSCR (1<<6)

### CAMEL_NNTP_EXT_LISTPNAMES

    #define CAMEL_NNTP_EXT_LISTPNAMES (1<<7)

### enum xover_t

    typedef enum _xover_t {
    	XOVER_STRING = 0,
    	XOVER_MSGID,
    	XOVER_SIZE,
    } xover_t;

### struct xover_header

    struct xover_header {
    	struct _xover_header *next;

    	const char *name;
    	unsigned int skip:8;
    	xover_t type:8;
    };

### camel_nntp_raw_commandv ()

    int                 camel_nntp_raw_commandv             (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             va_list ap);

`store` :

`ex` :

`line` :

`fmt` :

`ap` :

Returns :

### camel_nntp_raw_command ()

    int                 camel_nntp_raw_command              (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);

`store` :

`ex` :

`line` :

`fmt` :

`...` :

Returns :

### camel_nntp_raw_command_auth ()

    int                 camel_nntp_raw_command_auth         (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);

`store` :

`ex` :

`line` :

`fmt` :

`...` :

Returns :

### camel_nntp_command ()

    int                 camel_nntp_command                  (CamelNNTPStore *store,
                                                             struct _CamelException *ex,
                                                             struct _CamelNNTPFolder *folder,
                                                             char **line,
                                                             const char *fmt,
                                                             ...);

`store` :

`ex` :

`folder` :

`line` :

`fmt` :

`...` :

Returns :