MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | #pragma strong_types,rtt_checks,save_types |
| 2 | |
| 3 | struct frame_s { |
| 4 | int id; |
| 5 | int type; |
| 6 | string name; |
| 7 | string prog; |
| 8 | string obj; |
| 9 | int loc; |
| 10 | int ticks; |
| 11 | }; |
| 12 | |
| 13 | struct note_s { |
| 14 | int id; |
| 15 | int time; |
| 16 | string user; |
| 17 | string txt; |
| 18 | }; |
| 19 | |
| 20 | struct base_issue_s { |
| 21 | int id; |
| 22 | string hashkey; |
| 23 | string uid; |
| 24 | int type; |
| 25 | int mtime; |
| 26 | int ctime; |
| 27 | int atime; |
| 28 | int count; |
| 29 | int deleted; |
| 30 | int resolved; |
| 31 | int locked; |
| 32 | string locked_by; |
| 33 | int locked_time; |
| 34 | string resolver; |
| 35 | string message; |
| 36 | string loadname; |
| 37 | }; |
| 38 | |
| 39 | struct ctissue_s (base_issue_s) { |
| 40 | }; |
| 41 | |
| 42 | struct userissue_s (ctissue_s) { |
| 43 | string obj; |
| 44 | string prog; |
| 45 | int loc; |
| 46 | string titp; |
| 47 | string tienv; |
| 48 | }; |
| 49 | |
| 50 | struct rtissue_s (userissue_s) { |
| 51 | string hbobj; |
| 52 | int caught; |
| 53 | string command; |
| 54 | string verb; |
| 55 | }; |
| 56 | |
| 57 | // all possible data including stack trace and notes. |
| 58 | struct fullissue_s (rtissue_s) { |
| 59 | mixed * notes; //struct note_s * |
| 60 | mixed * stack; //struct frame_s * |
| 61 | }; |
| 62 | |