[MERGED] libosmocore[master]: Expand bit pretty-printer

2017-09-18 Thread Max
Max has submitted this change and it was merged. Change subject: Expand bit pretty-printer .. Expand bit pretty-printer Add OSMO_BIT_PRINT_EX() which is like OSMO_BIT_PRINT() but allows to specify character to be printed for

libosmocore[master]: Expand bit pretty-printer

2017-09-18 Thread Harald Welte
Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/3915 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I72528bc1e376134c5a7b6e7a50c48e38c3f48b0a Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master

[PATCH] libosmocore[master]: Expand bit pretty-printer

2017-09-12 Thread Max
Review at https://gerrit.osmocom.org/3915 Expand bit pretty-printer Add OSMO_BIT_PRINT_EX() which is like OSMO_BIT_PRINT() but allows to specify character to be printed for set bits. It's useful to print bytes used as mask where set bit has particular semantics - for example TS mask in