Commit graph

101 commits

Author SHA1 Message Date
Felix Fietkau
1ef7c81dfc add a cast to fix 64 bit issues 2011-02-07 20:30:52 +01:00
Felix Fietkau
e44dbfb102 uloop: make first_timeout static 2011-02-07 17:52:33 +01:00
Felix Fietkau
db19e64c1a make uloop_end() inline 2011-02-07 17:51:20 +01:00
Felix Fietkau
81839e259a validate blobmsg attributes before converting them to json 2011-02-07 17:47:02 +01:00
Felix Fietkau
07dbea0058 usock: remove code duplication 2011-02-07 17:38:05 +01:00
Felix Fietkau
a5e2b50652 properly null-terminate formatted json strings 2011-02-07 01:18:56 +01:00
Felix Fietkau
6bbde6e647 allow blobmsg_add_field to add arrays/tables 2011-02-07 01:12:07 +01:00
Felix Fietkau
932914c1b1 rename blob_get_int* to blob_get_u* 2011-02-06 21:36:04 +01:00
Felix Fietkau
0918243e90 move json formatting to the blobmsg_json library 2011-02-06 21:23:28 +01:00
Felix Fietkau
677e7bc0b3 make __avl_find_element() inline 2011-02-06 18:01:37 +01:00
Felix Fietkau
c9e852301b remove hash.[ch] - i don't think we will need it 2011-02-06 17:20:46 +01:00
Felix Fietkau
02074ab521 remove uhtbl - i don't think we will need it 2011-02-06 17:19:35 +01:00
Felix Fietkau
01ad5162b2 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
be41614060 add missing copyright headers 2011-02-06 16:20:57 +01:00
Felix Fietkau
7e9712363b add a json to blobmsg parsing library 2011-02-06 16:14:15 +01:00
Felix Fietkau
bf87f247d8 uloop: export the cancelled flag 2011-02-06 16:13:58 +01:00
Felix Fietkau
3bc18fcadc blobmsg: fix dynamic string buffer length calculation 2011-02-06 02:07:26 +01:00
Felix Fietkau
aa5276dcd6 uloop: fix the write flag for mac os x 2011-02-06 01:56:37 +01:00
Felix Fietkau
5aed3c2d2e blomsg: add integer attribute accessor functions 2011-02-05 02:06:49 +01:00
Felix Fietkau
29598e3dc8 add functions for allocating and adding a string buffer field 2011-02-04 21:57:59 +01:00
Felix Fietkau
36ddbe83b3 add back usock 2011-01-31 21:24:20 +01:00
Felix Fietkau
d1c5aa705a remove unl 2011-01-31 20:58:17 +01:00
Felix Fietkau
3205134afd link against libnl-tiny 2011-01-31 20:36:36 +01:00
Felix Fietkau
efd7c8c4df convert to cmake 2011-01-31 20:23:34 +01:00
Felix Fietkau
3da4427fb5 fix json string formatting 2011-01-31 17:17:40 +01:00
Felix Fietkau
f01871bc30 fix off-by-one in the string validation check 2011-01-31 16:24:11 +01:00
Felix Fietkau
7a0571a9ff blobmsg: constify and add more validation 2011-01-31 03:51:06 +01:00
Felix Fietkau
cad5bea36d blob: constify 2011-01-31 03:50:36 +01:00
Felix Fietkau
f2b9272e0b make blob attribute checking available externally 2011-01-31 03:46:37 +01:00
Felix Fietkau
ec593913f4 blob: validate strings on parse 2011-01-31 03:32:28 +01:00
Felix Fietkau
da2876acd9 add support for json-formatting blobmsg elements 2011-01-30 14:15:57 +01:00
Felix Fietkau
ff585b97c0 fix json list parsing 2011-01-30 01:13:32 +01:00
Felix Fietkau
2d9f917d00 add blobmsg_for_each_attr 2011-01-29 18:16:12 +01:00
Felix Fietkau
5129bc9401 blobmsg: make arrays structually the same as tables - simplifies library user code 2011-01-29 18:00:40 +01:00
Felix Fietkau
34b9f56464 remove blob_buf::priv 2011-01-29 18:00:01 +01:00
Felix Fietkau
461e986a80 remove #if 0'd debug code 2011-01-29 13:05:24 +01:00
Felix Fietkau
d28eb7fc28 add a blobmsg-to-json function 2011-01-23 22:52:53 +01:00
Felix Fietkau
5e5abe33fe improve validation - add header length 2011-01-23 20:32:57 +01:00
Felix Fietkau
fcee2d56bc add blobmsg_name() 2011-01-23 20:06:03 +01:00
Felix Fietkau
71f0be5e11 add blobmsg validation function 2011-01-23 19:55:41 +01:00
Felix Fietkau
63cea8dcb7 update avl implementation from packetbb 2011-01-22 17:02:23 +01:00
Felix Fietkau
6370c3e636 add BLOBMSG_TYPE_LAST 2010-12-29 15:08:45 +01:00
Felix Fietkau
82ce342055 merge an avl list implementation (imported from PacketBB) 2010-12-28 23:59:06 +01:00
Felix Fietkau
cd086c7c15 uloop: add a flag for keeping the socket blocking 2010-12-06 16:54:13 +01:00
Felix Fietkau
869fc39f50 uloop: fix infinite waiting with kqueue 2010-12-06 01:16:59 +01:00
Felix Fietkau
d110a016e3 constify blob_attr_info 2010-12-05 23:31:33 +01:00
Felix Fietkau
0d1a602dcf port uloop to BSD kqueue 2010-12-05 00:38:58 +01:00
Felix Fietkau
62c3e67616 make usock generic 2010-12-04 23:09:20 +01:00
Felix Fietkau
cc130e9c3f remove ucix - packages depending on it should ship it directly 2010-12-04 23:08:26 +01:00
Felix Fietkau
56086cf697 compile a subset on darwin 2010-12-03 19:16:10 +01:00