Added a function to build indexer names

This commit is contained in:
Celine Mercier
2016-04-22 17:08:23 +02:00
parent ffa4557928
commit 839b3000a8
2 changed files with 36 additions and 0 deletions

View File

@ -159,5 +159,20 @@ inline Obi_blob_p obi_indexer_get(Obi_indexer_p indexer, index_t idx)
}
/**
* @brief Builds an indexer name in the form columnname_columnversion_indexer.
*
* @param column_name The name of the column associated with the indexer.
* @param column_version The version of the column associated with the indexer.
*
* @returns A pointer on the indexer name built.
* @retval NULL if an error occurred.
*
* @since April 2016
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
char* obi_build_indexer_name(const char* column_name, obiversion_t column_version)
#endif /* OBIBLOB_INDEXER_H_ */