Returns TRUE if the BLOB reference looks OK.
Returns FALSE if the BLOB reference is not valid.
pbms = pbms_connect("localhost", 8080, "aDatabase"); // Create a BLOB pbms_put_data(pbms, "bobtest", blob_ref, strlen("A tiny BLOB"), "A tiny BLOB"); if (pbms_is_blob_reference(pbms, blob_ref)) printf("Yes \"%s\" is a blob reference as expected.\n", blob_ref ); else printf("OOPS! \"%s\" is NOT a blob reference as expected. There is a bug in the PBMS API. :(\n", blob_ref ); if (pbms_is_blob_reference(pbms, "myBLOB")) printf("OOPS! \"BLOB\" should not be a blob reference. There is a bug in the PBMS API. :(\n"); else printf("No \"myBLOB\" is not a BLOB reference.\n" ); pbms_close(pbms);