| 7687 | }; |
| 7688 | |
| 7689 | staticfn const char * |
| 7690 | msgtype2name(int typ) |
| 7691 | { |
| 7692 | int i; |
| 7693 | |
| 7694 | for (i = 0; i < SIZE(msgtype_names); i++) |
| 7695 | if (msgtype_names[i].descr && msgtype_names[i].msgtyp == typ) |
| 7696 | return msgtype_names[i].name; |
| 7697 | return (char *) 0; |
| 7698 | } |
| 7699 | |
| 7700 | staticfn int |
| 7701 | query_msgtype(void) |
no outgoing calls
no test coverage detected