* Access2String * */
| 677 | * |
| 678 | */ |
| 679 | char* |
| 680 | adfAccess2String(int32_t acc) |
| 681 | { |
| 682 | static char ret[8+1]; |
| 683 | |
| 684 | strcpy(ret,"----rwed"); |
| 685 | if (hasD(acc)) ret[7]='-'; |
| 686 | if (hasE(acc)) ret[6]='-'; |
| 687 | if (hasW(acc)) ret[5]='-'; |
| 688 | if (hasR(acc)) ret[4]='-'; |
| 689 | if (hasA(acc)) ret[3]='a'; |
| 690 | if (hasP(acc)) ret[2]='p'; |
| 691 | if (hasS(acc)) ret[1]='s'; |
| 692 | if (hasH(acc)) ret[0]='h'; |
| 693 | |
| 694 | return(ret); |
| 695 | } |
| 696 | |
| 697 | |
| 698 | /* |