add interface for inotify API
Merge pull request #200 from hwhw/master

add interface for inotify API
Change Android FLAGS

Following the discussion in #201 ;).
Tweak Android CFLAGS

Not a fan of the 'use -Os w/ mthumb' thing, which I'd already ammended,
so just do away with that do. Code size isn't our primary concern.
Make sure we always honor LDFLAGS on Android

Because that --fix-cortex-a8 sounds rather ominous..
Minor C/CXXFLAGS mixum
Tweak Android LDFLAGS

That should be overkill, but perhaps the NDK is trying to take care of
the numerous broken projects that call the linker without CFLAGS/CXXFLAGS...
First (working) implementation. Hugely WIP.

NAMELY: DO NOT RUN ON A PW2!!!
That's probably more correct.

Hahaha. I'm already rusty with C pointers, this is killing me xD.
Tweak a comment
Update FT
Merge pull request #202 from NiLuJe/master

Tweak Android *FLAGS
Fix ffi/mxcfb_kindle_h.lua

Hackishly generated with updated version of gcc-lua & co.
Currently battling updter our koreader-misc tools to automate that.
Start converting stuff for the updated ffi tools
Make the rename clearer.
Refresh ffi stuff w/ update gcc-lua/gcc-lia-cdecl

Minus some stuff that diverge too much because of my system.
Thankfully, the only thing that appeared truly broken w/ the previous
iteration was mxcfb_kindle_h.lua, so it's not terribly critical.
Oops, had forgotten that, nice catch.

Stolen from houqp's 1fbd16d ;).
Detect the first refresh call in a smarter way
Timestamps!
Turns out os.date sucks. Not high res.