pool_get_flag
v = pool_get_flag(pool, poolflags2str[i].flag);
int old = pool_get_flag(pool, flag);
extern int pool_get_flag(Pool *pool, int flag);