Commit graph

18 commits

Author SHA1 Message Date
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
4609b27c8e add BLOBMSG_TYPE_BOOL as an alias for BLOBMSG_TYPE_INT8 2011-07-29 12:56:48 +02:00
Felix Fietkau
5499a66e24 move json formatting to the blobmsg_json library 2011-02-06 21:23:28 +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
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
2b7588b410 blobmsg: constify and add more validation 2011-01-31 03:51:06 +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
e22308ecb0 add a blobmsg-to-json function 2011-01-23 22:52:53 +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
458279e4ce Initial import 2010-10-13 21:29:08 +02:00