| 212 | } |
| 213 | |
| 214 | int |
| 215 | ars_close(ROT *rot) |
| 216 | { |
| 217 | struct ars_priv_data *priv = (struct ars_priv_data *)ROTSTATE(rot)->priv; |
| 218 | |
| 219 | pthread_cancel(priv->thread); |
| 220 | |
| 221 | /* leave it in safe state */ |
| 222 | ars_stop(rot); |
| 223 | |
| 224 | return RIG_OK; |
| 225 | } |
| 226 | |
| 227 | int |
| 228 | ars_stop(ROT *rot) |
nothing calls this directly
no test coverage detected