summaryrefslogtreecommitdiff
path: root/fpcsrc/utils/debugsvr/msgintf.pp
blob: e5c3de3b695c293c1c97666a28d26272d7d234f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2003 by the Free Pascal development team

    Debugclient/server interface definition.

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************}
unit msgintf;

interface

Type
  TDebugConnection = (dcUnix,dcInet);

Const
  DebugSocket          : String = '/tmp/debugserver';
  DebugHostName        : String = 'localhost';
  DebugPort            : Word   = 4321;
  DebugConnection      : TDebugConnection = dcunix;

  lctStop        = -1;
  lctInformation = 0;
  lctWarning     = 1;
  lctError       = 2;
  lctIdentify    = 3;

Type
  TDebugMessage = Record
    MsgType : Integer;
    MsgTimeStamp : TDateTime;
    Msg : String;
  end;

implementation

end.