Short: V2.0 - MODULAR,flexible recognition lib Author: Alexis 'Cyb' Nasr Uploader: nasr hol fr Type: util/libs Version: 2.0 Replaces: util/libs/dmlib_10.lha Requires: Amiga OS2.04+,reqtools.library,xpkmaster.library Architecture: m68k-amigaos Tested: A1200 (OS3.1,Blizzard A1230 IV/16Mb) Enforcer/MungWall/Segtracker Date: May 1997 The package ~~~~~~~~~~~ It contains both the user & developer docs/sources. User will find interesting tools such as DMcontrol or ** DMlauncher ** the datamaster.library ~~~~~~~~~~~~~~~~~~~~~~ datamaster.library is a standard Amiga Shared library. None of the existing recognition libraries suited my needs, so I decided to create mine (good old programmer's behaviour ;-) So...What is "so special" in datamaster? Well, here are its main features: * A MODULAR architecture,with external `recognizer's, that can be very easily listed, added, removed,etc... by user, with the DMcontrol program. These `recognizer's are real subprograms, not old classic user-defined strings! This means two things: ---------------------- 1) Such `recognizer's are extremely FLEXIBLE, being made of "real code", they can recognize ANY `filetype'. As an example of the recognizer's flexibility,there is even a LINK-Datatypes recognizer,that uses the datatypes.library! It's just in case you find brand new datatypes you REALLY need, and there is no existing recognizer (yet ;-),so you can use this 'bridge' to datatypes meanwhile. 2) YES, YOU users won't be able to spend nights defining "Matchbyte=XXX" filetypes anymore :) BUT....don't worry, as: - The current "bank" of recognizers surely suits 99% of your needs :) There are LOTS of them already... - Programming a `recognizer' is rather trivial. - If there is feedback (I hope so :), there will be updates of recognizer files, exactly like for external music players, or xpk sublibraries. * Small & fast library (100% assembler). (The library itself is 6Kb or so!!...then you add/remove the recognizers YOU need). * The recognizers are sorted by priority:recognizers that are known to be slow/rare, or handling very much `filetype' will have a low priority etc etc... So----->speed gain. * datamaster.library offers 2 `filetype' checking modes: ->REAL `DATA checking' ("heavy" mode,but very precise). Whatis.library does it too,it's true,but datamaster uses external `recognizer's using >>REAL CODE<<.This should beat all the MATCHBYTE(0x44ff00..) thing I guess....And `recognizer's come out with a 100-200 bytes size which is not that much you'll agree! ->FILE `PATTERN matching',very classic,used in most the previous libraries of this kind before.(accuracy:so,so :-) For programmers: ~~~~~~~~~~~~~~~~ * The main recognition functions are very easy to use. (ONE library call is enough :) * Many support functions. These functions are for all kind of text/string comparisons,search etc... They were made to be used in the `recognizer's, but they may be used as well in your own programs. Note: being an assembly programmer, I thought of these functions for asm users. (C users already have most of these in amiga.lib)