Felix Fietkau
|
8ef12741d4
|
blobmsg: fill padding between name and data
|
2011-10-06 17:19:28 +02:00 |
|
Felix Fietkau
|
a4ce44189d
|
make the blobmsg format endian agnostic (stick to big-endian)
|
2011-10-06 17:15:00 +02:00 |
|
Felix Fietkau
|
e41f1d9a7d
|
fill padding bytes when setting raw attribute length
|
2011-10-06 17:14:44 +02:00 |
|
Felix Fietkau
|
22d4c17601
|
explicitly zero extra buffer space added with realloc to silence valgrind warnings
|
2011-10-03 12:41:51 +02:00 |
|
Felix Fietkau
|
2c4cd375d2
|
fix reads beyond the end of the buffer when iterating over blob attributes
|
2011-10-03 12:36:46 +02:00 |
|
Felix Fietkau
|
d020dd5f2c
|
add a blobmsg_type() inline function
|
2011-09-12 13:37:53 +02:00 |
|
Felix Fietkau
|
982fbc228a
|
add blobmsg_get_bool
|
2011-09-07 06:33:36 +02:00 |
|
Felix Fietkau
|
bf27142190
|
blob_attr_equal: un-inline, add pointer checks
|
2011-09-05 06:25:51 +02:00 |
|
Felix Fietkau
|
5a2dadea3b
|
add blob_attr_equal() for comparing attributes
|
2011-09-05 06:09:32 +02:00 |
|
Felix Fietkau
|
ed949b020c
|
fix a bug in blobmsg_parse
a second entry that has the same length as an existing found entry would
abort the parse loop (reported by Stefan Mächler)
|
2011-08-17 10:44:11 -07:00 |
|
Felix Fietkau
|
f73925d603
|
add blob_buf_free
|
2011-07-29 19:38:30 +02:00 |
|
Felix Fietkau
|
4609b27c8e
|
add BLOBMSG_TYPE_BOOL as an alias for BLOBMSG_TYPE_INT8
|
2011-07-29 12:56:48 +02:00 |
|
Felix Fietkau
|
68a4ba2c82
|
blobmsg_json: support indenting of output data
|
2011-07-18 13:04:23 +02:00 |
|
Felix Fietkau
|
69062857b9
|
add jshn
|
2011-05-23 22:21:27 +02:00 |
|
Felix Fietkau
|
656138e5f6
|
remove int16, use int8 as bool instead of integer
|
2011-03-27 01:08:51 +01:00 |
|
Felix Fietkau
|
c04feb1bcc
|
add a cast to fix 64 bit issues
|
2011-02-07 20:30:52 +01:00 |
|
Felix Fietkau
|
84448556c4
|
validate blobmsg attributes before converting them to json
|
2011-02-07 17:47:02 +01:00 |
|
Felix Fietkau
|
9a8a7793e2
|
properly null-terminate formatted json strings
|
2011-02-07 01:18:56 +01:00 |
|
Felix Fietkau
|
df231e04e1
|
allow blobmsg_add_field to add arrays/tables
|
2011-02-07 01:12:07 +01:00 |
|
Felix Fietkau
|
598c34e6bc
|
rename blob_get_int* to blob_get_u*
|
2011-02-06 21:36:04 +01:00 |
|
Felix Fietkau
|
5499a66e24
|
move json formatting to the blobmsg_json library
|
2011-02-06 21:23:28 +01:00 |
|
Felix Fietkau
|
54c8ba13ed
|
remove hash.[ch] - i don't think we will need it
|
2011-02-06 17:20:46 +01:00 |
|
Felix Fietkau
|
2890fcacaa
|
remove uhtbl - i don't think we will need it
|
2011-02-06 17:19:35 +01:00 |
|
Felix Fietkau
|
60b29539e4
|
add a callback to the blobmsg-to-json function to override the formatting of specific attributes
|
2011-02-06 16:48:28 +01:00 |
|
Felix Fietkau
|
19f99f5fde
|
add missing copyright headers
|
2011-02-06 16:20:57 +01:00 |
|
Felix Fietkau
|
ece35a9105
|
add a json to blobmsg parsing library
|
2011-02-06 16:14:15 +01:00 |
|
Felix Fietkau
|
660526d40a
|
blobmsg: fix dynamic string buffer length calculation
|
2011-02-06 02:07:26 +01:00 |
|
Felix Fietkau
|
4304dba785
|
blomsg: add integer attribute accessor functions
|
2011-02-05 02:06:49 +01:00 |
|
Felix Fietkau
|
323e19a958
|
add functions for allocating and adding a string buffer field
|
2011-02-04 21:57:59 +01:00 |
|
Felix Fietkau
|
47009ee787
|
remove unl
|
2011-01-31 20:58:17 +01:00 |
|
Felix Fietkau
|
fcd23ec9cd
|
convert to cmake
|
2011-01-31 20:23:34 +01:00 |
|
Felix Fietkau
|
d64f2549f8
|
fix json string formatting
|
2011-01-31 17:17:40 +01:00 |
|
Felix Fietkau
|
bd8c50c97e
|
fix off-by-one in the string validation check
|
2011-01-31 16:24:11 +01:00 |
|
Felix Fietkau
|
2b7588b410
|
blobmsg: constify and add more validation
|
2011-01-31 03:51:06 +01:00 |
|
Felix Fietkau
|
ff67d75964
|
blob: constify
|
2011-01-31 03:50:36 +01:00 |
|
Felix Fietkau
|
d8270a5153
|
make blob attribute checking available externally
|
2011-01-31 03:46:37 +01:00 |
|
Felix Fietkau
|
82d7653ff6
|
blob: validate strings on parse
|
2011-01-31 03:32:28 +01:00 |
|
Felix Fietkau
|
0859795e1f
|
add support for json-formatting blobmsg elements
|
2011-01-30 14:15:57 +01:00 |
|
Felix Fietkau
|
e3a7b89ce1
|
fix json list parsing
|
2011-01-30 01:13:32 +01:00 |
|
Felix Fietkau
|
d6d11a6240
|
add blobmsg_for_each_attr
|
2011-01-29 18:16:12 +01:00 |
|
Felix Fietkau
|
eb32e4714d
|
blobmsg: make arrays structually the same as tables - simplifies library user code
|
2011-01-29 18:00:40 +01:00 |
|
Felix Fietkau
|
036674fe03
|
remove blob_buf::priv
|
2011-01-29 18:00:01 +01:00 |
|
Felix Fietkau
|
e22308ecb0
|
add a blobmsg-to-json function
|
2011-01-23 22:52:53 +01:00 |
|
Felix Fietkau
|
b149412310
|
improve validation - add header length
|
2011-01-23 20:32:57 +01:00 |
|
Felix Fietkau
|
86f00595c3
|
add blobmsg_name()
|
2011-01-23 20:06:03 +01:00 |
|
Felix Fietkau
|
1c8025e819
|
add blobmsg validation function
|
2011-01-23 19:55:41 +01:00 |
|
Felix Fietkau
|
abc4ba6bb8
|
add BLOBMSG_TYPE_LAST
|
2010-12-29 15:08:45 +01:00 |
|
Felix Fietkau
|
4baab2ae20
|
merge an avl list implementation (imported from PacketBB)
|
2010-12-28 23:59:06 +01:00 |
|
Felix Fietkau
|
18c7e8134e
|
constify blob_attr_info
|
2010-12-05 23:31:33 +01:00 |
|
Felix Fietkau
|
d2a240027b
|
port uloop to BSD kqueue
|
2010-12-05 00:38:58 +01:00 |
|