01b4d1dbf86b52daa49cf17744625349558d1890
angie
  Mon Sep 17 09:58:51 2012 -0700
Expose vcfFilePooledStr to callers (for example to share allele storage).
diff --git src/inc/vcf.h src/inc/vcf.h
index 6ff5399..1c55a25 100644
--- src/inc/vcf.h
+++ src/inc/vcf.h
@@ -212,21 +212,24 @@
 struct vcfInfoDef *vcfInfoDefForKey(struct vcfFile *vcff, const char *key);
 /* Return infoDef for key, or NULL if it wasn't specified in the header or VCF spec. */
 
 void vcfParseGenotypes(struct vcfRecord *record);
 /* Translate record->genotypesUnparsedStrings[] into proper struct vcfGenotype[].
  * This destroys genotypesUnparsedStrings. */
 
 const struct vcfGenotype *vcfRecordFindGenotype(struct vcfRecord *record, char *sampleId);
 /* Find the genotype and associated info for the individual, or return NULL.
  * This calls vcfParseGenotypes if it has not already been called. */
 
 struct vcfInfoDef *vcfInfoDefForGtKey(struct vcfFile *vcff, const char *key);
 /* Look up the type of genotype FORMAT component key, in the definitions from the header,
  * and failing that, from the keys reserved in the spec. */
 
+char *vcfFilePooledStr(struct vcfFile *vcff, char *str);
+/* Allocate memory for a string from vcff's shared string pool. */
+
 #define VCF_NUM_COLS 10
 
 struct asObject *vcfAsObj();
 // Return asObject describing fields of VCF
 
 #endif // vcf_h