| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define NNTP_DATE_SIZE struct CamelNNTPStoreInfo; struct CamelNNTPStoreSummary; CamelNNTPStoreSummary * camel_nntp_store_summary_new (void); gchar * camel_nntp_store_summary_full_to_path (CamelNNTPStoreSummary *s,const gchar *full_name,gchar dir_sep); gchar * camel_nntp_store_summary_path_to_full (CamelNNTPStoreSummary *s,const gchar *path,gchar dir_sep); gchar * camel_nntp_store_summary_dotted_to_full (CamelNNTPStoreSummary *s,const gchar *dotted,gchar dir_sep); CamelNNTPStoreInfo * camel_nntp_store_summary_full_name (CamelNNTPStoreSummary *s,const gchar *full_name); CamelNNTPStoreInfo * camel_nntp_store_summary_add_from_full (CamelNNTPStoreSummary *s,const gchar *full_name,gchar dir_sep); gchar * camel_nntp_store_summary_full_from_path (CamelNNTPStoreSummary *s,const gchar *path);
struct CamelNNTPStoreInfo {
CamelStoreInfo info;
gchar *full_name;
guint32 first; /* from LIST or NEWGROUPS return */
guint32 last;
};
CamelNNTPStoreSummary * camel_nntp_store_summary_new (void);
Create a new CamelNNTPStoreSummary object.
Returns : |
A new CamelNNTPStoreSummary widget. |
gchar * camel_nntp_store_summary_full_to_path (CamelNNTPStoreSummary *s,const gchar *full_name,gchar dir_sep);
gchar * camel_nntp_store_summary_path_to_full (CamelNNTPStoreSummary *s,const gchar *path,gchar dir_sep);
gchar * camel_nntp_store_summary_dotted_to_full (CamelNNTPStoreSummary *s,const gchar *dotted,gchar dir_sep);
CamelNNTPStoreInfo * camel_nntp_store_summary_full_name (CamelNNTPStoreSummary *s,const gchar *full_name);
Retrieve a summary item by full name.
The returned CamelNNTPStoreInfo is referenced for thread-safety and should
be unreferenced with camel_store_summary_info_unref() when finished with it.
Returns : |
The summary item, or NULL if the full_name name
is not available. |
CamelNNTPStoreInfo * camel_nntp_store_summary_add_from_full (CamelNNTPStoreSummary *s,const gchar *full_name,gchar dir_sep);
gchar * camel_nntp_store_summary_full_from_path (CamelNNTPStoreSummary *s,const gchar *path);