Add griffin CAS reader.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8246 4b0bc96b-bc66-0410-9d44-ebda105a78c1
cccam: Fix possible memory leak.

This fixes ticket #3119.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8247 4b0bc96b-bc66-0410-9d44-ebda105a78c1
griffin: Add subscription info.

The data doesn't make sense for me, but someone smarter than me
can make something of it :)

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8248 4b0bc96b-bc66-0410-9d44-ebda105a78c1
cryptoworks: Fix memory leak in EMM reassemblation.

This fixes ticket #3120.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8249 4b0bc96b-bc66-0410-9d44-ebda105a78c1
pcsc: Fix possible memory leak.

This fixes ticket #3121. Thanks to ac2013 for findings.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8250 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove unneeded calls to memset().

cs_malloc() already zeroes the allocated memory, no need to call
memset() right after cs_malloc().

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8251 4b0bc96b-bc66-0410-9d44-ebda105a78c1
emm: Move EMM saving into separate function.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8252 4b0bc96b-bc66-0410-9d44-ebda105a78c1
emm: Use reader logging functions when saving EMMs to file.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8253 4b0bc96b-bc66-0410-9d44-ebda105a78c1
emm: Use reader logging functions in emm_reader_match().

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8254 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move reader functions out of oscam.c into oscam-reader.c

No code changes, just movement.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8255 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Cleanup defines in reader-common.h

No code changes.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8256 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Cleanup EMM support report.

Less lines and no ifdefs - win, win.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8257 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move threaded work funcs in oscam-work.{c,h}

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8258 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Convert actions from defines to enum.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8259 4b0bc96b-bc66-0410-9d44-ebda105a78c1
bulcrypt: Use reader->client as client when reloading card info.

reader->client is really cur_client() in that case but using
reader->client is the way videoguard reader calls add_job() and
also we don't need to include oscam-client.h in bulcrypt reader.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8260 4b0bc96b-bc66-0410-9d44-ebda105a78c1
logging: Log pid when using syslog.

When more than one oscam is run, it is impossible to differentiate
syslog messages without using the pid.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8261 4b0bc96b-bc66-0410-9d44-ebda105a78c1
ecm: Remove check for previously unsupported nanos.

As now we can decrypt the providers 3311 and 3315 (that have ECM with
Nano 01) via a remote server, we must remove or comment the code
introduced in r6439.

Patch by today, posted in ticket #3125.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8262 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Create module-newcamd.h

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8263 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move reader related funcs in oscam-reader.{c,h} and reader-common.{c,h}

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8264 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move dvbapi_read_priority() declaration in module-dvbapi.h

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