2016-07-05 16:37:31 +03:00
.. -*- coding: utf-8; mode: rst -*-
.. _CA_GET_DESCR_INFO:
2016-07-05 13:58:48 +03:00
=================
2016-07-05 16:37:31 +03:00
CA_GET_DESCR_INFO
=================
2016-07-05 21:14:35 +03:00
Name
2016-07-05 13:58:48 +03:00
----
2016-07-05 16:37:31 +03:00
2016-07-05 13:58:48 +03:00
CA_GET_DESCR_INFO
2016-07-05 16:37:31 +03:00
2016-07-05 21:14:35 +03:00
Synopsis
2016-07-05 16:37:31 +03:00
--------
2016-08-31 21:59:14 +03:00
.. c:function :: int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
2016-08-19 22:56:15 +03:00
:name: CA_GET_DESCR_INFO
2016-07-05 16:37:31 +03:00
2016-07-05 21:14:35 +03:00
Arguments
2016-07-05 13:58:48 +03:00
---------
2016-07-05 16:37:31 +03:00
2016-08-19 22:56:15 +03:00
`` fd ``
File descriptor returned by a previous call to :c:func: `open() <dvb-ca-open>` .
2016-07-05 16:37:31 +03:00
2016-08-19 22:56:15 +03:00
`` desc ``
2016-08-31 20:07:38 +03:00
Pointer to struct :c:type: `ca_descr_info` .
.. c:type :: struct ca_descr_info
.. flat-table :: struct ca_descr_info
:header-rows: 1
:stub-columns: 0
-
- type
- name
- description
-
- unsigned int
- num
- number of available descramblers (keys)
-
- unsigned int
- type
- type of supported scrambling system. Valid values are:
`` CA_ECD `` , `` CA_NDS `` and `` CA_DSS `` .
2016-07-05 16:37:31 +03:00
2016-07-05 21:14:35 +03:00
Description
2016-07-05 13:58:48 +03:00
-----------
2016-08-19 22:56:15 +03:00
.. note :: This ioctl is undocumented. Documentation is welcome.
2016-07-05 13:58:48 +03:00
2016-07-05 21:14:35 +03:00
Return Value
2016-07-05 16:37:31 +03:00
------------
On success 0 is returned, on error -1 and the `` errno `` variable is set
appropriately. The generic error codes are described at the
:ref: `Generic Error Codes <gen-errors>` chapter.