libdvbci: add CA_SET_PID, for kernels > 4.14

Origin commit data
------------------
Branch: master
Commit: bfbaa3f44c
Author: max_10 <max_10@gmx.de>
Date: 2019-05-24 (Fri, 24 May 2019)

Origin message was:
------------------
- libdvbci: add CA_SET_PID, for kernels > 4.14

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2019-05-24 15:15:39 +02:00
parent 739f17e942
commit 9e961d7895

View File

@@ -18,6 +18,15 @@ static const char * FILENAME = "[descrambler]";
static int desc_fd = -1;
static int desc_user_count = 0;
#ifndef CA_SET_PID
typedef struct ca_pid {
unsigned int pid;
int index; /* -1 == disable*/
} ca_pid_t;
#define CA_SET_PID _IOW('o', 135, ca_pid_t)
#endif
#ifndef CA_SET_DESCR_DATA
enum ca_descr_data_type {
CA_DATA_IV,