1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)
26 File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
29 Pointer to struct :c:type:`ca_caps`.
31 .. c:type:: struct ca_caps
33 .. flat-table:: struct ca_caps
44 - total number of CA card and module slots
48 - bitmask with all supported slot types
52 - total number of descrambler slots (keys)
56 - bit mask with all supported descr types
62 .. note:: This ioctl is undocumented. Documentation is welcome.
68 On success 0 is returned, on error -1 and the ``errno`` variable is set
69 appropriately. The generic error codes are described at the
70 :ref:`Generic Error Codes <gen-errors>` chapter.