1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
19 :name: CA_GET_DESCR_INFO
25 File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
28 Pointer to struct :c:type:`ca_descr_info`.
30 .. c:type:: struct ca_descr_info
32 .. flat-table:: struct ca_descr_info
44 - number of available descramblers (keys)
48 - type of supported scrambling system. Valid values are:
49 ``CA_ECD``, ``CA_NDS`` and ``CA_DSS``.
55 .. note:: This ioctl is undocumented. Documentation is welcome.
61 On success 0 is returned, on error -1 and the ``errno`` variable is set
62 appropriately. The generic error codes are described at the
63 :ref:`Generic Error Codes <gen-errors>` chapter.