config: Add support for parsing arrays of HEX chars.

This would be used in a lot of places for parsing keys, boxid, etc.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8219 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config/global: Use HEX key parsing for [cs387x] key setting.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8220 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config: Use HEX key parsing for ncd_key settings.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8221 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config/reader: Use HEX key parsing for ins7e and ins7e11 settings.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8222 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config/reader: Use HEX key parsing for "boxkey" setting.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8223 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config/global: Use HEX key parsing for cccam's "nodeid" setting.

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

The warning was:
  oscam-conf.c: In function ‘config_list_parse’:
  oscam-conf.c:107: warning: format ‘%u’ expects type ‘unsigned int’, but argument 5 has type ‘size_t’

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8225 4b0bc96b-bc66-0410-9d44-ebda105a78c1
newcamd: Add connectoninit setting.

Patch by manu posted in ticket #3101.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8226 4b0bc96b-bc66-0410-9d44-ebda105a78c1
webif: Remove reconnecttimeout if not used by reader.

Patch by manu posted in ticket #3099.

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

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8228 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config: Move the parsing mg-encrypted setting in module-gbox.c

This setting is really obscure and it is a lot of code. Moving the
code in module-gbox.c cleans up oscam-config-reader.c and saves
us nice 1.2k (on x86) binary size savings when gbox module is disabled.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8229 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config: Cleanup parsing of ident and chid settings in readers and accounts.

Saves a little bit of source and a little bit of binary size.

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

%Zu is recognized by gcc but %zu is recognized by gcc and clang.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8231 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Allow chid 0 to be filtered.

Patch by malakudi posted in streamboard forum.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8232 4b0bc96b-bc66-0410-9d44-ebda105a78c1
webif: Hide settings that are not active.

Patch by FilipeAmadeuO posted in ticket #3110.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8233 4b0bc96b-bc66-0410-9d44-ebda105a78c1
config: Fix parsing of DES keys for newcamd.

Patch by malakudi posted in ticket #3111.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8234 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Added new parameter 'connectoninit' to documentation.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8235 4b0bc96b-bc66-0410-9d44-ebda105a78c1
oscam-config-reader.c:
- changed default value for cool_timeout_init to 0 which means oscam uses the calculated value from atr
- changed default value for cool_timeout_after_init to 0 which means oscam uses the calculated value from atr

protocol_t0.c:
- fixed receive timeout which got mixed-up in r8136


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8236 4b0bc96b-bc66-0410-9d44-ebda105a78c1
webif: Prevent crash due to race in setting cwlastresptimes_last variable.

Thanks for malakudi for finding the bug.

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

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