C utility functions for OpenWrt (mirror)

Felix Fietkau 3868f47c8f blob: constify attr argument to blob_memdup il y a 1 semaine
.github 12bda4bdb1 CI: add CodeQL workflow tests il y a 10 mois
examples 13d9b04fb0 uloop: add support for user defined signal handlers il y a 1 an
lua 13d9b04fb0 uloop: add support for user defined signal handlers il y a 1 an
sh 6fc29d1c42 jshn.sh: Add pretty-printing to json_dump il y a 1 an
tests a0dbcf8b8f tests: add blob-buffer overflow test il y a 3 ans
.gitignore 5326ce1046 examples: add shunit2 tests for json_script il y a 8 ans
.gitlab-ci.yml b0a5cd8a28 add cram based unit tests il y a 5 ans
CMakeLists.txt 6339204c21 CMakeLists.txt: bump minimum cmake version il y a 1 an
assert.h 8baeeea1f5 add assert.h component il y a 5 ans
avl-cmp.c 72613ca2c8 avl: add blob comparator function il y a 8 ans
avl-cmp.h 72613ca2c8 avl: add blob comparator function il y a 8 ans
avl.c 9b6ede0e53 avl: guard against theoretical null pointer dereference il y a 5 ans
avl.h ace64897d4 switch from typeof to the more portable __typeof__ il y a 6 ans
base64.c 0003ea9c45 base64: fix possible null pointer dereference il y a 5 ans
blob.c 3868f47c8f blob: constify attr argument to blob_memdup il y a 1 semaine
blob.h 3868f47c8f blob: constify attr argument to blob_memdup il y a 1 semaine
blobmsg.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc il y a 2 ans
blobmsg.h eac92a4d5d blobmsg: add blobmsg_parse_array_attr il y a 2 ans
blobmsg_json.c 5893cf78da blobmsg: Don't do at run-time what can be done at compile-time il y a 1 an
blobmsg_json.h d3fa561e5a blobmsg_json: add new functions blobmsg_format_json_value* il y a 8 ans
jshn.c a2aab30fc9 jshn: prefer snprintf usage il y a 5 ans
json_script.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc il y a 2 ans
json_script.h 3d45c47752 json_script: add support for aborting script processing il y a 9 ans
kvlist.c 1f019ceea1 Fix various memory management issues il y a 8 ans
kvlist.h d0312bd9b1 kvlist: add static initializer macros il y a 8 ans
list.h 45210ce141 list.h: add container_of_safe macro il y a 2 ans
md5.c 7237302147 md5: add "const" qualifier to the "file" argument il y a 7 ans
md5.h 7237302147 md5: add "const" qualifier to the "file" argument il y a 7 ans
runqueue.c 89fb6136ad libubox: runqueue: fix use-after-free bug il y a 4 ans
runqueue.h 89fb6136ad libubox: runqueue: fix use-after-free bug il y a 4 ans
safe_list.c bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue il y a 11 ans
safe_list.h bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue il y a 11 ans
udebug-priv.h 40acbe3463 udebug: wait for response after buffer add/remove il y a 1 an
udebug-proto.h d4c3066e7c udebug: add udebug library code il y a 1 an
udebug-remote.c 40acbe3463 udebug: wait for response after buffer add/remove il y a 1 an
udebug.c c1be505732 udebug: fix crash in udebug_entry_vprintf with longer strings il y a 11 mois
udebug.h e84c000c47 udebug: add inline helper function to test if a buffer is allocated il y a 1 an
ulog.c 260ad5bd15 udebug: add ulog support il y a 1 an
ulog.h 260ad5bd15 udebug: add ulog support il y a 1 an
uloop-epoll.c b77f2a4ce9 uloop: fix build using C++ compilers il y a 1 an
uloop-kqueue.c b77f2a4ce9 uloop: fix build using C++ compilers il y a 1 an
uloop.c b3fa3d92e3 uloop: reset flags after __uloop_fd_delete call il y a 1 an
uloop.h b77f2a4ce9 uloop: fix build using C++ compilers il y a 1 an
usock.c ef5e8e38bd usock: fix poll return code check il y a 1 an
usock.h 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support il y a 9 ans
ustream-fd.c bc7e277276 ustream-fd: handle ENOTCONN for read/write on not-yet-connected sockets il y a 9 ans
ustream.c eb9bcb6418 ustream: prevent recursive calls to the read callback il y a 9 mois
ustream.h eb9bcb6418 ustream: prevent recursive calls to the read callback il y a 9 mois
utils.c 5bc0146a1d utils: simplify mkdir_p boolean conditions il y a 4 ans
utils.h b8abed7494 utils.h: add fallthrough macro il y a 3 ans
vlist.c e9fb256ca5 vlist: constify key argument to vlist_add il y a 11 ans
vlist.h cce5e35127 vlist: define vlist_for_each_element_safe il y a 3 ans