home *** CD-ROM | disk | FTP | other *** search
- unit ParameterDef;
-
- { This code is part of the Finger/Fingerd source code, written in THINK Pascal 4 }
- { Copyright 1991-1992 Peter N Lewis }
- { If you use this code, you must give me credit in your about box and documentation }
-
- interface
-
- type
- parameterRecord = record
- fingeredname: stringPtr; { Input - finger name }
- param: stringPtr; { Input - parameter following special }
- returnvalue: stringPtr; { Output - return string, appeneded to finger output. Don't change ptr! }
- fingeroutput: handle; { Input/Output - finger output as its built. }
- hlength: longInt; { Input /Output - handle length. }
- offset: longInt; { Input/Output - offset from start of handle that finger output is up to }
- idle: longInt; { Input - Idle time in seconds }
- remoteIP: longInt; { Input - IP number of fingerer }
- expandtokens: boolean; { Output - Expand <cr>s and %tokens inserted into the fingeroutput handle }
- { Note: No extra expansion is done for strings. If you have <cr>s in them, put <cr><lf> instead. }
- end;
-
- { procedure Main (var p: parameterRecord); }
-
- implementation
-
- end.