| 2300 | |
| 2301 | |
| 2302 | void API_ROUTINE isc_format_implementation(USHORT impl_nr, |
| 2303 | USHORT ibuflen, TEXT* ibuf, |
| 2304 | USHORT impl_class_nr, |
| 2305 | USHORT cbuflen, TEXT* cbuf) |
| 2306 | { |
| 2307 | /************************************** |
| 2308 | * |
| 2309 | * i s c _ f o r m a t _ i m p l e m e n t a t i o n |
| 2310 | * |
| 2311 | ************************************** |
| 2312 | * |
| 2313 | * Functional description |
| 2314 | * Convert the implementation and class codes to strings |
| 2315 | * by looking up their values in the internal tables. |
| 2316 | * |
| 2317 | **************************************/ |
| 2318 | if (ibuflen > 0) |
| 2319 | { |
| 2320 | string imp = |
| 2321 | DbImplementation::fromBackwardCompatibleByte(impl_nr).implementation(); |
| 2322 | imp.copyTo(ibuf, ibuflen); |
| 2323 | } |
| 2324 | |
| 2325 | if (cbuflen > 0) |
| 2326 | { |
| 2327 | if (impl_class_nr >= FB_NELEM(impl_class) || !(impl_class[impl_class_nr])) |
| 2328 | fb_utils::copy_terminate(cbuf, "**unknown**", cbuflen); |
| 2329 | else |
| 2330 | fb_utils::copy_terminate(cbuf, impl_class[impl_class_nr], cbuflen); |
| 2331 | } |
| 2332 | |
| 2333 | } |
| 2334 | |
| 2335 | |
| 2336 | uintptr_t API_ROUTINE isc_baddress(SCHAR* object) |
nothing calls this directly
no test coverage detected