google/snappy — pull request #3 by njwhite (2014-11-12 12:15:59+00:00)
Title: Add C bindings for custom Sources and Sinks

Uses structures of function pointers and an opaque userdata pointer to mimic the C++ Source and Sink objects.