summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/timer.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-17 10:33:57 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-17 10:34:15 +0200
commit8ce6f488b6e6bf091e53f49f20bb4f43de82f1d3 (patch)
treee94c84ad6d8c7b8ff2de6a63f97faec7eba2e751 /include/osmocom/core/timer.h
parent0b6fcb0349a608023d971d576fe2ee6af18dcb45 (diff)
msgb: Introduce msgb_{de,en}queue_count APIs
It's a common pattern having a list of msgb and having to maintain its size (for instance, to limit the maximum size of the list). Having the counter updated at the same time that the msgb is enqueued or dequeued helps avoiding introducing new bugs by forgetting to update the size counter at the right places. Change-Id: I33b501e89a8f29e4aa121696bcbb13d4b83db40f
Diffstat (limited to 'include/osmocom/core/timer.h')
0 files changed, 0 insertions, 0 deletions