def init_function_prototype_for_row_reader():
    """ row_reader """
    lib.tera_row_reader.argtypes = [c_void_p, c_char_p, c_uint64]
    lib.tera_row_reader.restype = c_void_p

    lib.tera_row_reader_add_column_family.argtypes = [c_void_p, c_char_p]
    lib.tera_row_reader_add_column_family.restype = None

    lib.tera_row_reader_add_column.argtypes = [c_void_p, c_char_p,
                                               c_char_p, c_uint64]
    lib.tera_row_reader_add_column.restype = None

    lib.tera_row_reader_set_callback.argtypes = [c_void_p, READER_CALLBACK]
    lib.tera_row_reader_set_callback.restype = None

    lib.tera_row_reader_set_timestamp.argtypes = [c_void_p, c_int64]
    lib.tera_row_reader_set_timestamp.restype = None

    lib.tera_row_reader_set_time_range.argtypes = [c_void_p, c_int64, c_int64]
    lib.tera_row_reader_set_time_range.restype = None

    lib.tera_row_reader_set_snapshot.argtypes = [c_void_p, c_uint64]
    lib.tera_row_reader_set_snapshot.restype = None

    lib.tera_row_reader_set_max_versions.argtypes = [c_void_p, c_uint32]
    lib.tera_row_reader_set_max_versions.restype = None

    lib.tera_row_reader_set_timeout.argtypes = [c_void_p, c_int64]
    lib.tera_row_reader_set_timeout.restype = None

    lib.tera_row_reader_done.argtypes = [c_void_p]
    lib.tera_row_reader_done.restype = c_bool

    lib.tera_row_reader_next.argtypes = [c_void_p]
    lib.tera_row_reader_next.restype = None

    lib.tera_row_reader_rowkey.argtypes = [c_void_p,
                                           POINTER(POINTER(c_ubyte)),
                                           POINTER(c_uint64)]
    lib.tera_row_reader_rowkey.restype = None

    lib.tera_row_reader_value.argtypes = [c_void_p,
                                          POINTER(POINTER(c_ubyte)),
                                          POINTER(c_uint64)]
    lib.tera_row_reader_value.restype = None

    lib.tera_row_reader_value_int64.argtypes = [c_void_p]
    lib.tera_row_reader_value_int64.restype = c_int64

    lib.tera_row_reader_family.argtypes = [c_void_p,
                                           POINTER(POINTER(c_ubyte)),
                                           POINTER(c_uint64)]
    lib.tera_row_reader_family.restype = None

    lib.tera_row_reader_qualifier.argtypes = [c_void_p,
                                              POINTER(POINTER(c_ubyte)),
                                              POINTER(c_uint64)]
    lib.tera_row_reader_qualifier.restype = None

    lib.tera_row_reader_timestamp.argtypes = [c_void_p]
    lib.tera_row_reader_timestamp.restype = c_int64

    lib.tera_row_reader_get_status_code.argtypes = [c_void_p]
    lib.tera_row_reader_get_status_code.restype = c_int64

    lib.tera_row_reader_destroy.argtypes = [c_void_p]
    lib.tera_row_reader_destroy.restype = None