Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
libosmocore
/
f1318fe371a1943b8e3dc291a19844e084cbb2c2
/
src
/
utils.c
15a5f8d
Add osmo_isqrt32() to compute 32bit integer square root
by Harald Welte
· 6 years ago
04eb56f
add osmo_quote_str(),osmo_quote_str_buf() and test
by Neels Hofmeyr
· 6 years ago
9910bbc
utils: add osmo_escape_str()
by Neels Hofmeyr
· 7 years ago
937ddea
utils: add osmo_separated_identifiers_valid()
by Neels Hofmeyr
· 7 years ago
e5a2bdb
fix osmo_identifier_valid(): only allow printable characters
by Neels Hofmeyr
· 7 years ago
ebd3cdd
osmo_strlcpy: sanitize: don't memcpy from NULL src even if len is 0
by Neels Hofmeyr
· 7 years ago
e08da97
Fix/Update copyright notices; Add SPDX annotation
by Harald Welte
· 7 years ago
fa8983d
osmo_char2bcd(): Implment hex digits a-f and A-F
by Harald Welte
· 7 years ago
bcf9f23
utils: avoid segfault when calling osmo_strlcpy(src=NULL)
by Neels Hofmeyr
· 7 years ago
febe83c
Introduce osmo_identifier_valid() function to check validity of identifier
by Harald Welte
· 7 years ago
096a666
[doc] Doxygen documentation on osmo_hexdump print buffer size
by Harald Welte
· 7 years ago
4335bad
utils: add osmo_is_hexstr(), add unit test
by Neels Hofmeyr
· 7 years ago
399a6f0
Fix warnings: tolower() and similar require uchar
by Pau Espin Pedrol
· 7 years ago
4573502
Fix compilation warnings: use correct log type for uint32_t
by Pau Espin Pedrol
· 7 years ago
17518fe
doxygen: unify use of \file across the board
by Neels Hofmeyr
· 7 years ago
87e4550
doxygen: enable AUTOBRIEF, drop \brief
by Neels Hofmeyr
· 7 years ago
96e2a00
update/extend doxygen documentation
by Harald Welte
· 7 years ago
437ed4a
osmo_hexparse: allow whitespace in parsed string, add ws test
by Neels Hofmeyr
· 8 years ago
0aeda1b
doc: fix doxygen 'utils' group closing brace
by Neels Hofmeyr
· 8 years ago
df83ece
doc: clarify osmo_strlcpy() doc
by Neels Hofmeyr
· 8 years ago
b6d58e8
doc: fix typo for osmo_hexparse
by Neels Hofmeyr
· 8 years ago
aeecc48
Introduce osmo_strlcpy() function so we can stop using strncpy()
by Harald Welte
· 8 years ago
8d6dcd9
add get_value_string_or_null() to handle unknown items
by Neels Hofmeyr
· 8 years ago
8a3c83e
api doc: get_value_string(): mention composition in static buffer
by Neels Hofmeyr
· 8 years ago
9709b2e
Import osmo_{encode,decode}_big_endian() from openbsc
by Harald Welte
· 8 years ago
3de7b05
utils: add 'returns' doc to osmo_hexparse().
by Neels Hofmeyr
· 9 years ago
9a1a5a1
utils: Disable the weak symbol for darwin
by Holger Hans Peter Freyther
· 9 years ago
468b643
add missing copyright statements to source code files
by Harald Welte
· 10 years ago
3244702
utils: Greatly improve performance of osmo_hexdump routines
by Nils O. Selåsdal
· 11 years ago
8d50600
get_value_string: Null terminate after the call to snprintf
by Holger Hans Peter Freyther
· 11 years ago
de6e498
add some missing doxygen annotation for libosmocore functions
by Harald Welte
· 12 years ago
dca7d2c
doc: Fix the Doxygen section endings
by Sylvain Munaut
· 12 years ago
17af41d
utils: Fix alias to weak alias to allow OSX compilation
by Sylvain Munaut
· 13 years ago
e55ae3a
core/utils: Add a symbol alias for a previous typo for compatibility
by Sylvain Munaut
· 13 years ago
ff23d24
utils: Fix a bad double osmo_ prefix for osmo_hexdump_nospc
by Sylvain Munaut
· 13 years ago
8598f18
doxygen: add doxygen module 'utils'
by Harald Welte
· 13 years ago
128d9e2
osmo_hexdump: Fix segfault when input is too long.
by Holger Hans Peter Freyther
· 13 years ago
87f7b25
utils: use namespace prefix osmo_*
by Pablo Neira Ayuso
· 13 years ago
8341934
include: reorganize headers file to include/osmocom/[gsm|core]
by Pablo Neira Ayuso
· 14 years ago
0.2.0
2822296
LOGGING: configure logging from the vty
by Harald Welte
· 14 years ago
b05552b
[utils] introduce ubit_dump to dump buffers of unpacked bits
by Harald Welte
· 14 years ago
3d0ac5e
[utils] add 'bitdump' function for bitfields
by Harald Welte
· 14 years ago
121f358
utils: Fix typo. It is ascii.
by Holger Hans Peter Freyther
· 14 years ago
dee47cd
add new hexdump_nospc() function
by Harald Welte
· 14 years ago
0.1.15
40481e8
move hexdump() from logging.c to utils.c
by Harald Welte
· 14 years ago
3eba991
Import 'hexparse' function from OpenBSC
by Harald Welte
· 14 years ago
0.1.14
b59f935
get_value_string(): return "unknown 0x..." instead of "unknown"
by Harald Welte
· 15 years ago
a73e2f9
import bcd2char() and char2bcd() from OpenBSC
by Harald Welte
· 15 years ago
d284cd9
Import value_string utilities and some RSL stuff from OpenBSC
by Harald Welte
· 15 years ago