Fix modest_tny_msg_header_get_all_recipients_list (in case from is empty)
[modest] / src / modest-cache-mgr.h
index 32205e8..3577140 100644 (file)
@@ -61,6 +61,7 @@ typedef enum {
        MODEST_CACHE_MGR_CACHE_TYPE_DATE_STRING,       /* time_t => string */
        MODEST_CACHE_MGR_CACHE_TYPE_DISPLAY_STRING,    /* gchar* => gchar* */
        MODEST_CACHE_MGR_CACHE_TYPE_PIXBUF,            /* gchar* => GdkPixbuf */
+       MODEST_CACHE_MGR_CACHE_TYPE_SEND_QUEUE,        /* TnyAccount* => TnySendQueue* */
 
        MODEST_CACHE_MGR_CACHE_TYPE_NUM
 } ModestCacheMgrCacheType;
@@ -92,10 +93,7 @@ ModestCacheMgr*    modest_cache_mgr_new          (void);
  * 
  * get the cache (GHashTable) of the requested type
  * 
- * Returns: the requested cache (GHashTable) or NULL in case caching
- * has been disabled (MODEST_DEBUG_DISABLE_CACHE); clients are supposed
- * to handle that case
- * 
+ * Returns: the requested cache (GHashTable)  
  * the returned  hashtable should NOT be destroyed or unref'd.
  */
 GHashTable*     modest_cache_mgr_get_cache    (ModestCacheMgr* self, ModestCacheMgrCacheType type);
@@ -125,7 +123,7 @@ void            modest_cache_mgr_flush_all    (ModestCacheMgr *self);
  * @self: a valid cache mgr obj
  * @type: a valid cache mgr cache type
  *
- * get the size (number of <key,value>-pairs) in the cache
+ * get the size (number of [key,value]-pairs) in the cache
  * 
  * Returns: the size of the give cache type 
  */