Interface change for tau_getCstInfo(), tau_getStaticCstInfo(), tau_getVehInfo(), functions alloc now one single memory block to provide the requested information to the caller. The caller can now easyly free the provided memory.
naming unified for tau_getTrDir()/tau_getOpTrDir() -> tau_getTrnDir()/tau_getOpTrnDir()
api_test_4 fixed with revision 2367
Linux compile warnings fixed
Unfortunately, the current implementation r2380 is no longer closed train aware.
The function tau_getStaticCstInfo() assumes that all consists are part of the train directory, but this is not the case for closed train consists.
Therefore, the attempt to read the static consist info of a closed train consist leads to a parameter error which makes it impossible to get the CONSIST_INFO of a consist class 3.
Would be great if You could come up with a proposal. I'm not really familiar with the closed trains. Probably I would need a longer call with Armin Heindel. I'm wondering that the old buggy tau_tti version handled closed trains correctly.
I will give it a try next week. Armin would probably refer to me. Actually, the old tau_tti needed a patch in ttiStoreCstInfo() to be able to handle more than one consist properly, which is always the case with even the simplest closed train.