Data structures and functions for managing collections. 
◆ j_collection_create()
Creates a collection.
- Parameters
 - 
  
    | name | A name for the new collection.  | 
    | batch | A batch.  | 
  
   
 
 
◆ j_collection_delete()
Deletes a collection.
- Parameters
 - 
  
    | collection | A collection.  | 
    | batch | A batch.  | 
  
   
 
 
◆ j_collection_get()
      
        
          | void j_collection_get  | 
          ( | 
          JCollection **  | 
          collection,  | 
        
        
           | 
           | 
          gchar const *  | 
          name,  | 
        
        
           | 
           | 
          JBatch *  | 
          batch  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gets a collection.
- Parameters
 - 
  
    | collection | A pointer to a collection.  | 
    | name | A name.  | 
    | batch | A batch.  | 
  
   
 
 
◆ j_collection_get_name()
      
        
          | gchar const  * j_collection_get_name  | 
          ( | 
          JCollection *  | 
          collection | ) | 
           | 
        
      
 
Returns a collection's name.
- Parameters
 - 
  
  
 
- Returns
 - A collection name. 
 
 
 
◆ j_collection_new()
Creates a new collection.
 
G_GNUC_INTERNAL JCollection * j_collection_new(gchar const *name)
Definition jcollection.c:174
 
Definition jcollection.c:48
 
 - Parameters
 - 
  
  
 
- Returns
 - A new collection. Should be freed with j_collection_unref(). 
 
 
 
◆ j_collection_ref()
Increases a collection's reference count.
 
JCollection * j_collection_ref(JCollection *collection)
Definition jcollection.c:70
 
 - Parameters
 - 
  
  
 
- Returns
 collection. 
 
 
◆ j_collection_unref()
Decreases a collection's reference count. When the reference count reaches zero, frees the memory allocated for the collection.
- Parameters
 -