diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-08-21 10:01:37 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-10-02 09:06:04 +0200 |
commit | ad3c88e064aa4696affa2e1c69141117a533497e (patch) | |
tree | e2a1048497eb2a9cf551510461528f1f930aa0ce /src/amps/transaction.h | |
parent | 17930af9203be9b05a3483750fb3fe8c764d81a0 (diff) |
AMPS: Callref is moved completely to transaction object
Diffstat (limited to 'src/amps/transaction.h')
-rw-r--r-- | src/amps/transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amps/transaction.h b/src/amps/transaction.h index cc062b3..5240991 100644 --- a/src/amps/transaction.h +++ b/src/amps/transaction.h @@ -24,6 +24,8 @@ enum amps_trans_state { typedef struct transaction { struct transaction *next; /* pointer to next node in list */ amps_t *amps; /* pointer to amps instance */ + int callref; /* call reference */ + int page_retry; /* current number of paging (re)try */ uint32_t min1; /* current station ID (2 values) */ uint16_t min2; uint8_t msg_type; /* message type (3 values) */ @@ -42,6 +44,7 @@ void link_transaction(transaction_t *trans, amps_t *amps); void unlink_transaction(transaction_t *trans); transaction_t *search_transaction(amps_t *amps, uint32_t state_mask); transaction_t *search_transaction_number(amps_t *amps, uint32_t min1, uint16_t min2); +transaction_t *search_transaction_callref(amps_t *amps, int callref); void trans_new_state(transaction_t *trans, int state); void amps_flush_other_transactions(amps_t *amps, transaction_t *trans); void transaction_timeout(struct timer *timer); |