libdvbci: add CA_SET_PID, for kernels > 4.14

Origin commit data
------------------
Branch: master
Commit: 6f8daa72b7
Author: max_10 <max_10@gmx.de>
Date: 2019-05-25 (Sat, 25 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-25 23:58:00 +02:00
committed by vanhofen
parent 3bab2933fd
commit 5297d036f9

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,