Skip to contentSkip to conversation

new interface to columns.h: making assumptions

DISCUSSION Jim Meyering 1 participant 1 message Aug 31, 2007

lore
Share & tools
lore
#0 lore raw

Hi Alasdair,

Regarding lvs-like code and columns.h,

Per our discussion, I'm assuming that all values are "string" or "numeric" (aka intmax_t). This leads to cleaner app code (and fewer public symbols), e.g., a boolean function to test whether a value is string/numeric vs. one to return an enum like LVM_STR, LVM_NUM, LVM_WHATEVER_ELSE. However, you spoke of adding new columns to columns.h. If you think there's a significant chance of adding a new column that is neither string nor numeric, please let me know.

Jim