| 200 | |
| 201 | |
| 202 | int MOV_get_string_ptr(Jrd::thread_db* tdbb, |
| 203 | const dsc* desc, |
| 204 | USHORT* ttype, |
| 205 | UCHAR** address, vary* temp, USHORT length) |
| 206 | { |
| 207 | /************************************** |
| 208 | * |
| 209 | * M O V _ g e t _ s t r i n g _ p t r |
| 210 | * |
| 211 | ************************************** |
| 212 | * |
| 213 | * Functional description |
| 214 | * Get address and length of string, converting the value to |
| 215 | * string, if necessary. The caller must provide a sufficiently |
| 216 | * large temporary. The address of the resultant string is returned |
| 217 | * by reference. Get_string returns the length of the string. |
| 218 | * |
| 219 | * Note: If the descriptor is known to be a string type, the third |
| 220 | * argument (temp buffer) may be omitted. |
| 221 | * |
| 222 | **************************************/ |
| 223 | |
| 224 | return CVT_get_string_ptr(desc, ttype, address, temp, length, tdbb->getAttachment()->att_dec_status); |
| 225 | } |
| 226 | |
| 227 | |
| 228 | int MOV_get_string(Jrd::thread_db* tdbb, const dsc* desc, UCHAR** address, vary* temp, USHORT length) |
no test coverage detected