summaryrefslogtreecommitdiff
path: root/ci.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-08-12 10:26:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-08-12 10:26:43 +0200
commit7390eaf7652125fa438b74ffd8d42e0c7bf345c8 (patch)
tree44f28eda10c80b5e6cacd329f4870cb5c0eba23c /ci.h
parent9e6b12aa20e257ed0ef232c54e0f4eb7fe779a15 (diff)
downloadvdr-7390eaf7652125fa438b74ffd8d42e0c7bf345c8.tar.gz
vdr-7390eaf7652125fa438b74ffd8d42e0c7bf345c8.tar.bz2
Made the cCiSession members sessionId and resourceId uint16_t and uint32_t
Diffstat (limited to 'ci.h')
-rw-r--r--ci.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ci.h b/ci.h
index 3817a89b..45740106 100644
--- a/ci.h
+++ b/ci.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.h 1.21 2006/01/07 15:03:05 kls Exp $
+ * $Id: ci.h 1.22 2006/08/12 09:43:31 kls Exp $
*/
#ifndef __CI_H
@@ -110,14 +110,14 @@ private:
int source;
int transponder;
cList<cCiCaProgramData> caProgramList;
- int ResourceIdToInt(const uint8_t *Data);
- bool Send(uint8_t Tag, int SessionId, int ResourceId = 0, int Status = -1);
+ uint32_t ResourceIdToInt(const uint8_t *Data);
+ bool Send(uint8_t Tag, uint16_t SessionId, uint32_t ResourceId = 0, int Status = -1);
const unsigned short *GetCaSystemIds(int Slot);
- cCiSession *GetSessionBySessionId(int SessionId);
- cCiSession *GetSessionByResourceId(int ResourceId, int Slot);
- cCiSession *CreateSession(int ResourceId);
+ cCiSession *GetSessionBySessionId(uint16_t SessionId);
+ cCiSession *GetSessionByResourceId(uint32_t ResourceId, int Slot);
+ cCiSession *CreateSession(uint32_t ResourceId);
bool OpenSession(int Length, const uint8_t *Data);
- bool CloseSession(int SessionId);
+ bool CloseSession(uint16_t SessionId);
int CloseAllSessions(int Slot);
cCiHandler(int Fd, int NumSlots);
void SendCaPmt(void);