| 1349 | |
| 1350 | |
| 1351 | static int set_hdr_str(TEXT header_str[], const TEXT* in_str, SLONG pos, SLONG len) |
| 1352 | { |
| 1353 | /******************************************************************** |
| 1354 | ** |
| 1355 | ** s e t _ h d r _ s t r |
| 1356 | ** |
| 1357 | ********************************************************************* |
| 1358 | ** |
| 1359 | ** Functional description: |
| 1360 | ** |
| 1361 | ** initialyze header string |
| 1362 | ** |
| 1363 | ********************************************************************* |
| 1364 | */ |
| 1365 | const TEXT* t_str = in_str; |
| 1366 | const SLONG end = pos + len; |
| 1367 | |
| 1368 | for (SLONG indx = pos; indx < end; indx++) |
| 1369 | { |
| 1370 | switch (*t_str) |
| 1371 | { |
| 1372 | case NEW_LINE: |
| 1373 | case TERMINAL: |
| 1374 | header_str[indx] = ' '; |
| 1375 | break; |
| 1376 | default: |
| 1377 | header_str[indx] = *t_str; |
| 1378 | break; |
| 1379 | } |
| 1380 | ++t_str; |
| 1381 | } |
| 1382 | return FB_SUCCESS; |
| 1383 | } |
| 1384 | |
| 1385 | |
| 1386 | static int free_file_list( b_fil* file_list) |
no outgoing calls
no test coverage detected