Driver Header: Since the
driver header i.e the part after XML is interpreted in the kernel, it is
in easy to read format.In fact it exactly replicates the information in
the XML porion. For eg: the corresponding header for the XML example on
previous page is shown below. Here the directories in hierarchy are
separated by "/" followed by their query. But the main feature of the
header is that it has 4 checks for the string "DOVMAGIC" so as to check
that the header is indeed created by the program and not edited or messed
up manually (since it is read by the kernel and small errors in it can
cause great problems in the kernel). To make
things easy, at the end of the header the start offset , size of the
header and number of queries.In the following example, the start offset is
448, size is 732 and the number of queries is 4 (3 for the mentioned
directories and one for the root whose query is
NULL).
<?DOVMAGIC
DocsAuthoredByXYZ AND Text
type LIKE doc
AND Text author LIKE XYZ Emailsbfor31dec03 AND Text
type LIKE mail AND
Date(YY/MM/DD) date < 2003/31/12 Emailsbfor31dec03/sentByABC AND Text
sender LIKE ABC AND Text
type LIKE mail AND
Date(YY/MM/DD) date <
2003/12/31 DOVMAGIC?> <?DRIVER_INFO_COMPLETE?> <?DOV_File_Created_By_Program_Dont_Edit_Manually?> <?DOVMAGIC0000000448DOVMAGIC0000000732DOVMAGIC0000000004DOVMAGIC?> |