summaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-27 15:10:28 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-29 01:10:07 +0100
commit490b38f57a24726f3e3493fc3500cda526c5d0aa (patch)
treea0b31dc95460e9e9a71c271b19b5536f0156f008 /src/gsm
parented197fd4f923512fca5b93b90c2132845896fa59 (diff)
stats: Use function pointers in reporter objects
Currently case statements are used to select the right reporter functions. This makes it difficult to add new reporter types, especially if they are not going to reside in the same file. This commit introduces per reporter function pointer for open, close, send_count, and send_item. They are checked for non-NULL before being called or skipped. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gsm')
0 files changed, 0 insertions, 0 deletions