Changeset 707 for trunk/guitools/shared/smbtree.vrs
- Timestamp:
- Jul 10, 2012, 5:21:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/shared/smbtree.vrs
r703 r707 298 298 end /* Share loop */ 299 299 300 do until left(line,10) = '09'x||'Workgroup' 300 do until left(line,10) = '09'x||'Workgroup' | lines(smbmachine.I) = 0 301 301 line = linein(smbmachine.I) 302 302 end 303 line = linein(smbmachine.I) 303 line = linein(smbmachine.I) /* this should be the -------- string */ 304 304 /* Reading FIRST workgroup and master - eventually both empty */ 305 305 line = linein(smbmachine.I) … … 472 472 */ 473 473 _GetMachineIP: procedure expose debuglevel samba. 474 say time()' _GetMachineIP() started' 474 475 /* Get all IP addresses of the machine */ 475 476 machine = arg(1) … … 493 494 end 494 495 ipstr = strip(ipstr,,',') 496 say time()' _GetMachineIP() done' 495 497 return IpStr 496 498 … … 498 500 */ 499 501 _GetMachineMACRoles: procedure expose debuglevel samba. 502 say time()' _GetMachineMACRoles() started' 500 503 machine = arg(1) /* May be name or IP */ 501 504 call VRSet VRWindow(), 'Pointer', 'Wait' … … 526 529 Roles = strip(Roles,,',') 527 530 if Roles = "" then Roles = "Workstation" 531 say time()' _GetMachineMACRoles() done' 528 532 return MAC'|'Roles 529 533 … … 531 535 */ 532 536 _GetMachineNMBStatus: procedure expose debuglevel samba. 537 say time()' _GetMachineNMBStatus() started' 533 538 machine = arg(1) /* name only allowed */ 534 539 call VRSet VRWindow(), 'Pointer', 'Wait' … … 567 572 if Roles = "" then Roles = "Workstation" 568 573 ipstr = strip(ipstr,,',') 574 say time()' _GetMachineNMBStatus() done' 569 575 return IPStr'|'MAC'|'Roles 570 576 … … 574 580 */ 575 581 file2stem: 582 say time()' file2stem() started' 576 583 msgfile = arg(1) 577 584 msgstem = arg(2) … … 597 604 if delMsgFile <> "NODEL" then ok = SysFileDelete(msgfile) 598 605 drop msgfile msgstem 606 say time()' file2stem() done' 599 607 return stemcount
Note:
See TracChangeset
for help on using the changeset viewer.