C utility functions for OpenWRT libraries
Find a file
Yousong Zhou 8c6dadbe03 jshn: add error handling and fix memory leak in jshn_format().
Though currently jshn is more a one-shot data transformation tool and
won't leak much memory in its lifetime, people may use it as example
code, so do it right.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2014-12-11 17:58:42 +01:00
examples examples: fix build. 2014-12-11 17:57:19 +01:00
lua lua: do not hardcode /opt/local/include for Apple. 2014-12-11 17:57:07 +01:00
sh Revert "jshn: only keep UP_* variables around while they are needed" 2014-11-23 23:53:44 +01:00
.gitignore add a cmake file for the examples and add the binaries to .gitignore 2012-10-21 23:01:30 +02:00
avl-cmp.c add avl_strcmp 2012-05-26 18:01:18 +02:00
avl-cmp.h add avl_strcmp 2012-05-26 18:01:18 +02:00
avl.c list_compat.h: remove 2014-03-20 23:06:42 +01:00
avl.h avl: add AVL_TREE macro to define an initialized struct avl_tree 2014-03-27 17:39:53 +01:00
blob.c blob: improve out-of-memory handling 2014-07-26 03:50:50 +02:00
blob.h blob: improve out-of-memory handling 2014-07-26 03:50:50 +02:00
blobmsg.c blobmsg: remove unneeded assignment in blobmsg_alloc_string_buffer(). 2014-12-11 17:58:29 +01:00
blobmsg.h blobmsg: accept NULL attr in blobmsg_get_string() 2014-08-03 15:00:54 +02:00
blobmsg_json.c blobmsg_json: include json.h inside blobmsg_json.c instead of the public header file 2014-09-23 12:03:32 +02:00
blobmsg_json.h blobmsg_json: avoid redefinition of json_object 2014-10-24 13:40:14 +02:00
CMakeLists.txt examples: fix build. 2014-12-11 17:57:19 +01:00
jshn.c jshn: add error handling and fix memory leak in jshn_format(). 2014-12-11 17:58:42 +01:00
json_script.c json_script: fix a segfault in the file free handler 2014-05-26 15:53:29 +02:00
json_script.h json_script: add json_script_run_file() 2014-04-28 17:54:25 +02:00
kvlist.c kvlist: constify arguments 2014-04-28 17:56:08 +02:00
kvlist.h kvlist: constify arguments 2014-04-28 17:56:08 +02:00
list.h list.h: implement type safety for container_of() 2013-03-18 05:55:00 +01:00
md5.c md5: add a new implementation under permissive license 2014-10-01 16:39:15 +02:00
md5.h md5: add a new implementation under permissive license 2014-10-01 16:39:15 +02:00
runqueue.c libubox: runqueue: Cancel task timeout when completeing task 2014-01-29 03:32:30 +00:00
runqueue.h runqueue: add a function that allows adding jobs to the front of the runqueue 2013-11-18 12:25:21 +01:00
safe_list.c runqueue: add a function that allows adding jobs to the front of the runqueue 2013-11-18 12:25:21 +01:00
safe_list.h runqueue: add a function that allows adding jobs to the front of the runqueue 2013-11-18 12:25:21 +01:00
uloop.c uloop: Do not override signal handlers not installed by us 2014-10-12 13:21:20 +02:00
uloop.h uloop: Add flag to allow callback to be called on error conditions. 2014-02-23 18:18:32 +01:00
usock.c usock: add usock_port() for convenient use of numeric ports 2014-09-23 12:01:00 +02:00
usock.h usock: add usock_port() for convenient use of numeric ports 2014-09-23 12:01:00 +02:00
ustream-fd.c ustream: only report stream eof once via state_change callback 2013-05-31 11:18:26 +02:00
ustream.c ustream: remove unnecessary initialization 2014-04-12 20:21:13 +02:00
ustream.h ustream: another fix for ustream_read_buf_full() with split read buffers 2013-01-31 18:10:52 +01:00
utils.c uloop: add a clock_gettime() implementation for mac os x 2013-01-06 02:42:58 +01:00
utils.h utils: add a bitfield size macro 2014-04-30 13:27:03 +02:00
vlist.c vlist: constify key argument to vlist_add 2013-10-05 21:40:04 +02:00
vlist.h vlist: add static initializer macros 2014-06-05 15:28:45 +02:00