Petr Štetiar
|
46f8268b4b
blobmsg/ulog: fix format string compiler warnings
|
5 years ago |
Petr Štetiar
|
6228df9de9
iron out all extra compiler warnings
|
5 years ago |
John Crispin
|
c83a84afbe
fix segfault when passed blobmsg attr is NULL
|
6 years ago |
André Gaul
|
7f671b1e68
blobmsg: add support for double
|
8 years ago |
Matthias Schiffer
|
1f019ceea1
Fix various memory management issues
|
8 years ago |
Yousong Zhou
|
7f1ce63a84
blobmsg: remove unneeded assignment in blobmsg_alloc_string_buffer().
|
10 years ago |
ewolfok
|
22bbcfddd7
blob: improve out-of-memory handling
|
10 years ago |
Felix Fietkau
|
7ba1f8acd8
blobmsg: add blobmsg_check_array, which returns the size of the array
|
10 years ago |
Felix Fietkau
|
d07b174de8
blobmsg: make length variables unsigned
|
10 years ago |
Felix Fietkau
|
93a4cb92c1
blobmsg: remove unnecessary initialization
|
10 years ago |
Felix Fietkau
|
58aec3c59a
blobmsg: allow data/length iterator/accessor functions to work on non-blobmsg elements
|
10 years ago |
Felix Fietkau
|
458c3937bc
blob: add a magic offset to nesting cookies to ensure that NULL is never returned as a normal value
|
11 years ago |
Felix Fietkau
|
af2f52a37b
blobmsg: implement blobmsg_printf and blobmsg_vprintf
|
11 years ago |
Felix Fietkau
|
4ab499899c
blobmsg: add blobmsg_realloc_string_buffer()
|
11 years ago |
Felix Fietkau
|
1ec5b85848
blobmsg: fix blobmsg_parse_array, drop name field requirement
|
12 years ago |
Felix Fietkau
|
4b5f278195
blobmsg: allow BLOBMSG_TYPE_UNSPEC attributes, treat them as null for JSON conversion
|
12 years ago |
Felix Fietkau
|
2f74dbad14
blobmsg: add blobmsg_parse_array()
|
12 years ago |
Felix Fietkau
|
bbdc3bdb05
blobmsg: remove the unnecessary name argument from blobmsg_check_attr_list, infer it from the list type
|
12 years ago |
Felix Fietkau
|
f1494cde4d
blobmsg: add blobmsg_check_attr_list() to validate element types of arrays and tables
|
12 years ago |
Felix Fietkau
|
74cdaf796f
switch blobmsg over to permissive license
|
12 years ago |
Felix Fietkau
|
51711be625
fix more instances of uninitialized padding bytes
|
13 years ago |
Felix Fietkau
|
7c80b7c514
blobmsg: fill padding between name and data
|
13 years ago |
Felix Fietkau
|
08aada9a93
make the blobmsg format endian agnostic (stick to big-endian)
|
13 years ago |
Felix Fietkau
|
1d3e4ccb6a
fix a bug in blobmsg_parse
|
13 years ago |
Felix Fietkau
|
6bbde6e647
allow blobmsg_add_field to add arrays/tables
|
13 years ago |
Felix Fietkau
|
0918243e90
move json formatting to the blobmsg_json library
|
13 years ago |
Felix Fietkau
|
01ad5162b2
add a callback to the blobmsg-to-json function to override the formatting of specific attributes
|
13 years ago |
Felix Fietkau
|
3bc18fcadc
blobmsg: fix dynamic string buffer length calculation
|
13 years ago |
Felix Fietkau
|
29598e3dc8
add functions for allocating and adding a string buffer field
|
13 years ago |
Felix Fietkau
|
3da4427fb5
fix json string formatting
|
13 years ago |