John Crispin
|
c83a84afbe
fix segfault when passed blobmsg attr is NULL
|
5 年之前 |
André Gaul
|
7f671b1e68
blobmsg: add support for double
|
7 年之前 |
Felix Fietkau
|
77a629375d
blob/blobmsg: add explicit typecasts for attribute iterators
|
7 年之前 |
Matthias Schiffer
|
1f019ceea1
Fix various memory management issues
|
8 年之前 |
Felix Fietkau
|
042f1a2546
blobmsg: accept NULL attr in blobmsg_get_string()
|
9 年之前 |
Felix Fietkau
|
f3977836af
blobmsg: add a helper function to reset the name of a blobmsg attribute
|
10 年之前 |
Felix Fietkau
|
7ba1f8acd8
blobmsg: add blobmsg_check_array, which returns the size of the array
|
10 年之前 |
Jacob Siverskog
|
4436338588
blob/blobmsg: Perform explicit casts from void* to avoid compilation errors when using libubox from C++.
|
10 年之前 |
Felix Fietkau
|
d07b174de8
blobmsg: make length variables unsigned
|
10 年之前 |
Felix Fietkau
|
58aec3c59a
blobmsg: allow data/length iterator/accessor functions to work on non-blobmsg elements
|
10 年之前 |
Felix Fietkau
|
914ef8f6b0
blobmsg: add blobmsg_len() for consistency (similar to blob_len)
|
10 年之前 |
Felix Fietkau
|
ef9b6b92df
blob/blobmsg: add null pointer checks to the *_for_each_attr functions, fix formatting
|
10 年之前 |
Felix Fietkau
|
af2f52a37b
blobmsg: implement blobmsg_printf and blobmsg_vprintf
|
11 年之前 |
Felix Fietkau
|
4ab499899c
blobmsg: add blobmsg_realloc_string_buffer()
|
11 年之前 |
Felix Fietkau
|
8a89e7f388
blob/blobmsg: use 32 bit load/store for 64 bit access, unaligned attributes cause data corruption on ARM
|
11 年之前 |
Felix Fietkau
|
c360ec576c
blobmsg: add blobmsg_get_string
|
11 年之前 |
Felix Fietkau
|
2f74dbad14
blobmsg: add blobmsg_parse_array()
|
11 年之前 |
Felix Fietkau
|
bbdc3bdb05
blobmsg: remove the unnecessary name argument from blobmsg_check_attr_list, infer it from the list type
|
12 年之前 |
Felix Fietkau
|
f1494cde4d
blobmsg: add blobmsg_check_attr_list() to validate element types of arrays and tables
|
12 年之前 |
Felix Fietkau
|
74cdaf796f
switch blobmsg over to permissive license
|
12 年之前 |
Felix Fietkau
|
f8d3e57b45
add blobmsg_add_blob() to copy over an existing blobmsg attribute
|
12 年之前 |
Felix Fietkau
|
f565a7af42
blobmsg: add missing endian conversions
|
12 年之前 |
Felix Fietkau
|
fc20c7a031
make casts from void * explicit to avoid C++ warnings (patch by Arthur Davis)
|
12 年之前 |
Felix Fietkau
|
08aada9a93
make the blobmsg format endian agnostic (stick to big-endian)
|
12 年之前 |
Felix Fietkau
|
591a1e349f
fix reads beyond the end of the buffer when iterating over blob attributes
|
12 年之前 |
Felix Fietkau
|
8cada85b61
add a blobmsg_type() inline function
|
12 年之前 |
Felix Fietkau
|
dee81b4f79
add blobmsg_get_bool
|
12 年之前 |
Felix Fietkau
|
abbc140e8d
add BLOBMSG_TYPE_BOOL as an alias for BLOBMSG_TYPE_INT8
|
13 年之前 |
Felix Fietkau
|
0918243e90
move json formatting to the blobmsg_json library
|
13 年之前 |
Felix Fietkau
|
01ad5162b2
add a callback to the blobmsg-to-json function to override the formatting of specific attributes
|
13 年之前 |