diff options
Diffstat (limited to 'src/pybind/rbd/ctime.pxd')
-rw-r--r-- | src/pybind/rbd/ctime.pxd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pybind/rbd/ctime.pxd b/src/pybind/rbd/ctime.pxd new file mode 100644 index 000000000..ca3ed1c02 --- /dev/null +++ b/src/pybind/rbd/ctime.pxd @@ -0,0 +1,7 @@ +# cython: embedsignature=True + +cdef extern from "time.h": + ctypedef long int time_t + cdef struct timespec: + time_t tv_sec + long tv_nsec |