src/plugin.c: Use a heap to schedule reads.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 15 Mar 2009 23:02:55 +0000 (00:02 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 15 Mar 2009 23:02:55 +0000 (00:02 +0100)
commitcbc3671e75d323482c15ac5176474ad7ec1d67f9
treead7a46ab070604bced60fc0852215d25ac9bbeb5
parentd37ebe6eb6dd2bbf8213a924dfbce6e91945aab8
src/plugin.c: Use a heap to schedule reads.

With this change basically only timeout checks are triggered from the
global "read loop". This will allow each read function to be queried at
a different interval. This is currently not used, but will come in handy
in the future.
src/Makefile.am
src/common.h
src/plugin.c
src/utils_heap.c [new file with mode: 0644]
src/utils_heap.h [new file with mode: 0644]