Subject Re: [IB-Architect] BLOB filters and BLOB types
Author Jim Starkey
At 10:50 AM 5/9/00 -0700, Jason Wharton wrote:
>Ann,
>
>The one requirement I would have before I got too far into stuff like this
>is to demand that we finally come up with some standards on what sub-types
>mean what content.
>
>So far we have 1 - Text and 0 - Binary and the other system ones like BLR,
>etc.
>
>How about some for JPG, BMP, RTF, XML, HTML, WAV, MP3, MIDI, etc.
>


The following is from ibase.h from the V6 Windows kit:

/* types less than zero are reserved for customer use */

#define isc_blob_untyped 0

/* internal subtypes */

#define isc_blob_text 1
#define isc_blob_blr 2
#define isc_blob_acl 3
#define isc_blob_ranges 4
#define isc_blob_summary 5
#define isc_blob_format 6
#define isc_blob_tra 7
#define isc_blob_extfile 8

/* the range 20-30 is reserved for dBASE and Paradox types */

#define isc_blob_formatted_memo 20
#define isc_blob_paradox_ole 21
#define isc_blob_graphic 22
#define isc_blob_dbase_ole 23
#define isc_blob_typed_binary 24

>How about some for JPG, BMP, RTF, XML, HTML, WAV, MP3, MIDI, etc.

Shall we consider adding the following:

#define isc_blob_jpeg 25
#define isc_blob_gif 26
#define isc_blob_rtf 27
#define isc_blob_xml -400
#define isc_blob_html 28
#define isc_blob_wav 29
#define isc_blob_mp3 30

(Is MIDI a format or a protocol?).

Some enterprising person should find a pointer to a definitive
specification for each of the above.


Jim Starkey