libosmocore/include/osmocom/core
Harald Welte ae510dc4a7 rate_ctr: Enforce counter (and ctr_group) names are valid identifiers
As rate counters are automatically exposed on the CTRL interface,
we need to make sure they don't contain special characters such as '.'
which are not permitted/supported by CTRL.

In order to be able to run old versions of osmocom programs with
libosmocore versions after this commit, we introduce some special
name mangling:  Any '.' in the names are replaced with ':' during
counter group registration, if valid identifiers can be obtained
this way.

Change-Id: Ifc6ac824f5dae9a848bb4a5d067c64a69eb40b56
2017-10-24 16:00:45 +00:00
..
application.h doxygen: enable AUTOBRIEF, drop \brief 2017-06-23 00:18:22 +00:00
backtrace.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bitXXgen.h.tpl doxygen: enable AUTOBRIEF, drop \brief 2017-06-23 00:18:22 +00:00
bitcomp.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bits.h [doc] bits.c: Better / more Doxygen documentation 2017-10-16 14:19:12 +02:00
bitvec.h Replace bitvec_set_uint() with bitvec_set_u64() 2017-10-24 08:22:02 +00:00
byteswap.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
conv.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
counter.h [doc] counter.[ch] Add Doxygen API documentation 2017-10-16 14:18:54 +02:00
crc16.h [doc] Put CRC-16 and generic CRC code in one Doxygen module 2017-10-16 14:29:26 +02:00
crcXXgen.h.tpl [doc] Put CRC-16 and generic CRC code in one Doxygen module 2017-10-16 14:29:26 +02:00
crcgen.h [doc] Put CRC-16 and generic CRC code in one Doxygen module 2017-10-16 14:29:26 +02:00
defs.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
endian.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
fsm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsmtap.h Rename GSMTAP_CHANNEL_PDCH to GSMTAP_CHANNEL_PDTCH 2017-07-29 13:35:37 +02:00
gsmtap_util.h gsmtap: Add value_strings for GSMTAP_TYPE and GSMTAP_CHANNEL 2017-07-13 00:03:29 +02:00
linuxlist.h api doc: fix two doxygen group closing braces 2017-10-17 11:53:45 +00:00
linuxrbtree.h fix FSF address in sources/headers 2015-11-12 13:46:05 +01:00
logging.h add DLMGCP logging category for libosmo-mgcp 2017-07-18 10:47:56 +00:00
loggingrb.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
macaddr.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
msgb.h add function msgb_printf() to print formatted text into msg buf 2017-10-22 20:09:26 +00:00
msgfile.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
panic.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
plugin.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
prbs.h Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
prim.h [doc] Expand Doxuygen documentation for osmo_prim 2017-10-16 14:52:37 +02:00
process.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rate_ctr.h rate_ctr: Enforce counter (and ctr_group) names are valid identifiers 2017-10-24 16:00:45 +00:00
select.h add osmo_fd_setup() convenience function to fill-in osmo_fd 2017-08-12 11:43:14 +02:00
sercomm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
serial.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
signal.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
socket.h socket: add function osmo_sock_local_ip() to query local ip 2017-10-23 08:47:38 +00:00
stat_item.h [doc] stat_item: Complete doxygen documentation for API 2017-10-16 14:18:50 +02:00
statistics.h Rename 'statistics.c' to 'counter.c' 2017-10-15 19:51:35 +02:00
stats.h [doc] Add Doxygen API documentation for stats.c and stats_statsd.c 2017-10-16 14:18:56 +02:00
strrb.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
talloc.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
timer.h Add time conversion helpers 2017-09-25 14:41:41 +00:00
timer_compat.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
utils.h Introduce osmo_identifier_valid() function to check validity of identifier 2017-10-24 16:00:44 +00:00
write_queue.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00