Client side APIs redo, 20140917
 - example_adaptor.c for test purpose, half-baked