Table of Contents
#include <ubf.h>
int Bsubset (UBFH *p_ubf1, UBFH *p_ubf2);
Link with -lubf -lnstd -lm -lpthread
If p_ubf2 occurrences, fields and values are found in p_ubf1 the function returns 1, if there are any differences, function returns 0 (not found). In case of error -1 is returned with Berror set accordingly.
Note that Bstrerror() returns generic error message plus custom message with debug info from last function call.
BEINVAL p_ubf1 or p_ubf2 are NULL pointers.
BNOTFLD p_ubf1 or p_ubf2 buffers not fielded, not correctly allocated or corrupted.
Report bugs to support@mavimax.com