diff options
author | Edmond Chung <edmondchung@google.com> | 2019-09-30 11:27:13 -0700 |
---|---|---|
committer | Edmond Chung <edmondchung@google.com> | 2019-10-30 16:16:29 -0700 |
commit | ea7b982e5ddb2612e4e7b69cef170cb4fb1fdcf8 (patch) | |
tree | 4d396573e3293a7b7703e366211ecf824ac42e96 /lwis_transaction.h | |
parent | c4e17e0f4f2f90b1df5a6787b06d3ba6274776c6 (diff) | |
download | lwis-ea7b982e5ddb2612e4e7b69cef170cb4fb1fdcf8.tar.gz |
Use int64_t for event ID, counter and timestamps
Change-Id: I6ac411d944c0eaadeb74c243b3c9462e9c7a8e97
Signed-off-by: Edmond Chung <edmondchung@google.com>
Diffstat (limited to 'lwis_transaction.h')
-rw-r--r-- | lwis_transaction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lwis_transaction.h b/lwis_transaction.h index 3526f0d..3e1d65b 100644 --- a/lwis_transaction.h +++ b/lwis_transaction.h @@ -28,7 +28,7 @@ struct lwis_transaction { }; struct lwis_transaction_event_list { - uint64_t event_id; + int64_t event_id; struct list_head list; struct hlist_node node; }; @@ -39,9 +39,9 @@ int lwis_transaction_client_cleanup(struct lwis_client *client); int lwis_transaction_submit(struct lwis_client *client, struct lwis_transaction *transaction); int lwis_transaction_event_trigger(struct lwis_client *client, int64_t event_id, - uint64_t event_counter, + int64_t event_counter, struct list_head *pending_events, bool in_irq); -int lwis_transaction_cancel(struct lwis_client *client, uint64_t id); +int lwis_transaction_cancel(struct lwis_client *client, int64_t id); #endif /* LWIS_TRANSACTION_H_ */
\ No newline at end of file |