LanMan_MH 7.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
; Copyright 1998 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; cmhg control file for Lan Man filing system
;
; <module-is-runnable:> - NO

#include "VersionNum"
20
#include "Global/Services.h"
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

; Title string
title-string: LanManFS

; Version information
help-string: LanManFS Module_MajorVersion_CMHG Module_MinorVersion_CMHG

; Build date information
date-string: Module_Date_CMHG

initialisation-code: LM_Initialise

finalisation-code: LM_Finalise

; Service calls: FSRedeclare; ResourceFSStarting; DCIDriverStatus; OmniAction
Stewart Brodie's avatar
Stewart Brodie committed
36
; InternetStatus
37 38 39
service-call-handler: LM_Service Service_OmniAction Service_ResourceFSStarting,
  Service_FSRedeclare,
  Service_DCIDriverStatus Service_InternetStatus Service_DCIProtocolStatus
40 41 42 43 44 45 46 47 48

swi-handler-code:      LM_Swi

swi-chunk-base-number: 0x49240

swi-decoding-table:    LanMan,
   OmniOp, FreeOp, NameOp, Transact, LogonOp


Stewart Brodie's avatar
Stewart Brodie committed
49 50 51
generic-veneers: callback_entry/callback_handler,	; for anti-idleout callback
                 callevery_entry/callevery_handler

52 53 54 55 56
vector-handlers: NBIP_CallbackFn/NBIP_CallbackFn_handler_ctrl,
#ifndef NO_NETBEUI
                 ReceiveFn TickerFn LLC_CallbackFn,
#endif
                 EventFn
57

Robert Sprowson's avatar
Robert Sprowson committed
58
#ifdef NO_INTERNATIONAL_HELP
59 60 61

command-keyword-table: LM_Command

Robert Sprowson's avatar
Robert Sprowson committed
62 63 64
    LanMan(min-args:0, max-args:0, add-syntax:,
           help-text: "*LanMan selects LanManFS as the current filing system\n",
           invalid-syntax: "Syntax:\t*LanMan" ),
65

Robert Sprowson's avatar
Robert Sprowson committed
66 67 68
    LMConnect(min-args:3, max-args:5, add-syntax:, fs-command:,
           help-text: "*LMConnect sets up a connection to a file server\n",
           invalid-syntax: "Syntax:\t*LMConnect <name> <server> <dir-name> [<user> <password>]", ),
69

Robert Sprowson's avatar
Robert Sprowson committed
70 71 72
    LMDisconnect(min-args:1, max-args:1, add-syntax:, fs-command:,
           help-text: "*LMDisconnect disconnects from a file server\n",
           invalid-syntax: "Syntax:\t*LMDisconnect <name>", ),
73

Robert Sprowson's avatar
Robert Sprowson committed
74 75 76 77 78 79 80 81
    LMLogon(min-args:2, max-args:3, add-syntax:, fs-command:,
           help-text: "*LMLogon sets default information about the network\n",
           invalid-syntax: "Syntax:\t*LMLogon <workgroup> <username> <password>", ),

    LMInfo(min-args:0, max-args:0, add-syntax:, fs-command:,
           help-text: "*LMInfo displays debugging information\n",
           invalid-syntax: "Syntax:\t*LMInfo", ),

82 83 84
    LMNameMode(min-args:0, max-args:2, add-syntax:, fs-command:,
           help-text: "*LMNameMode sets the capitalisation of DOS short names on DOS shares and whether hidden files are shown.\n"
           invalid-syntax: "Syntax:\t*LMNameMode  [-PreserveCase | -Lowercase | -FirstCaps] [-IncludeHidden | -ExcludeHidden]", ),
Robert Sprowson's avatar
Robert Sprowson committed
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147

    LMLogoff(min-args:0, max-args:0, add-syntax:, fs-command:,
           help-text: "*LMLogoff clears the workgroup and default user settings "
                      "and disables network browsing\n",
           invalid-syntax: "Syntax:\t*LMLogoff" ),

    LMServer(min-args:1, max-args:17, add-syntax:, fs-command:,
           help-text: "*LMServer adds a server name and list of shared drives\n",
           invalid-syntax: "Syntax:\t*LMServer server [sharename] [sharename] ...", ),

    LMPrinters(min-args:1, max-args:17, add-syntax:, fs-command:,
           help-text: "*LMPrinters adds a server name and list of printers\n",
           invalid-syntax: "Syntax:\t*LMPrinters server [printername] [printername] ...", ),

    Free(min-args:0, max-args:1, add-syntax:, fs-command:,
           help-text: "*Free displays the total free space on a LanManFS share",
           invalid-syntax: "Syntax:\t*Free [<disc spec.>]", ),

    ListFS(min-args:0, max-args:1, add-syntax:, fs-command:,
           help-text: "*ListFS displays the servers in the current LAN workgroup or "
                      "the shares on the given server\n",
           invalid-syntax: "Syntax:\t*ListFS [server]", ),

    FS(min-args:0, max-args:1, add-syntax:, configure:, status:,
           help-text: "*Configure FS sets the file server or domain name from "
                      "which LanManFS will attempt to boot\n",
           invalid-syntax: "Syntax:\t*Configure FS file-server-name", ),

    LMTransport(min-args:0, max-args:1, add-syntax:, configure:, status:,
           help-text: "*Configure LMTransport sets whether LanManFS should use "
                      "NetBEUI or TCP/IP as transport protocol\n",
           invalid-syntax: "Syntax:\t*Configure LMTransport IP | NetBEUI", ),

    LMNameServer(min-args:0, max-args:1, add-syntax:, configure:, status:,
           help-text: "*Configure LMNameServer sets the address of a "
                      "NetBIOS over IP nameserver for LanManFS to use\n",
           invalid-syntax: "Syntax:\t*Configure LMNameServer <IP address>", )

#else

international-help-file:"Resources:$.ThirdParty.OmniClient.LanManFS.Messages"
command-keyword-table: LM_Command

    LanMan(min-args:0, max-args:0, international:,
           help-text: "HLANM",
           invalid-syntax: "SLMAN" ),

    LMConnect(min-args:3, max-args:5, international:, fs-command:,
           help-text: "HCONN",
           invalid-syntax: "SCONN", ),

    LMDisconnect(min-args:1, max-args:1, international:, fs-command:,
           help-text: "HDISC",
           invalid-syntax: "SDISC", ),

    LMLogon(min-args:2, max-args:3, international:, fs-command:,
           help-text: "HLOGN",
           invalid-syntax: "SLOGN", ),

    LMInfo(min-args:0, max-args:0, international:, fs-command:,
           help-text: "HINFO",
           invalid-syntax: "SINFO", ),

148
    LMNameMode(min-args:0, max-args:2, international:, fs-command:,
Robert Sprowson's avatar
Robert Sprowson committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
           help-text: "HNMOD",
           invalid-syntax: "SNMOD", ),

    LMLogoff(min-args:0, max-args:0, international:, fs-command:,
           help-text: "HLOGO",
           invalid-syntax: "SLOGO" ),

    LMServer(min-args:1, max-args:17, international:, fs-command:,
           help-text: "HSERV",
           invalid-syntax: "SSERV", ),

    LMPrinters(min-args:1, max-args:17, international:, fs-command:,
           help-text: "HPRNT",
           invalid-syntax: "SPRNT", ),

    Free(min-args:0, max-args:1, international:, fs-command:,
           help-text: "HFREE",
           invalid-syntax: "SFREE", ),

    ListFS(min-args:0, max-args:1, international:, fs-command:,
           help-text: "HLSFS",
           invalid-syntax: "SLSFS", ),

    FS(min-args:0, max-args:1, international:, configure:, status:,
           help-text: "HCFFS",
           invalid-syntax: "SCFFS", ),

    LMTransport(min-args:0, max-args:1, international:, configure:, status:,
           help-text: "HCTRN",
           invalid-syntax: "SCTRN", ),

    LMNameServer(min-args:0, max-args:1, international:, configure:, status:,
           help-text: "HCNMS",
           invalid-syntax: "SCNMS", )

#endif