| 622 | return buf; |
| 623 | } |
| 624 | char * |
| 625 | complex_dump(uchar *a) |
| 626 | { |
| 627 | int i; |
| 628 | uchar *uc = a; |
| 629 | static char buf[50]; |
| 630 | unsigned x[10]; |
| 631 | |
| 632 | for (i = 0; i < SIZE(x); ++i) { |
| 633 | x[i] = *uc++; |
| 634 | } |
| 635 | Snprintf(buf, sizeof buf, "%03x %03x %03x %03x %03x %03x %03x %03x %03x %03x", |
| 636 | x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9]); |
| 637 | buf[40] = '\0'; |
| 638 | return buf; |
| 639 | } |
| 640 | /* |
| 641 | *---------------------------------------------------------------------------- |
| 642 | * initialize the function pointers. These are called from initoptions_init(). |
no outgoing calls
no test coverage detected