# Copyright (c) 2020, NVIDIA CORPORATION.

from libcpp.memory cimport shared_ptr

from cudf._lib.cpp.io.types cimport arrow_io_source, datasource


cdef class Datasource:
    cdef datasource* get_datasource(self) nogil except *

cdef class NativeFileDatasource(Datasource):
    cdef shared_ptr[arrow_io_source] c_datasource
    cdef datasource* get_datasource(self) nogil
