Returnstatus -1 of POLL() is not timeout, its error... 0 = timeout!

- Added more specific statuslog output from the workthread
- Added additional kill conditions, why keep clients in error or hangup state?

It works for me but if you get any issues report them in forum!


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8598 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Partly revert 8598: hangup signal was already handled!


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8599 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Tryfix CDS NL select right reader by ecmpid

- Added additional check by comparing ecmpid of dvbapi to right cardtype

(First time oscam needs to send ecm to discover cardtype in reader. Once its known this ecmpid check will be effective!)


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8600 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Killing DVBAPI client triggers a segfault if emms are being processed.
A killed dvbapi client can only be restarted by starting oscam again, so it doesnt make any sense.
This protects users from accidentally killing a dvbapi client from the webif.


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8601 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Quickfix compiler issues without dvbapi module enabled


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8602 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Tryfix#2 Poll in oscam-work, hope this fixes segfaults as reported in forum


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8603 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Initialize mutexes and cond variables.

Don't assume that clearing the phread_mutex_t and pthread_cond_t variables
to zero is enough to consider them initialized. Use proper initialization
functions.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8604 4b0bc96b-bc66-0410-9d44-ebda105a78c1
removed the quite about the openssl library used
Then users can see the real libray's they are using if
target root dir is set

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8605 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Revert recent changes to oscam-work (8598, 8599, 8603) -> need more testing!


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8606 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Corrected doc about use off reshare and cccreshare parameter

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8607 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Corrected doc about use off cccreshare in oscam.user

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8608 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- Poll() rework module dvbapi
- Moved emm filter start after ecm start (speed up decoding I think!)


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8609 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Revert 8609 -> broken dvbapi on some/many/most boxes... 


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8610 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Don't hardcode 2 as the maximum number of caids per card system.

This would allow painless increase of the caids per card system (for
example griffin reader needs more than two).

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8611 4b0bc96b-bc66-0410-9d44-ebda105a78c1
griffin: Add more caids.

Griffin CAS uses a lot of CAIDs (unrgistered with dvb authority by
the way). In order for dvbapi client to activate the filters
get_cardsystem_by_caid() must be able to find the reader and it
does that by looking at csystem.caids[].

This commit should fix ticket #3282.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8612 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Replace blockemmbylen array with a dynamic list.

This converts the static blockemmbylen array with a maxium of 10 entries
to a dynamic list. The list won't be initialized if the setting is not
used.

Patch by manu posted in ticket #3275.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8613 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Extend blockemm-bylen setting to support ranges.

This extends blockemm-bylen setting to support numeric ranges. If the
second value is omitted, the maximum possible value is assumed.
e.g. blockemm-bylen = 1-5,10-40,67-90,93-

Patch by manu posted in ticket #3275.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8614 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Udpate 'blockemm-bylen' documentation.

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