Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── CamelObject ╰── CamelService ╰── CamelStore ╰── CamelOfflineStore ╰── CamelNNTPStore
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.
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.
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.
const gchar *
camel_nntp_store_get_current_group (CamelNNTPStore *nntp_store
);
Returns the currently selected newsgroup name, or NULL
if no newsgroup
is selected.
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.
void camel_nntp_store_set_current_group (CamelNNTPStore *nntp_store
,const gchar *current_group
);
Sets the name of the currently selected newsgroup.
void camel_nntp_store_add_capabilities (CamelNNTPStore *nntp_store
,CamelNNTPCapabilities caps
);
Adds caps
to the set of known capabilities for nntp_store
.
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
.
void camel_nntp_store_remove_capabilities (CamelNNTPStore *nntp_store
,CamelNNTPCapabilities caps
);
Removes caps
from the set of known capablities for nntp_store
.
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
,...
);