msgintf.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2003 by the Free Pascal development team
  4. Debugclient/server interface definition.
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. unit msgintf;
  12. interface
  13. Type
  14. TDebugConnection = (dcUnix,dcInet);
  15. Const
  16. DebugSocket : String = '/tmp/debugserver';
  17. DebugHostName : String = 'localhost';
  18. DebugPort : Word = 4321;
  19. DebugConnection : TDebugConnection = dcunix;
  20. lctStop = -1;
  21. lctInformation = 0;
  22. lctWarning = 1;
  23. lctError = 2;
  24. lctIdentify = 3;
  25. Type
  26. TDebugMessage = Record
  27. MsgType : Integer;
  28. MsgTimeStamp : TDateTime;
  29. Msg : String;
  30. end;
  31. implementation
  32. end.