C utility functions for OpenWrt (mirror)

Matthias Schiffer 86818eaa97 blob: make blob_parse_untrusted more permissive преди 4 години
examples b0a5cd8a28 add cram based unit tests преди 4 години
lua 4a9f74f7ae libubox: allow reading out the pid of uloop process in lua преди 7 години
sh bb0c830b2a sh/jshn.sh: add json_for_each_item() преди 6 години
tests 86818eaa97 blob: make blob_parse_untrusted more permissive преди 4 години
.gitignore 5326ce1046 examples: add shunit2 tests for json_script преди 8 години
.gitlab-ci.yml b0a5cd8a28 add cram based unit tests преди 4 години
CMakeLists.txt b0886a37f3 cmake: add a possibility to set library version преди 4 години
assert.h 8baeeea1f5 add assert.h component преди 4 години
avl-cmp.c 72613ca2c8 avl: add blob comparator function преди 7 години
avl-cmp.h 72613ca2c8 avl: add blob comparator function преди 7 години
avl.c 9b6ede0e53 avl: guard against theoretical null pointer dereference преди 4 години
avl.h ace64897d4 switch from typeof to the more portable __typeof__ преди 6 години
base64.c 0003ea9c45 base64: fix possible null pointer dereference преди 4 години
blob.c 86818eaa97 blob: make blob_parse_untrusted more permissive преди 4 години
blob.h 143303149c Ensure blob_attr length check does not perform out of bounds reads преди 4 години
blobmsg.c 5e75160f48 blobmsg: fix attrs iteration in the blobmsg_check_array_len() преди 4 години
blobmsg.h 86f6a5b8d1 blobmsg: reuse blobmsg_namelen in blobmsg_data преди 4 години
blobmsg_json.c 1ffa415353 blobmsg_json: prefer snprintf usage преди 4 години
blobmsg_json.h d3fa561e5a blobmsg_json: add new functions blobmsg_format_json_value* преди 8 години
jshn.c a2aab30fc9 jshn: prefer snprintf usage преди 4 години
json_script.c 6228df9de9 iron out all extra compiler warnings преди 4 години
json_script.h 3d45c47752 json_script: add support for aborting script processing преди 8 години
kvlist.c 1f019ceea1 Fix various memory management issues преди 8 години
kvlist.h d0312bd9b1 kvlist: add static initializer macros преди 7 години
list.h ace64897d4 switch from typeof to the more portable __typeof__ преди 6 години
md5.c 7237302147 md5: add "const" qualifier to the "file" argument преди 7 години
md5.h 7237302147 md5: add "const" qualifier to the "file" argument преди 7 години
runqueue.c 89fb6136ad libubox: runqueue: fix use-after-free bug преди 4 години
runqueue.h 89fb6136ad libubox: runqueue: fix use-after-free bug преди 4 години
safe_list.c bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue преди 10 години
safe_list.h bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue преди 10 години
ulog.c 46f8268b4b blobmsg/ulog: fix format string compiler warnings преди 4 години
ulog.h 9dd2dcff70 libubox: add format string checking to ulog() преди 5 години
uloop-epoll.c 372e1e65ef uloop: remove useless epoll data assignment преди 7 години
uloop-kqueue.c 4e3a47a4cb uloop: use a waker for notifying sigchld and loop cancel events преди 8 години
uloop.c f714be125c uloop: make SIGCHLD signal handling optional преди 6 години
uloop.h 368fd26458 uloop: allow specifying a timeout for uloop_run() преди 7 години
usock.c 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support преди 8 години
usock.h 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support преди 8 години
ustream-fd.c bc7e277276 ustream-fd: handle ENOTCONN for read/write on not-yet-connected sockets преди 8 години
ustream.c 1f019ceea1 Fix various memory management issues преди 8 години
ustream.h ecf56174da ustream: Add format string checks to ustream_(v)printf() преди 5 години
utils.c 3aad2948eb libubox: Plug a small memory leak. преди 6 години
utils.h 3c1b33b7d5 utils: add const_* byteswapping functions преди 6 години
vlist.c e9fb256ca5 vlist: constify key argument to vlist_add преди 10 години
vlist.h 301303911d vlist: add more macros for loop iteration преди 4 години