diff options
Diffstat (limited to 'appl/demo/chat/chatsrv.sbl')
| -rw-r--r-- | appl/demo/chat/chatsrv.sbl | 938 |
1 files changed, 938 insertions, 0 deletions
diff --git a/appl/demo/chat/chatsrv.sbl b/appl/demo/chat/chatsrv.sbl new file mode 100644 index 00000000..eb2561a8 --- /dev/null +++ b/appl/demo/chat/chatsrv.sbl @@ -0,0 +1,938 @@ +limbo .sbl 2.1 +Chatsrv +5 +chatsrv.b +sys.m +draw.m +styx.m +styxservers.m +502 +1:41.18,21 0 +23,26 0 +28,31 0 +33,36 0 +39,44 0 +46,47 0 +49,50 0 +53,54 0 +56,57 0 +59,60 0 +62,67 0 +69,70 0 +72,73 0 +0:37.1,14 1 +38.1,13 2 +39.1,13 3 +40.1,22 4 +41.4,21 5 +4,21 5 +42.2,26 6 +2,26 7 +44.2,27 8 +45.1,14 9 +46.8,9 10 +1,9 10 +51.13,27 11 +25,26 11 +13,27 11 +13,27 11 +1,67 11 +1,67 11 +1,67 12 +29,60 11 +62,66 11 +1,67 11 +1,67 11 +52.1,5 13 +57.1,25 14 +58.1,28 15 +59.4,15 16 +60.2,20 17 +9,19 17 +2,20 17 +61.1,49 18 +62.4,22 19 +63.2,27 20 +9,26 20 +2,27 20 +64.1,40 21 +65.4,19 22 +66.2,24 23 +9,23 23 +2,24 23 +67.1,13 24 +1,13 24 +68.1,24 25 +19,23 25 +1,24 25 +69.1,17 26 +1,17 26 +71.19,36 27 +19,36 27 +19,36 27 +72.23,55 28 +27,30 28 +32,48 28 +50,54 28 +23,55 28 +23,55 28 +1,56 28 +1,5 28 +13,21 28 +13,21 28 +13,21 29 +13,21 30 +13,21 31 +13,21 32 +1,56 28 +1,56 28 +1,56 33 +73.23,50 34 +27,34 34 +36,41 34 +43,49 34 +23,50 34 +23,50 34 +1,51 34 +1,5 34 +13,21 34 +13,21 34 +13,21 35 +13,21 36 +13,21 37 +13,21 38 +1,51 34 +1,51 34 +1,51 39 +74.23,48 40 +27,33 40 +35,40 40 +42,47 40 +23,48 40 +23,48 40 +1,49 40 +1,5 40 +13,21 40 +13,21 40 +13,21 41 +13,21 42 +13,21 43 +13,21 44 +1,49 40 +1,49 40 +1,49 45 +76.1,37 46 +20,21 46 +23,26 46 +28,31 46 +33,36 46 +1,37 46 +1,37 47 +77.1,18 48 +79.28,42 49 +40,41 49 +28,42 49 +28,42 49 +44,65 49 +58,64 49 +44,65 49 +44,65 49 +13,76 49 +13,76 49 +13,76 50 +13,76 49 +13,76 51 +67,75 49 +13,76 49 +13,76 49 +2,4 49 +6,9 49 +6,9 52 +6,9 53 +80.1,14 54 +9,13 54 +1,14 54 +81.0,1 55 +85.7,21 56 +7,21 56 +7,28 56 +7,28 57 +86.7,17 58 +7,17 58 +88.3,8 59 +90.3,24 60 +17,23 60 +3,24 60 +91.3,36 61 +3,6 61 +13,35 61 +17,35 61 +28,34 61 +13,35 61 +13,35 62 +3,36 61 +3,36 61 +3,36 58 +93.3,20 63 +8,11 63 +17,19 63 +3,20 63 +3,20 63 +94.7,15 64 +7,15 65 +95.4,9 66 +96.7,17 67 +7,26 67 +97.4,33 68 +17,23 68 +25,32 68 +4,33 68 +4,33 69 +4,33 58 +101.3,26 70 +8,11 70 +19,25 70 +3,26 70 +3,26 70 +102.7,15 71 +20,28 71 +103.4,59 72 +4,7 72 +14,58 72 +18,58 72 +29,35 72 +37,57 72 +14,58 72 +14,58 73 +4,59 72 +4,59 72 +4,59 74 +104.4,9 75 +106.8,18 76 +8,18 76 +8,18 76 +8,18 76 +108.4,16 77 +4,7 77 +13,15 77 +4,16 77 +4,16 77 +4,16 78 +4,16 76 +110.4,30 79 +23,29 79 +4,30 79 +4,30 79 +111.8,17 80 +112.5,71 81 +5,8 81 +15,70 81 +19,70 81 +30,36 81 +38,69 81 +15,70 81 +15,70 82 +5,71 81 +5,71 81 +5,71 83 +5,71 84 +5,71 85 +113.5,13 86 +115.4,21 87 +116.4,25 88 +22,24 88 +4,25 88 +4,25 88 +117.8,18 89 +118.8,25 90 +119.6,63 91 +6,9 91 +16,62 91 +20,62 91 +31,37 91 +39,61 91 +16,62 91 +16,62 92 +6,63 91 +6,63 91 +6,63 93 +121.6,21 94 +6,21 95 +6,21 96 +6,21 97 +122.5,13 98 +124.14,43 99 +35,37 99 +39,42 99 +14,43 99 +14,43 99 +4,44 99 +4,7 99 +4,7 99 +4,7 100 +4,44 99 +4,44 99 +4,44 101 +4,44 102 +4,44 76 +126.39,50 103 +39,50 103 +39,50 103 +14,51 103 +35,37 103 +35,37 103 +35,37 104 +14,51 103 +14,51 103 +4,52 103 +4,7 103 +4,7 103 +4,7 105 +4,52 103 +4,52 103 +4,52 76 +128.4,64 106 +4,7 106 +14,63 106 +18,63 106 +29,35 106 +37,62 106 +14,63 106 +14,63 107 +4,64 106 +4,64 106 +4,64 76 +4,64 108 +4,64 58 +131.3,26 109 +8,11 109 +19,25 109 +3,26 109 +3,26 109 +132.7,15 110 +20,28 110 +133.4,59 111 +4,7 111 +14,58 111 +18,58 111 +29,35 111 +37,57 111 +14,58 111 +14,58 112 +4,59 111 +4,59 111 +4,59 113 +134.4,12 114 +136.7,17 115 +7,26 115 +137.4,57 116 +4,7 116 +14,56 116 +18,56 116 +29,35 116 +37,55 116 +14,56 116 +14,56 117 +4,57 116 +4,57 116 +4,57 118 +138.4,12 119 +140.3,51 120 +19,25 120 +27,34 120 +36,50 120 +3,51 120 +141.3,49 121 +3,6 121 +13,48 121 +17,48 121 +28,34 121 +36,47 121 +13,48 121 +13,48 122 +3,49 121 +3,49 121 +3,49 123 +3,49 58 +143.3,21 124 +8,11 124 +18,20 124 +3,21 124 +3,21 124 +144.7,15 125 +19,29 125 +19,38 125 +145.4,26 126 +19,25 126 +4,26 126 +4,26 127 +4,26 58 +149.3,20 128 +3,6 128 +15,19 128 +3,20 128 +3,20 58 +152.1,12 129 +1,5 129 +1,12 129 +153.1,29 130 +12,28 130 +1,29 130 +1,29 130 +154.0,1 131 +179.1,8 132 +180.6,21 133 +23,31 134 +181.7,13 135 +7,18 135 +2,18 135 +2,18 136 +180.33,43 137 +33,43 137 +182.8,9 138 +1,9 138 +187.1,58 139 +17,20 139 +22,25 139 +27,40 139 +27,57 139 +27,57 140 +1,58 139 +188.1,64 141 +28,31 141 +33,37 141 +39,46 141 +48,51 141 +53,63 141 +1,64 141 +1,64 142 +189.0,1 143 +193.6,21 144 +23,31 145 +194.6,18 146 +195.10,11 147 +3,11 147 +193.33,43 148 +33,43 148 +196.8,11 149 +1,11 149 +201.6,21 150 +23,31 151 +202.5,22 152 +5,22 152 +5,29 152 +5,29 153 +33,46 152 +203.3,18 154 +206.0,1 155 +201.33,43 156 +33,43 156 +206.0,1 155 +211.1,8 157 +212.6,21 158 +23,31 159 +213.6,18 160 +214.7,18 161 +215.4,23 162 +4,23 163 +217.4,22 164 +218.7,22 165 +3,36 165 +3,36 166 +219.3,8 167 +221.2,10 168 +212.33,43 169 +33,43 169 +223.5,13 170 +224.2,30 171 +18,21 171 +23,26 171 +28,29 171 +2,30 171 +225.0,1 172 +229.1,32 173 +15,16 173 +18,21 173 +23,26 173 +28,31 173 +1,32 173 +1,32 174 +230.1,26 175 +231.1,20 176 +232.1,18 177 +233.1,18 178 +235.6,21 179 +23,31 180 +236.6,22 181 +237.3,24 182 +16,23 182 +3,24 182 +3,24 182 +238.13,47 183 +34,43 183 +45,46 183 +13,47 183 +13,47 183 +3,48 183 +3,6 183 +3,6 183 +3,6 184 +3,48 183 +3,48 183 +239.3,18 185 +240.3,17 186 +3,17 187 +235.33,43 188 +33,43 188 +243.1,13 189 +244.5,22 190 +245.2,13 191 +248.0,1 192 +247.2,24 193 +248.0,1 192 +255.5,22 194 +5,22 194 +5,34 194 +5,34 195 +256.2,21 196 +257.9,19 197 +17,18 197 +9,19 197 +9,19 197 +2,19 197 +259.8,11 198 +1,11 198 +264.1,13 199 +265.5,18 200 +266.11,17 201 +2,24 201 +2,24 202 +267.8,22 203 +1,22 203 +22 +aSys->Dir 1:26.1,39.2 64 +11 +0:name:28.2,6 s +4:uid:29.2,5 s +8:gid:30.2,5 s +12:muid:31.2,6 s +16:qid:32.2,5 @1 + +32:mode:33.2,6 i +36:atime:34.2,7 i +40:mtime:35.2,7 i +48:length:36.2,8 B +56:dtype:37.2,7 i +60:dev:38.2,5 i +aSys->Qid 11.1,16.2 16 +3 +0:path:13.2,6 B +8:vers:14.2,6 i +12:qtype:15.2,7 i +aDraw->Chans 2:70.1,82.2 4 +1 +0:desc:72.2,6 i +aDraw->Context 274.1,279.2 12 +3 +0:display:276.2,9 R@4 + +4:screen:277.2,8 R@8 + +8:wm:278.2,4 Ct8.2 +0:t0:15,21 s +4:t1:15,21 Ct8.2 +0:t0:32,38 s +4:t1:32,38 R@9 + + + +aDraw->Display 201.1,230.2 20 +5 +0:image:203.2,7 R@5 + +4:white:204.2,7 R@5 + +8:black:205.2,7 R@5 + +12:opaque:206.2,8 R@5 + +16:transparent:207.2,13 R@5 + +aDraw->Image 142.1,198.2 56 +8 +0:r:146.2,3 @6 + +16:clipr:147.2,7 @6 + +32:depth:148.2,7 i +36:chans:149.2,7 @2 + +40:repl:150.2,6 i +44:display:151.2,9 R@4 + +48:screen:152.2,8 R@8 + +52:iname:153.2,7 s +aDraw->Rect 116.1,139.2 16 +2 +0:min:118.2,5 @7 + +8:max:119.2,5 @7 + +aDraw->Point 99.1,113.2 8 +2 +0:x:101.2,3 i +4:y:102.2,3 i +aDraw->Screen 249.1,263.2 16 +4 +0:id:251.2,4 i +4:image:252.2,7 R@5 + +8:fill:253.2,6 R@5 + +12:display:254.2,9 R@4 + +aDraw->Wmcontext 282.1,291.2 28 +7 +0:kbd:284.2,5 Ci +4:ptr:285.2,5 CR@10 + +8:ctl:286.2,5 Cs +12:wctl:287.2,6 Cs +16:images:288.2,8 CR@5 + +20:connfd:289.2,8 R@11 + +24:ctxt:290.2,6 R@3 + +aDraw->Pointer 266.1,271.2 16 +3 +0:buttons:268.2,9 i +4:xy:269.2,4 @7 + +12:msec:270.2,6 i +aSys->FD 1:45.1,48.2 4 +1 +0:fd:47.2,4 i +aNametree->Tree 4:112.1,121.2 8 +2 +0:c:113.2,3 CR@13 + +4:reply:114.2,7 Cs +pNametree->Treeop 122.1,132.2 0 +2 +4:reply:123.2,7 Cs +8:q:124.2,3 B +4 +Create:126.2,8 80 +1 +16:d:128.3,4 @0 + +Wstat:127.2,7 +Remove:129.2,8 16 +0 +Getpath:130.2,9 16 +0 +aMsgclient 0:163.0,169.1 20 +5 +0:fid:164.1,4 i +4:name:165.1,5 s +8:nextmsg:166.1,8 R@15 + +12:pending:167.1,8 R@16 + +16:next:168.1,5 R@14 + +aMsg 156.0,161.1 16 +4 +0:fromfid:157.1,8 i +4:from:158.1,5 s +8:msg:159.1,4 s +12:next:160.1,5 R@15 + +pStyx->Tmsg 3:75.1,123.2 0 +1 +4:tag:76.2,5 i +14 +Readerror:78.2,11 12 +1 +8:error:79.3,8 s +Version:80.2,9 16 +2 +8:msize:81.3,8 i +12:version:82.3,10 s +Auth:83.2,6 20 +3 +8:afid:84.3,7 i +12:uname:85.3,8 s +16:aname:10,15 s +Attach:86.2,8 24 +4 +8:fid:87.3,6 i +12:afid:8,12 i +16:uname:88.3,8 s +20:aname:10,15 s +Flush:89.2,7 12 +1 +8:oldtag:90.3,9 i +Walk:91.2,6 20 +3 +8:fid:92.3,6 i +12:newfid:8,14 i +16:names:93.3,8 As +Open:94.2,6 16 +2 +8:fid:95.3,6 i +12:mode:8,12 i +Create:96.2,8 24 +4 +8:fid:97.3,6 i +12:name:98.3,7 s +16:perm:99.3,7 i +20:mode:9,13 i +Read:100.2,6 32 +3 +8:fid:101.3,6 i +16:offset:102.3,9 B +24:count:103.3,8 i +Write:104.2,7 32 +3 +8:fid:105.3,6 i +16:offset:106.3,9 B +24:data:107.3,7 Ab +Clunk:108.2,7 12 +1 +8:fid:111.3,6 i +Stat:109.2,6 +Remove:110.2,8 +Wstat:112.2,7 80 +2 +8:fid:113.3,6 i +16:stat:114.3,7 @0 + +pStyxservers->Navop 4:31.1,42.2 0 +2 +4:reply:32.2,7 Ct8.2 +0:t0:18,30 R@0 + +4:t1:18,30 s + +8:path:33.2,6 B +3 +Stat:35.2,6 16 +0 +Walk:36.2,6 24 +1 +16:name:37.3,7 s +Readdir:38.2,9 24 +2 +16:offset:39.3,9 i +20:count:40.3,8 i +aStyxservers->Styxserver 44.1,82.2 32 +7 +0:fd:45.2,4 R@11 + +4:fids:46.2,6 ALR@19 + +8:fidlock:47.2,9 Ci +12:t:48.2,3 R@20 + +16:rootpath:49.2,10 B +24:msize:50.2,7 i +28:replychan:51.2,11 CR@21 + +aStyxservers->Fid 5.1,19.2 48 +9 +0:fid:6.2,5 i +8:path:7.2,6 B +16:qtype:8.2,7 i +20:isopen:9.2,8 i +24:mode:10.2,6 i +28:doffset:11.2,9 t8.2 +0:t0:12,15 i +4:t1:12,15 i + +36:uname:12.2,7 s +40:param:13.2,7 s +44:data:14.2,6 Ab +aStyxservers->Navigator 21.1,29.2 8 +2 +0:c:22.2,3 CR@17 + +4:reply:23.2,7 Ct8.2 +0:t0:18,30 R@0 + +4:t1:18,30 s + +pStyx->Rmsg 3:125.1,163.2 0 +1 +4:tag:126.2,5 i +15 +Readerror:128.2,11 12 +1 +8:error:129.3,8 s +Version:130.2,9 16 +2 +8:msize:131.3,8 i +12:version:132.3,10 s +Auth:133.2,6 24 +1 +8:aqid:134.3,7 @1 + +Attach:135.2,8 24 +1 +8:qid:136.3,6 @1 + +Flush:137.2,7 8 +0 +Error:138.2,7 12 +1 +8:ename:139.3,8 s +Clunk:140.2,7 8 +0 +Remove:141.2,8 +Wstat:142.2,7 +Walk:143.2,6 12 +1 +8:qids:144.3,7 A@1 + +Create:145.2,8 32 +2 +8:qid:147.3,6 @1 + +24:iounit:148.3,9 i +Open:146.2,6 +Read:149.2,6 12 +1 +8:data:150.3,7 Ab +Write:151.2,7 12 +1 +8:count:152.3,8 i +Stat:153.2,6 72 +1 +8:stat:154.3,7 @0 + +12 +0:dir +3 +32:name:0:34.4,8 s +36:perm:18,22 i +40:path:29,33 i +1 +48:d:36.1,2 @0 + +@0 +25:badmod +1 +32:path:49.7,11 s +0 +n37:init +0 +2 +40:tree:71.2,6 R@12 + +44:treeop:8,14 CR@17 + +n146:chatsrv +1 +32:tree:83.8,12 R@12 + +8 +36:tm:86.7,9 R@16 + +40:c:131.3,4 R@19 + +44:mc:110.4,6 R@14 + +48:c:93.3,4 R@19 + +52:c:101.3,4 R@19 + +56:c:143.3,4 R@19 + +60:msg:116.4,7 s +64:tmsg:85.8,12 R@16 + +n373:usernames +0 +2 +32:c:180.6,7 R@14 + +36:s:179.1,2 s +s384:newmsgclient +2 +32:fid:185.13,16 i +36:name:23,27 s +0 +n400:getmsgclient +1 +32:fid:191.13,16 i +1 +36:c:193.6,7 R@14 + +R@14 +409:cancelpending +1 +32:tag:199.14,17 i +2 +36:c:201.6,7 R@14 + +40:tm:202.6,8 R@16 + +n421:closemsgclient +1 +32:fid:208.15,18 i +3 +36:c:212.6,7 R@14 + +40:s:211.1,2 s +44:prev:210.1,5 R@14 + +n443:writemsgclients +3 +32:fromfid:227.16,23 i +36:from:30,34 s +40:msg:44,47 s +3 +44:c:235.6,7 R@14 + +48:nm:229.1,3 R@15 + +52:s:237.3,4 s +n483:getnextmsg +1 +32:mc:250.11,13 R@14 + +1 +36:m:255.6,7 R@15 + +s495:msgtext +1 +32:m:262.8,9 R@15 + +1 +36:prefix:264.1,7 s +s10 +180:keptcount:172.0,9 i +184:keptmsg:174.0,7 R@15 + +188:msgclients:175.0,10 R@14 + +196:nametree:20.1,9 mNametree +4:110.0,135.1 0 + +200:nextmsg:0:173.0,7 R@15 + +220:srv:30.0,3 R@18 + +224:styx:14.1,5 mStyx +3:1.0,182.1 0 + +228:styxservers:0:18.1,12 mStyxservers +4:1.0,108.1 0 + +232:sys:0:8.1,4 mSys +1:4.0,160.1 0 + +236:tc:0:29.0,2 CR@16 + |
