|  |  |  | Camel Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
enum xover_t; struct xover_header; struct CamelNNTPStore; CamelDataCache * camel_nntp_store_ref_cache (CamelNNTPStore *nntp_store); CamelNNTPStream * camel_nntp_store_ref_stream (CamelNNTPStore *nntp_store); CamelNNTPStoreSummary * camel_nntp_store_ref_summary (CamelNNTPStore *nntp_store); const gchar * camel_nntp_store_get_current_group (CamelNNTPStore *nntp_store); gchar * camel_nntp_store_dup_current_group (CamelNNTPStore *nntp_store); void camel_nntp_store_set_current_group (CamelNNTPStore *nntp_store,const gchar *current_group); enum CamelNNTPCapabilities; void camel_nntp_store_add_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps); gboolean camel_nntp_store_has_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps); void camel_nntp_store_remove_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps); gint camel_nntp_raw_commandv (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,va_list ap); gint camel_nntp_raw_command (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,...); gint camel_nntp_raw_command_auth (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,...); gint camel_nntp_command (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,struct _CamelNNTPFolder *folder,gchar **line,const gchar *fmt,...);
GObject +----CamelObject +----CamelService +----CamelStore +----CamelOfflineStore +----CamelNNTPStore
CamelNNTPStore implements GInitable, CamelNetworkService and CamelSubscribable.
struct xover_header {
	struct _xover_header *next;
	const gchar *name;
	guint skip : 8;
	xover_t type : 8;
};
CamelDataCache *    camel_nntp_store_ref_cache          (CamelNNTPStore *nntp_store);
Returns the CamelDataCache for nntp_store.
The returned CamelDataCache is referenced for thread-safety and must
be unreferenced with g_object_unref() when finished with it.
| 
 | a CamelNNTPStore | 
| Returns : | a CamelDataCache | 
CamelNNTPStream *   camel_nntp_store_ref_stream         (CamelNNTPStore *nntp_store);
Returns the CamelNNTPStream for nntp_store.
The returned CamelNNTPStream is referenced for thread-safety and must
be unreferenced with g_object_unref() when finished with it.
| 
 | a CamelNNTPStore | 
| Returns : | a CamelNNTPStream | 
CamelNNTPStoreSummary * camel_nntp_store_ref_summary    (CamelNNTPStore *nntp_store);
Returns the CamelNNTPStoreSummary for nntp_store.
The returned CamelNNTPStoreSummary is referenced for thread-safety and
must be unreferenced with g_object_unref() when finished with it.
| 
 | a CamelNNTPStore | 
| Returns : | a CamelNNTPStoreSummary | 
const gchar *       camel_nntp_store_get_current_group  (CamelNNTPStore *nntp_store);
Returns the currently selected newsgroup name, or NULL if no newsgroup
is selected.
| 
 | a CamelNNTPStore | 
| Returns : | the currently selected newsgroup name, or NULL | 
gchar *             camel_nntp_store_dup_current_group  (CamelNNTPStore *nntp_store);
Thread-safe variation of camel_nntp_store_get_current_group().
Use this function when accessing nntp_store from multiple threads.
The returned string should be freed with g_free() when no longer needed.
| 
 | a CamelNNTPStore | 
| Returns : | a newly-allocated string, or NULL | 
void camel_nntp_store_set_current_group (CamelNNTPStore *nntp_store,const gchar *current_group);
Sets the name of the currently selected newsgroup.
| 
 | a CamelNNTPStore | 
| 
 | a newsgroup name | 
typedef enum {
	CAMEL_NNTP_CAPABILITY_OVER = 1 << 0  /* supports OVER command */
} CamelNNTPCapabilities;
void camel_nntp_store_add_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps);
Adds caps to the set of known capabilities for nntp_store.
| 
 | a CamelNNTPStore | 
| 
 | CamelNNTPCapabilities to add | 
gboolean camel_nntp_store_has_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps);
Returns whether the set of known capabilities for nntp_store includes
ALL the capabilities specified by caps.
| 
 | a CamelNNTPStore | 
| 
 | CamelNNTPCapabilities to check | 
| Returns : | TRUEifnntp_storeincludes ALL capabilities incaps | 
void camel_nntp_store_remove_capabilities (CamelNNTPStore *nntp_store,CamelNNTPCapabilities caps);
Removes caps from the set of known capablities for nntp_store.
| 
 | a CamelNNTPStore | 
| 
 | CamelNNTPCapabilities to remove | 
gint camel_nntp_raw_commandv (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,va_list ap);
gint camel_nntp_raw_command (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,...);
gint camel_nntp_raw_command_auth (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,gchar **line,const gchar *fmt,...);
gint camel_nntp_command (CamelNNTPStore *nntp_store,GCancellable *cancellable,GError **error,struct _CamelNNTPFolder *folder,gchar **line,const gchar *fmt,...);