ud_native: basic template for native extension (2)

Signed-off-by: Alex Dubov <oakad@yahoo.com>