| 1307 | |
| 1308 | |
| 1309 | static CLIStatus endcall(int argc, char **argv, ostream& os) |
| 1310 | { |
| 1311 | if (argc!=2) return BAD_NUM_ARGS; |
| 1312 | TranEntryId tid = transactionId(argv[1]); |
| 1313 | if (tid == 0) { |
| 1314 | os << argv[1] << " is not a valid transaction id"; |
| 1315 | return BAD_VALUE; |
| 1316 | } |
| 1317 | if (! gNewTransactionTable.ttTerminate(tid)) { |
| 1318 | os << argv[1] << " not found in transaction table"; |
| 1319 | return BAD_VALUE; |
| 1320 | } |
| 1321 | return SUCCESS; |
| 1322 | } |
| 1323 | |
| 1324 | |
| 1325 | static void addGprsInfo(vector<string> &row, const GSM::L2LogicalChannel* chan) |
nothing calls this directly
no test coverage detected