This array is used to map TPM command codes to human readable strings. Given where it lives (https://github.com/01org/TPM2.0-TSS/blob/master/sysapi/sysapi_util/debug.c) it's probably for debug purposes. Exposing this data from libtss2 implicitly while having the TCTIs declare it as extern makes it a hidden part of our API. Worse yet it requires that libraries using libtss2 and wanting this function have unresolved symbols. This should be avoided if at all possible.
Try wrapping this in a function, exposing it through the tss2 headers (a specific 'debug' or 'util' header?).
This array is used to map TPM command codes to human readable strings. Given where it lives (https://github.com/01org/TPM2.0-TSS/blob/master/sysapi/sysapi_util/debug.c) it's probably for debug purposes. Exposing this data from libtss2 implicitly while having the TCTIs declare it as extern makes it a hidden part of our API. Worse yet it requires that libraries using libtss2 and wanting this function have unresolved symbols. This should be avoided if at all possible.
Try wrapping this in a function, exposing it through the tss2 headers (a specific 'debug' or 'util' header?).