Revision 12244,
1.4 KB
checked in by ghudson, 26 years ago
(diff) |
Move bugme sources here from athena/bin/dash/src/bugme, and autoconfiscate.
|
Line | |
---|
1 | /* $Id: Snoop.h,v 1.1 1998-12-17 16:27:12 ghudson Exp $ */ |
---|
2 | |
---|
3 | /* Copyright 1997 by the Massachusetts Institute of Technology. |
---|
4 | * |
---|
5 | * Permission to use, copy, modify, and distribute this |
---|
6 | * software and its documentation for any purpose and without |
---|
7 | * fee is hereby granted, provided that the above copyright |
---|
8 | * notice appear in all copies and that both that copyright |
---|
9 | * notice and this permission notice appear in supporting |
---|
10 | * documentation, and that the name of M.I.T. not be used in |
---|
11 | * advertising or publicity pertaining to distribution of the |
---|
12 | * software without specific, written prior permission. |
---|
13 | * M.I.T. makes no representations about the suitability of |
---|
14 | * this software for any purpose. It is provided "as is" |
---|
15 | * without express or implied warranty. |
---|
16 | */ |
---|
17 | |
---|
18 | #ifndef XJ_SNOOP_H |
---|
19 | #define XJ_SNOOP_H |
---|
20 | |
---|
21 | #include <Jets/Jets.h> |
---|
22 | |
---|
23 | extern JetClass snoop_jet_class; |
---|
24 | |
---|
25 | typedef struct {int littlefoo;} Snoop_class_part; |
---|
26 | |
---|
27 | typedef struct snoop_class_rec { |
---|
28 | CoreClassPart core_class; |
---|
29 | Snoop_class_part snoop_class; |
---|
30 | } Snoop_class_rec; |
---|
31 | |
---|
32 | extern Snoop_class_rec snoop_class_rec; |
---|
33 | |
---|
34 | #define MAX_FMTS 32 |
---|
35 | |
---|
36 | typedef struct { |
---|
37 | XjCallback *event_proc; |
---|
38 | } Snoop_part; |
---|
39 | |
---|
40 | typedef struct snoop_rec { |
---|
41 | CorePart core; |
---|
42 | Snoop_part snoop; |
---|
43 | } Snoop_rec; |
---|
44 | |
---|
45 | typedef struct snoop_rec *Snoop_jet; |
---|
46 | typedef struct snoop_class_rec *Snoop_jet_class; |
---|
47 | |
---|
48 | #define XjNeventProc "eventProc" |
---|
49 | #define XjCEventProc "EventProc" |
---|
50 | |
---|
51 | #endif /* XJ_SNOOP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.