John Crispin
|
c83a84afbe
fix segfault when passed blobmsg attr is NULL
|
5 years ago |
Felix Fietkau
|
3c1b33b7d5
utils: add const_* byteswapping functions
|
6 years ago |
Felix Fietkau
|
6eff829d78
utils: fix build error with g++
|
6 years ago |
Felix Fietkau
|
ace64897d4
switch from typeof to the more portable __typeof__
|
6 years ago |
Felix Fietkau
|
92009b7f98
utils: ensure that byte-order conversion functions evaluate the argument only once
|
6 years ago |
Felix Fietkau
|
42a8ecd858
jshn: fix format string for int64 type
|
6 years ago |
Felix Fietkau
|
eebe3fcd2a
utils: use constant byte-order conversion
|
6 years ago |
Rosen Penev
|
3aad2948eb
libubox: Plug a small memory leak.
|
6 years ago |
Hans Dedecker
|
bb0c830b2a
sh/jshn.sh: add json_for_each_item()
|
6 years ago |
Christian Beier
|
9c4aeda962
jshn: add functionality to read big JSON
|
6 years ago |
Jo-Philipp Wich
|
1c08e80313
jshn: properly support JSON "null" type
|
6 years ago |
Christian Beier
|
729f47fd52
jshn: read and write 64-bit integers
|
6 years ago |
Stijn Tintel
|
632688e8d6
utils: nuke bitfield functions and macros
|
6 years ago |
Petar Paradzik
|
f714be125c
uloop: make SIGCHLD signal handling optional
|
7 years ago |
Michal Sojka
|
7a1057604e
uloop: Fix race condition in SIGCHLD handling
|
6 years ago |
Felix Fietkau
|
fd57eea9f3
uloop: allow passing 0 as timeout to uloop_run
|
7 years ago |
Felix Fietkau
|
4bc3decf87
uloop: fix a regression in timeout handling
|
7 years ago |
Felix Fietkau
|
6a7fb7d8df
runqueue: fix use-after-free bug
|
7 years ago |
Felix Fietkau
|
368fd26458
uloop: allow specifying a timeout for uloop_run()
|
7 years ago |
Denis Osvald
|
fa9937cc4f
json_script: enable custom expr handler callback
|
7 years ago |
Yousong Zhou
|
7237302147
md5: add "const" qualifier to the "file" argument
|
7 years ago |
Ted Hess
|
96305a3caf
libubox: Change calloc_a() to return size_t aligned pointers
|
7 years ago |
Felix Fietkau
|
de3f14b643
uloop: add uloop_cancelling function
|
7 years ago |
Felix Fietkau
|
3b6181b63d
utils: fix build on Mac OS X 10.12
|
7 years ago |
André Gaul
|
7f671b1e68
blobmsg: add support for double
|
7 years ago |
Felix Fietkau
|
0fe13749d0
utils: add helper functions useful for allocating a ring buffer
|
7 years ago |
Rosen Penev
|
8fc1c3053e
libubox: replace strtok with _r version.
|
7 years ago |
Florian Eckert
|
4a9f74f7ae
libubox: allow reading out the pid of uloop process in lua
|
7 years ago |
Felix Fietkau
|
372e1e65ef
uloop: remove useless epoll data assignment
|
7 years ago |
Stijn Cleynhens
|
f9db1cb918
libubox: allow reading out the remaining time of a uloop timer in Lua
|
7 years ago |