Bproj — projection on buffer
#include <ubf.h>
int Bproj (UBFH * p_ub, BFLDID * fldlist);
Link with -lubf -lnstd -lm -lpthread
This function removes any un-needed field from buffer p_ub and keeps only the list of field identifiers found in fldlist array. The array must be terminated with BBADFLDID.
On success, Bproj() return zero; on error, -1 is returned, with Berror set to indicate the error.