dvbapi: Do not cry when ioctl(CA_SET_PID) fails. This is not fatal.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7673 4b0bc96b-bc66-0410-9d44-ebda105a78c1
cacheex: Cleanup ifdefs in oscam.c

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7674 4b0bc96b-bc66-0410-9d44-ebda105a78c1
cacheex: Fix crash when freeing ECM.

Fix a dumb bug introduced in r7674.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7675 4b0bc96b-bc66-0410-9d44-ebda105a78c1
build: Generate targets for each header file.

The -MP compiler option instructs the compiler to generate targets
for each header file listed in the dependancies. Now when header file
is missing `make` just rebuilds the dep file and everything works out.

This fixes the dreaded error seen when header file is removed from
the build:
   make: *** No rule to make target 'removed.h', needed by 'file.o'.  Stop.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7676 4b0bc96b-bc66-0410-9d44-ebda105a78c1
stapi: fix bug in stapi initialization, thx to ilchegu for reporting


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7677 4b0bc96b-bc66-0410-9d44-ebda105a78c1
dvbapi: remove init api test.
The test was for boxes that have api v3 path but use api v1 commands.
This test was removed in r6344 and no one complains about it, so this code is not needed.


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7678 4b0bc96b-bc66-0410-9d44-ebda105a78c1
cccam/cccshare: Do not include reader-common.h

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7679 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove unused defines in csctapi/defines.h

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7680 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove TRUE and FALSE defines.

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7681 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move MIN/MAX defines in globals.h

No binary changes

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7682 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move use_gpio() func out of csctapi/defines.h

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7683 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Replace BYTE define with the unsigned char.

We are writing in C, not in Pascal :)

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7684 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove UCHAR define from csctapi/defines.h

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7685 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove INT, ULONG, DWORD and PVOID defines.

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7686 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove csctapi/defines.h file.

No binary changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7687 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Reduce WITH_CARDREADER ifdefs.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7688 4b0bc96b-bc66-0410-9d44-ebda105a78c1
bulcrypt: Fix writing of uniq2 EMMs (0x85 and 0x8b types).

When EMM handling was rewritten, 0x85 and 0x8b EMMs were broken,
because wrong command was used to write them into the card.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7689 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Touch WebIF: fix layout of 'Debug log OFF/Debug log ALL' buttons in Safari (iPhone) browser

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7690 4b0bc96b-bc66-0410-9d44-ebda105a78c1
bulcrypt: Reload entitlements when EMM type 0x82 is written in the card.

This makes entitlement information always correct, without the need
to manually reload entitlements from the WebIf. It is just cosmetic
but nice to have.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7691 4b0bc96b-bc66-0410-9d44-ebda105a78c1
debug: Add more debugging info to try to fix ticket #2850.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@7692 4b0bc96b-bc66-0410-9d44-ebda105a78c1