Project

General

Profile

Up

getScolMd5

Returns the md5 fingerprint of each files included in the usm.ini file and the Scol executable file. Useful to know whether Scol should be updated

This functions contains a part of code under GNU GPL 2.0 license :
http://www.gnu.org/licenses/gpl-2.0.html
You must agree the terms of this (free) license and inform the users.

Prototype :

fun [[S r1]] [[S S] r1]

  • [S r1] : optional, can be 'nil'. Supplemental relative filenames from the Scol executable : they will be included in the result

Return : [[S S] r1] a list of tuples or nil if error. For each tuple, the first element is the file, the second is its digest.

See also

syspackSupportedVersion

Example :

fun readMd5Source (list)=
	if list == nil then
		0
	else
		(
		_fooS sprintf "files = %s  md5 = %s" hd list;
		readMd5Source tl list
		);;
readMd5Source getScolMd5 "ext.ini"::"scolapp.ini"::"ScolNet.class"::"ScolObserver.class"::"ScolTest.class"::nil;

files = scol.exe  md5 = 71f46f2fabbc78da5d638fd90fef979d
files = AXScol.dll  md5 = fa20a9e477d09dd1a76ac9548fee6726
files = npScol.dll  md5 = 467428e40c859f21c4f51087811f295e
files = Scol.dll  md5 = 6d4289a30359a3a586c014ddcadc9d2a
files = plugins/XTension.dll  md5 = 1cbdf6a7b4f7b4c4d75b37724ccb8fd1
files = plugins/MMedia24.dll  md5 = 89b0c4da11cebb58e5873b02d7e10536
files = plugins/LibOS2D24.dll  md5 = d71b492bdc823a90905bfe8b53d04841
files = plugins/Lib2D24.dll  md5 = 6028a52a7325dbf4d9c40a62d4d0f8ff
files = plugins/SerialIO.dll  md5 = f6cb65c8b7685433cf5dfc3cd63acfc1
files = plugins/ScolSQL.dll  md5 = 60b9f56ff60a09a3ed78995338118085
files = plugins/SO3Engine.dll  md5 = dfe46eb4f61818995896850d7192b6a9
files = plugins/ZooGL24.dll  md5 = f56a56070d424c873722e546b50fc95c
files = plugins/wiimote.dll  md5 = 5c567e784166e6615a2ff9d0d1cf655e
files = plugins/security.dll  md5 = f1c68c5687d35b1c2a3f6fe89c518e10
files = plugins/speech.dll  md5 = d579b80d4573f11e2b40b4abb8cf9204
files = plugins/neurosky.dll  md5 = ce63783302220e0b3b58993c7ac04038
files = plugins/joypad.dll  md5 = 1ecab2a01cfde840391dfa8d0a58d7d2
files = plugins/audio.dll  md5 = 9360401da2a77a201f08075c5b7f0f63
files = plugins/libsqlite3.dll  md5 = 5a6c77646466b4aac01faeeb7552922f
files = plugins/2dgtk.dll  md5 = 2c22e9b2879fa5364a5c3d06ccd271f2
files = plugins/syspack.dll  md5 = e7717a31896db5727dfaef5d8c64f55d
files = plugins/pcre.dll  md5 = 28cba22af8d7ac8f0d5ed5de1aa70784
files = plugins/libscience.dll  md5 = e76dc9399b80b22fb8cbc316a693f1f8
files = plugins/BitmapToolkit.dll  md5 = 40787e34cdadee941d4672904b890a23
files = plugins/libxml2.dll  md5 = fca9ec3f5f521a16b1be5764d333250d
files = plugins/net.dll  md5 = 8971d2bd9e72507352ac145650ca5854
files = ext.ini  md5 = 26e6ebf31403c7f6c73856f2681533c9			// additional given file
files = scolapp.ini  md5 = 2c0ac8258b2ecc24a622b0d9e7cbcbb0			// additional given file
files = ScolNet.class  md5 = 9e82e1be35f03bb37f5dcc07bd7f2ec4			// additional given file
files = ScolObserver.class  md5 = 32ee7da6a288bf7248b326c08e85e275			// additional given file
files = ScolTest.class   md5 = 5e90721660bdd9e0f81ae35cbe605d76			// additional given file