James Prestwood
abcc9f1647
util: add APIs to get username/domain from identity
...
mschaputil already had similar functionality, but ERP will need this
as well. These two functions will also handle identities with either
'@' or '\' to separate the user and domain.
2019-04-08 16:26:25 -05:00
Denis Kenzior
5c9e6b255f
util: Remove container_of
2019-04-03 11:49:36 -05:00
Marcel Holtmann
554e4f55db
build: Fix includes for using with -std=c99 compiler option
2018-11-01 22:37:11 +01:00
Tim Kourt
3781c157db
util: Add util_ssid_is_hidden
2018-06-28 11:37:06 -05:00
James Prestwood
ce0d5858da
util: added macros to print mac addresses
2018-02-01 10:12:09 -06:00
Andrew Zaborowski
9ef5f68d4b
util: Add address type utils
2017-09-22 10:08:04 -05:00
Denis Kenzior
4a9d8278b4
util: Add container_of macro
2017-09-06 11:50:15 -05:00
Denis Kenzior
7ad261fef7
util: Move mem_is_zero to util
2017-02-21 16:45:41 -06:00
Denis Kenzior
0932157e4f
util: Add align_len macro
2017-01-31 11:50:06 -06:00
Denis Kenzior
4978c31fd7
util: Remove unused msg_append_attr functions
2017-01-31 11:48:50 -06:00
Denis Kenzior
63b5c60743
util: Add util_string_to_address
2016-08-24 21:31:54 -05:00
Denis Kenzior
92c943998f
util: Add util_address_to_string
2016-06-06 18:23:17 -05:00
Denis Kenzior
3877a4e5dd
util: Add util_ssid_is_utf8
2015-04-08 13:18:54 -05:00
Tomasz Bursztyka
ab07091f8c
util: Move msg_append_attr into util part
2015-03-02 20:44:02 -06:00
Denis Kenzior
e90ca652fd
util: Add util_is_bit_set
2015-01-15 23:59:18 -06:00
Denis Kenzior
56f1ccf7f2
util: Add util_bit_field
2015-01-15 23:59:18 -06:00
Patrik Flykt
bf25abf38d
util: Add SSID to UTF8 pretty-print function
...
Use a static buffer for converting an SSID to an approximate string in
UTF8. Replace each char that is not UTF8 compatible with the UTF8
replacement symbol.
2014-12-18 11:06:48 -06:00