C utility functions for OpenWRT libraries
Find a file
Felix Fietkau 17f4e41ecb uloop: improve edge trigger reliability on mac os x
Sometimes after re-arming a fd, an initial event for reads is not generated,
even though there is data pending. Work around this by making the trigger
level-triggered first, then switching to edge trigger after processing the first
event.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-04 03:18:42 +01:00
examples ustream-example: fix logic inversion 2012-10-23 18:00:20 +02:00
lua add declarations for lua{open,close}_uloop to avoid warnings 2012-10-22 20:03:36 +02:00
sh jshn: fix check to reset array sequence counters on cleanup 2012-12-18 13:38:27 +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 make __avl_find_element() inline 2011-02-06 18:01:37 +01:00
avl.h make the avl node key const 2011-04-13 20:14:20 +02:00
blob.c blob: add blob_memdup() 2012-06-01 20:54:20 +02:00
blob.h blob.h: fix endian check 2012-12-02 17:49:12 +01:00
blobmsg.c blobmsg: remove the unnecessary name argument from blobmsg_check_attr_list, infer it from the list type 2012-06-24 21:11:06 +02:00
blobmsg.h blobmsg: remove the unnecessary name argument from blobmsg_check_attr_list, infer it from the list type 2012-06-24 21:11:06 +02:00
blobmsg_json.c switch blobmsg_json over to permissive license 2012-05-26 18:03:08 +02:00
blobmsg_json.h switch blobmsg_json over to permissive license 2012-05-26 18:03:08 +02:00
CMakeLists.txt add utils.c, containing a calloc-like function to allocate multiple chunks with different sizes in one block and return pointers 2012-12-31 15:24:26 +01:00
jshn.c jshn: add support for namespaces 2012-12-16 17:46:08 +01:00
list.h list.h: undefine LIST_HEAD to prevent conflicts on mac os x 2012-10-04 16:11:04 +02:00
list_compat.h merge an avl list implementation (imported from PacketBB) 2010-12-28 23:59:06 +01:00
uloop.c uloop: improve edge trigger reliability on mac os x 2013-01-04 03:18:42 +01:00
uloop.h uloop: improve edge trigger reliability on mac os x 2013-01-04 03:18:42 +01:00
usock.c usock: remove code duplication 2011-02-07 17:38:05 +01:00
usock.h Initial import 2010-10-13 21:29:08 +02:00
ustream-fd.c ustream-fd: prevent callbacks during init 2013-01-03 16:32:45 +01:00
ustream.c ustream: increment receive buffer count 2013-01-03 16:32:49 +01:00
ustream.h ustream: add ustream_pending_data accessor function 2013-01-01 16:10:39 +01:00
utils.c add utils.c, containing a calloc-like function to allocate multiple chunks with different sizes in one block and return pointers 2012-12-31 15:24:26 +01:00
utils.h utils: add BUILD_BUG_ON (similar to the one in the linux kernel) 2013-01-01 16:10:44 +01:00
vlist.c add vlist (from netifd) 2012-05-26 18:01:18 +02:00
vlist.h vlist.h: protect against multiple inclusions 2012-06-10 17:11:36 +02:00