CA_GET_SLOT_INFO
| type | name | description |
|---|---|---|
| CA_CI | 1 | CI high level interface |
| CA_CI_LINK | 2 | CI link layer level interface |
| CA_CI_PHYS | 4 | CI physical layer level interface |
| CA_DESCR | 8 | built-in descrambler |
| CA_SC | 128 | simple smart card interface |
| type | name | description |
|---|---|---|
| CA_CI_MODULE_PRESENT | 1 | module (or card) inserted |
| CA_CI_MODULE_READY | 2 |
| type | name | description |
|---|---|---|
| int | num | slot number |
| int | type | CA interface this slot supports, as defined at ca_slot_info types. |
| unsigned int | flags | flags as defined at ca_slot_info flags. |
Note
This ioctl is undocumented. Documentation is welcome.
On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.