| 2795 | |
| 2796 | |
| 2797 | static bool check_request(Rrq* request, USHORT incarnation, USHORT msg_number) |
| 2798 | { |
| 2799 | /************************************** |
| 2800 | * |
| 2801 | * c h e c k _ r e q u e s t |
| 2802 | * |
| 2803 | ************************************** |
| 2804 | * |
| 2805 | * Functional description |
| 2806 | * Check to see if a request is ready to send us a particular |
| 2807 | * message. If so, return true, otherwise false. |
| 2808 | * |
| 2809 | **************************************/ |
| 2810 | USHORT n; |
| 2811 | |
| 2812 | if (!get_next_msg_no(request, incarnation, &n)) |
| 2813 | return false; |
| 2814 | |
| 2815 | return msg_number == n; |
| 2816 | } |
| 2817 | |
| 2818 | |
| 2819 | static USHORT check_statement_type( Rsr* statement) |
no test coverage detected