Parse common part of header and accept other years.
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Mon, 7 Mar 2016 00:50:15 +0000 (21:50 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Wed, 9 Mar 2016 02:22:07 +0000 (23:22 -0300)
commitdcf28e8ddf45318e242546a0c70bd27339d70812
treebf572c46e4ec4d5cd7c42c1de6e84c46d2b52bb9
parent147fc799f60a5799bd569e6da5542c4b7df132b7
Parse common part of header and accept other years.

This patch allows files from other years to be transmited, but won't be
able to read all the data from the header, and won't be able to do extra
verification.

The only real verifications done is that the header size matches what is
expected for that year and there is a high level of confidence that the
head part of the header is really the same for the years supported by
rnetclient.

No other verification is done for the extra fields present in the file,
and all the extra data is not used any other place in the program
anyway.
decfile.c
decfile.h
rnet_encode.c