1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/****************************************************************
* *
* Copyright (c) 2001-2022 Fidelity National Information *
* Services, Inc. and/or its subsidiaries. All rights reserved. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
/* do_verify.c UNIX - call user-supplied collation type and version
* verification routine.
*/
#include "mdef.h"
#include "collseq.h"
int4 do_verify(collseq *csp, unsigned char type, unsigned char ver)
{
assert(NULL != csp);
return ((*csp->verify)(type,ver) == 0);
}
|