Lines Matching defs:version

12  * - 0.46 - first version
26 * published by the Free Software Foundation; either version 2 of the
27 * License, or (at your option) any later version.
72 u_short version;
90 /* the version the calibration files */
136 * the version lines
174 /* we ignore the version line... */
175 if( 0 == strncmp( tmp, "version=", 8 ))
225 /* we ignore the version line... */
226 if( 0 == strncmp( tmp, "version=", 8 ))
368 u_short version;
396 /* check version */
397 if( !usb_ReadSpecLine( fp, "version=", tmp )) {
398 DBG( _DBG_ERROR, "Could not find version info!\n" );
403 DBG( _DBG_INFO, "- Calibration file version: %s\n", tmp );
404 if( 1 != sscanf( tmp, "0x%04hx", &version )) {
405 DBG( _DBG_ERROR, "Could not decode version info!\n" );
410 if( version != _PT_CF_VERSION ) {
458 cal->version = _PT_CF_VERSION;
487 u_short version;
528 if( usb_ReadSpecLine( fp, "version=", tmp )) {
529 DBG( _DBG_INFO, "- Calibration file version: %s\n", tmp );
531 if( 1 == sscanf( tmp, "0x%04hx", &version )) {
533 if( version == cal.version ) {
540 DBG( _DBG_INFO2, "- Versions do not match (0x%04x)\n", version );
543 DBG( _DBG_INFO2, "- cannot decode version\n" );
560 fprintf( fp, "version=0x%04X\n", cal.version );
582 u_short version;
605 if( usb_ReadSpecLine( fp, "version=", tmp )) {
606 DBG( _DBG_INFO, "- Calibration file version: %s\n", tmp );
608 if( 1 == sscanf( tmp, "0x%04hx", &version )) {
610 if( version == _PT_CF_VERSION ) {
616 DBG( _DBG_INFO2, "- Versions do not match (0x%04x)\n", version );
619 DBG( _DBG_INFO2, "- cannot decode version\n" );
634 fprintf( fp, "version=0x%04X\n", _PT_CF_VERSION );
663 u_short version;
689 /* check version */
690 if( !usb_ReadSpecLine( fp, "version=", tmp )) {
691 DBG( _DBG_ERROR, "Could not find version info!\n" );
696 DBG( _DBG_INFO, "- Calibration file version: %s\n", tmp );
697 if( 1 != sscanf( tmp, "0x%04hx", &version )) {
698 DBG( _DBG_ERROR, "Could not decode version info!\n" );
703 if( version != _PT_CF_VERSION ) {