* NAME: data->getsl() * DESCRIPTION: marshal 4 signed bytes into local host format */
| 125 | * DESCRIPTION: marshal 4 signed bytes into local host format |
| 126 | */ |
| 127 | signed long d_getsl(register const unsigned char *ptr) |
| 128 | { |
| 129 | return |
| 130 | ((( signed long) ptr[0] << 24) | |
| 131 | ((unsigned long) ptr[1] << 16) | |
| 132 | ((unsigned long) ptr[2] << 8) | |
| 133 | ((unsigned long) ptr[3] << 0)); |
| 134 | } |
| 135 | |
| 136 | /* |
| 137 | * NAME: data->getul() |
no outgoing calls
no test coverage detected