D*** START HEADER FILE SPECIFICATIONS ****************************
D*
D*Header File Name: DWWWAPI
D*
D*Description: Constants and data structures
D* for I/NET's Web Server/400 APIs.
D*
D*(C) Copyright I/Net Inc. Corporation 1995
D*
D*Change History:
D* 9/15/95 - Added WwwWriteCrLf and WwwWriteHeader functions.
D* 12/4/95 - Added WwwGetFormVarEnum function.
D* 12/9/96 - Added WwwSearch function.
D* Added constants and data structures for WwwSearch
D*
D*** END HEADER FILE SPECIFICATIONS ******************************
D*
D* *********
D* Constants
D* *********
D*
D* *********
D* ILE Entry Points
D*
D WWWGETFV C 'WwwGetFormVar'
D WWWGETFE C 'WwwGetFormVarEnum'
D WWWREAD C 'WwwRead'
D WWWWRITE C 'WwwWrite'
D WWWWRTCL C 'WwwWriteCrLf'
D WWWWRTHD C 'WwwWriteHeader'
D WWWGETEN C 'WwwGetEnv'
D WWWUNESC C 'WwwUnEscape'
D WWWESC C 'WwwEscape'
D WWWSRCH C 'WwwSearch'
D*
D* *********
D* Valid values for WwwSearch API search options
D* (Search options may be combined/added)
D* The text between the HTML tags on the line
D* after the constant is included in the search
D* when the corresponding constant is requested
DWWWCTITLE C CONST(2)
D*
DWWWCHEAD C CONST(4)
D*
DWWWCBODY C CONST(8)
D*
DWWWCCOM C CONST(16)
D* (Comment)
DWWWCHDING C CONST(32)
D* etc. (Heading)
DWWWCEMPH C CONST(64)
D*
DWWWCALL C CONST(126)
D* Search all of the above
DWWWCFILE C CONST(1)
D* Anywhere in the file
D*
D* *********
D* Valid values for WwwSearch API output options
D* (Large or Small can be combined/added with Space or Null)
DWWWCLARGE C CONST(2)
D* Results returned in large data structure
DWWWCSMALL C CONST(4)
D* Results returned in small data structure
DWWWCSPACE C CONST(8)
D* Pad Title and Url fields with spaces
DWWWCNULL C CONST(16)
D* Remove trailing spaces and null-terminate Title and Url fields
D*
D* *********
D* Structures
D* *********
D*
D*Structure used to receive WwwSearch results (small)
D*(Commented out, copy and change to use in program)
D*WWSRCHS DS OCCURS(25)
D*WWWRANK 9B 0
D* Search Ranking
D*WWWSIZE 9B 0
D* File Size
D*WWWTITLE 120
D* Document Title
D*WWWURL 128
D* Document URL
D*
D*Structure used to receive WwwSearch results (large)
D*(Commented out, copy and change to use in program)
D*WWSRCHL DS OCCURS(25)
D*WWWRANK 9B 0
D* Search Ranking
D*WWWSIZE 9B 0
D* File Size
D*WWWTITLE 120
D* Document Title
D*WWWURL 512
D* Document URL