home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / 3COMM.ZIP / H.ZIP / NETERR.H < prev    next >
Text File  |  1989-05-17  |  20KB  |  366 lines

  1. /********************************************************************/
  2. /**                   Microsoft OS|2 LAN Manager                   **/
  3. /**               Copyright(c) Microsoft Corp., 1987               **/
  4. /********************************************************************/
  5.  
  6. /***    neterr.h - network error definitions
  7.  *
  8.  */
  9.  
  10.  
  11.  
  12. #define NERR_Success        0    /* Success */
  13.  
  14. /*
  15.  *    Redirector related
  16.  *        Err codes from 50 to 79, 88, and 230 to 249
  17.  */
  18.  
  19. #define ERROR_NOT_SUPPORTED    50    /* This request is not supported by the network.  */
  20. #define ERROR_REM_NOT_LIST    51    /* This remote computer is not listening. */
  21. #define ERROR_DUP_NAME        52    /* A duplicate name exists on the network. */
  22. #define ERROR_BAD_NETPATH    53    /* The network path cannot be located. */
  23. #define ERROR_NETWORK_BUSY    54    /* The network is busy. */
  24. #define ERROR_DEV_NOT_EXIST    55    /* This device does not exist on the network. */
  25. #define ERROR_TOO_MANY_CMDS    56    /* The net BIOS command limit has been exceeded. */
  26. #define ERROR_ADAP_HDW_ERR    57    /* A network adapter hardware error has occurred. */
  27. #define ERROR_BAD_NET_RESP    58    /* The network has responded incorrectly. */
  28. #define ERROR_UNEXP_NET_ERR    59    /* An unexpected network error has occurred. */
  29. #define ERROR_BAD_REM_ADAP    60    /* The remote adapter being used is incompatible. */
  30. #define ERROR_PRINTQ_FULL    61    /* The print queue is full. */
  31. #define ERROR_NO_SPOOL_SPACE    62    /* There's not enough memory available for the requested print file. */
  32. #define ERROR_PRINT_CANCELLED    63    /* The requested print file has been cancelled. */
  33. #define ERROR_NETNAME_DELETED    64    /* The network name was deleted. */
  34. #define    ERROR_NETWORK_ACCESS_DENIED 65    /* Network access is denied. */
  35. #define ERROR_BAD_DEV_TYPE    66    /* This network device type is incorrect. */
  36. #define ERROR_BAD_NET_NAME    67    /* This network name cannot be found. */
  37. #define ERROR_TOO_MANY_NAMES    68    /* The network name limit has been exceeded. */
  38. #define ERROR_TOO_MANY_SESS    69    /* The net BIOS session limit has been exceeded. */
  39. #define ERROR_SHARING_PAUSED    70    /* File sharing has been temporarily paused. */
  40. #define ERROR_REQ_NOT_ACCEP    71    /* This request is not accepted by the network. */
  41. #define ERROR_REDIR_PAUSED    72    /* Print or disk redirection is temporarily paused. */
  42.  
  43. #define ERROR_NET_WRITE_FAULT    88    /* A network data fault has occurred. */
  44.  
  45. #define    ERROR_BAD_PIPE        230    /* This is a non-existent pipe or an invalid operation. */
  46. #define    ERROR_PIPE_BUSY        231    /* The specified pipe is busy. */
  47. #define    ERROR_NO_DATA        232    /* There's no data on a non-blocking read. */
  48. #define    ERROR_PIPE_NOT_CONNECTED 233    /* The pipe was disconnected by the Server. */
  49. #define    ERROR_MORE_DATA        234    /* Additional data is available. */
  50.  
  51. #define    ERROR_VC_DISCONNECTED    240    /* The session was canceled. */
  52.  
  53.  
  54. /***    NERR_BASE is the base of error codes from network utilities,
  55.  *    chosen to avoid conflict with OS and redirector error codes.
  56.  *    2100 is a value that has been assigned to us by the OS folks.
  57.  */
  58. #define    NERR_BASE    2100
  59.  
  60.  
  61.  
  62. /* UNUSED BASE+0 */
  63. /* UNUSED BASE+1 */
  64. #define NERR_NetNotStarted    (NERR_BASE+2)    /* The Workstation driver NETWKSTA.SYS is not installed. */
  65. #define NERR_UnknownServer    (NERR_BASE+3)    /* The Server cannot be located. */
  66. #define NERR_ShareMem        (NERR_BASE+4)    /* An internal error occurred.  The network cannot access a shared memory segment. */
  67. #define NERR_NoNetworkResource    (NERR_BASE+5)    /* A network resource shortage occured . */
  68. #define NERR_RemoteOnly        (NERR_BASE+6)    /* This operation is not supported on Workstations. */
  69. #define NERR_DevNotRedirected    (NERR_BASE+7)    /* The device is not connected. */
  70. /* UNUSED BASE+8 */
  71. /* UNUSED BASE+9 */
  72. /* UNUSED BASE+10 */
  73. /* UNUSED BASE+11 */
  74. /* UNUSED BASE+12 */
  75. /* UNUSED BASE+13 */
  76. #define NERR_ServerNotStarted    (NERR_BASE+14)    /* The Server has not been started. */
  77. #define NERR_ItemNotFound    (NERR_BASE+15)    /* The device queue is empty. */
  78. #define NERR_UnknownDevDir    (NERR_BASE+16)    /* The device or directory does not exist. */
  79. #define NERR_RedirectedPath    (NERR_BASE+17)    /* The operation is invalid on a redirected device. */
  80. #define NERR_DuplicateShare    (NERR_BASE+18)    /* The name has already been shared */
  81. #define NERR_NoRoom        (NERR_BASE+19)    /* The Server is currently out of the requested resource. */
  82. /* UNUSED BASE+20 */
  83. #define NERR_TooManyItems    (NERR_BASE+21)    /* Requested add of item exceeds maximum allowed */
  84. /* UNUSED BASE+22 */
  85. #define NERR_BufTooSmall    (NERR_BASE+23)    /* The API return buffer is too small. */
  86. /* UNUSED BASE+24 */
  87. /* UNUSED BASE+25 */
  88. /* UNUSED BASE+26 */
  89. #define NERR_RemoteErr        (NERR_BASE+27)    /* A remote API error has occurred.  */
  90. /* UNUSED BASE+28 */
  91. /* UNUSED BASE+29 */
  92. /* UNUSED BASE+30 */
  93. #define NERR_LanmanIniError    (NERR_BASE+31)    /* An error occurred when opening or reading LANMAN.INI. */
  94. /* UNUSED BASE+32 */
  95. /* UNUSED BASE+33 */
  96. #define NERR_OS2IoctlError    (NERR_BASE+34)    /* An internal error occurred when calling the Workstation driver. */
  97. /* UNUSED BASE+35 */
  98. #define    NERR_NetworkError    (NERR_BASE+36)    /* A general network error has occurred. */
  99. /* UNUSED BASE+37 */
  100. #define NERR_WkstaNotStarted    (NERR_BASE+38)    /* The Workstation service has not been started. */
  101. #define NERR_BrowserNotStarted    (NERR_BASE+39)    /* The requested Server information is not available. */
  102. #define NERR_InternalError    (NERR_BASE+40)    /* An internal LAN Manager error has occurred.*/
  103. #define NERR_BadTransactConfig    (NERR_BASE+41)    /* The Server is not configured for transactions. */
  104. #define NERR_InvalidAPI        (NERR_BASE+42)    /* The requested API is not supported on the remote Server. */
  105. #define NERR_BadEventName    (NERR_BASE+43)    /* The event name is poorly formed. */
  106. /* UNUSED BASE+44 */
  107.  
  108. /*
  109.  *    Config API related
  110.  *        Err codes from BASE+45 to BASE+49
  111.  */
  112.  
  113. /* UNUSED BASE+45 */
  114. #define NERR_CfgCompNotFound    (NERR_BASE+46)    /* The program could not find the specified component in LANMAN.INI. */
  115. #define NERR_CfgParamNotFound    (NERR_BASE+47)    /* The program could not find the specified parameter in LANMAN.INI. */
  116. #define NERR_LineTooLong    (NERR_BASE+49)    /* A line in LANMAN.INI is too long. */
  117.  
  118. /*
  119.  *    Spooler API related
  120.  *        Err codes from BASE+50 to BASE+79
  121.  */
  122.  
  123. #define NERR_QNotFound        (NERR_BASE+50)    /* The printer queue does not exist. */
  124. #define NERR_JobNotFound    (NERR_BASE+51)    /* The print job does not exist. */
  125. #define NERR_DestNotFound    (NERR_BASE+52)    /* The printer destination cannot be found. */
  126. #define NERR_QExists        (NERR_BASE+54)    /* The printer queue already exists. */
  127. #define NERR_QNoRoom        (NERR_BASE+55)    /* No more printer queues can be added. */
  128. #define NERR_JobNoRoom        (NERR_BASE+56)    /* No more print jobs can be added.  */
  129. #define NERR_DestNoRoom     (NERR_BASE+57)    /* No more printer destinations can be added. */
  130. #define NERR_DestIdle        (NERR_BASE+58)    /* This printer destination is idle and cannot accept control operations. */
  131. #define NERR_DestInvalidOp    (NERR_BASE+59)    /* This printer destination request contains an invalid control function. */
  132. #define NERR_ProcNoRespond    (NERR_BASE+60)    /* The printer processor is not responding. */
  133. #define NERR_SpoolerNotLoaded    (NERR_BASE+61)    /* The Spooler service has not been started. */
  134. #define NERR_QInvalidState    (NERR_BASE+63)    /* This operation cannot be performed on the printer queue in its current state. */
  135. #define NERR_JobInvalidState    (NERR_BASE+64)    /* This operation cannot be performed on the print job in its current state. */
  136. #define    NERR_SpoolNoMemory    (NERR_BASE+65)    /* A Spooler memory allocation failure has occurred. */
  137.  
  138. /*
  139.  *    Service API related
  140.  *        Err codes from BASE+80 to BASE+99
  141.  */
  142.  
  143. #define NERR_ServiceTableLocked    (NERR_BASE+80)    /* The service does not respond to control actions. */
  144. #define NERR_ServiceTableFull    (NERR_BASE+81)    /* The service table is full. */
  145. #define NERR_ServiceInstalled    (NERR_BASE+82)    /* The requested service has already been started. */
  146. #define NERR_ServiceEntryLocked    (NERR_BASE+83)    /* The service does not respond to control actions. */
  147. #define NERR_ServiceNotInstalled (NERR_BASE+84) /* The service has not been started. */
  148. #define NERR_BadServiceName    (NERR_BASE+85)    /* The service name is invalid. */
  149. #define NERR_ServiceCtlTimeout    (NERR_BASE+86)    /* The service is not responding to the control function. */
  150. #define NERR_ServiceCtlBusy    (NERR_BASE+87)    /* The service control is busy. */
  151. #define NERR_BadServiceProgName    (NERR_BASE+88)    /* LANMAN.INI contains an invalid service program name. */
  152. #define NERR_ServiceNotCtrl    (NERR_BASE+89)    /* The service cannot be controlled in its present state. */
  153. #define NERR_ServiceKillProc    (NERR_BASE+90)    /* The service was ended abnormally. */
  154. #define NERR_ServiceCtlNotValid    (NERR_BASE+91)    /* The requested pause or stop is not valid for this service. */
  155.  
  156. /*
  157.  *    Wksta and Logon API related
  158.  *        Err codes from BASE+100 to BASE+119
  159.  */
  160.  
  161. #define NERR_AlreadyLoggedOn    (NERR_BASE+100)    /* This Workstation is already logged on. */
  162. #define NERR_NotLoggedOn    (NERR_BASE+101)    /* This Workstation has not been logged on yet. */
  163. #define NERR_BadUsername    (NERR_BASE+102)    /* The username or groupname parameter is invalid.  */
  164. #define NERR_BadPassword    (NERR_BASE+103)    /* The password parameter is invalid. */
  165. #define NERR_UnableToAddName_W    (NERR_BASE+104)    /* @W The logon processor did not add the message alias. */
  166. #define NERR_UnableToAddName_F    (NERR_BASE+105)    /* The logon processor did not add the message alias. */
  167. #define NERR_UnableToDelName_W    (NERR_BASE+106)    /* @W The logoff processor did not delete the message alias. */
  168. #define NERR_UnableToDelName_F    (NERR_BASE+107)    /* The logoff processor did not delete the message alias. */
  169. /* UNUSED BASE+108 */
  170. /* UNUSED BASE+109 */
  171. #define NERR_LogonServerConflict (NERR_BASE+110)/* A centralized logon Server conflict has occurred. */
  172. #define NERR_LogonNoUserPath    (NERR_BASE+111) /* The Server is configured without a valid user path. */
  173. #define NERR_LogonScriptError    (NERR_BASE+112) /* An error occurred while loading or running the logon script. */
  174. /* UNUSED BASE+113 */
  175. #define NERR_StandaloneLogon    (NERR_BASE+114) /* The logon Server was not specified.  Standalone logon will occur. */
  176. #define NERR_LogonServerNotFound (NERR_BASE+115) /* The logon Server cannot be found.  */
  177.  
  178.  
  179. /*
  180.  *    ACF API related (access, user, group)
  181.  *        Err codes from BASE+120 to BASE+149
  182.  */
  183.  
  184. #define NERR_GroupNotFound    (NERR_BASE+120)    /* The groupname cannot be found. */
  185. #define NERR_UserNotFound    (NERR_BASE+121)    /* The username cannot be found. */
  186. #define NERR_ResourceNotFound    (NERR_BASE+122)    /* The resource name cannot be found.  */
  187. #define NERR_GroupExists    (NERR_BASE+123)    /* The group already exists. */
  188. #define NERR_UserExists        (NERR_BASE+124)    /* The user account already exists. */
  189. #define NERR_ResourceExists    (NERR_BASE+125)    /* The resource permission list already exists. */
  190. /* UNUSED BASE+126 */
  191. #define NERR_ACFNotLoaded    (NERR_BASE+127)    /* The server is not running with user-level security. */
  192. #define NERR_ACFNoRoom        (NERR_BASE+128)    /* There are too many names in the access control file. */
  193. #define NERR_ACFFileIOFail    (NERR_BASE+129)    /* A disk I/O failure has occurred.*/
  194. #define NERR_ACFTooManyLists    (NERR_BASE+130)    /* There were too many lists specified. */
  195. #define NERR_UserLogon        (NERR_BASE+131) /* Deleting a user with a session is not allowed. */
  196. #define NERR_ACFNoParent    (NERR_BASE+132)    /* The parent directory cannot be located. */
  197. /* UNUSED BASE+133 */
  198. #define NERR_SpeGroupOp        (NERR_BASE+134) /* This operation is not allowed on this special group. */
  199. /* UNUSED BASE+135 */
  200. #define NERR_UserInGroup    (NERR_BASE+136) /* The user already belongs to this group. */
  201. #define NERR_UserNotInGroup    (NERR_BASE+137) /* The user does not belong to this group. */
  202.  
  203. /*
  204.  *    Use API related 
  205.  *        Err codes from BASE+150 to BASE+169
  206.  */
  207.  
  208. #define NERR_UseNotFound    (NERR_BASE+150)    /* The connection cannot be found. */
  209. #define NERR_BadAsgType        (NERR_BASE+151)    /* This asg_type is invalid. */
  210. #define NERR_DeviceIsShared    (NERR_BASE+152) /* This device is already being shared. */
  211.  
  212. /* 
  213.  *    Message Server related 
  214.  *        Error codes BASE+170 to BASE+209
  215.  */
  216.  
  217. #define    NERR_NoComputerName    (NERR_BASE+170)    /* A computername has not been configured.  */
  218. #define    NERR_MsgAlreadyStarted    (NERR_BASE+171)    /* This message Server has already been started. */
  219. #define NERR_MsgInitFailed    (NERR_BASE+172)    /* The message Server initialization request has failed. */
  220. #define    NERR_NameNotFound    (NERR_BASE+173)    /* The message alias cannot be found on the local-area network. */
  221. #define    NERR_AlreadyForwarded    (NERR_BASE+174)    /* This message alias has already been forwarded. */
  222. #define NERR_AddForwarded    (NERR_BASE+175)    /* This message alias has been added but is still forwarded. */
  223. #define NERR_AlreadyExists    (NERR_BASE+176)    /* This message alias already exists locally. */
  224. #define    NERR_TooManyNames    (NERR_BASE+177)    /* The maximum number of added message aliases has been exceeded. */
  225. #define NERR_DelComputerName    (NERR_BASE+178)    /* The computername cannot be deleted.*/
  226. #define    NERR_LocalForward    (NERR_BASE+179)    /* Messages cannot be forwarded back to the same Workstation. */
  227. /* UNUSED BASE+180 */
  228. #define NERR_PausedRemote    (NERR_BASE+181)    /* The message has been sent but the reception is currently paused. */
  229. #define    NERR_BadReceive        (NERR_BASE+182)    /* The message was sent but not received. */
  230. #define    NERR_NameInUse        (NERR_BASE+183)    /* The message alias is currently in use. Try again later. */
  231. #define    NERR_MsgNotStarted    (NERR_BASE+184)    /* The Messenger service has not been started. */
  232. #define    NERR_NotLocalName    (NERR_BASE+185)    /* The name is not on the local computer. */
  233. #define    NERR_NoForwardName    (NERR_BASE+186)    /* The forwarded message alias cannot be found on the network. */
  234. #define    NERR_RemoteFull        (NERR_BASE+187)    /* The message alias table on the remote station is full. */
  235. #define NERR_NameNotForwarded    (NERR_BASE+188)    /* Messages for this alias are not currently forwarded. */
  236. #define NERR_TruncatedBroadcast    (NERR_BASE+189)    /* The broadcast message was truncated. */
  237. #define    NERR_InvalidDevice    (NERR_BASE+194)    /* This is an invalid device. */
  238. #define    NERR_WriteFault        (NERR_BASE+195)    /* A  write fault has occurred. */
  239. /* UNUSED BASE+196 */
  240. #define    NERR_DuplicateName    (NERR_BASE+197)    /* A duplicate message alias exists on the local-area network. */
  241. #define    NERR_DeleteLater    (NERR_BASE+198)    /* @W This message alias will be deleted later. */
  242.  
  243.  
  244. /* 
  245.  *     Server API related 
  246.  *        Error codes BASE+210 to BASE+229
  247.  */
  248.  
  249. #define NERR_NetNameNotFound    (NERR_BASE+210)    /* This shared resource does not exist.*/
  250. #define    NERR_DeviceNotShared    (NERR_BASE+211)    /* This device is not shared. */
  251. #define NERR_ClientNameNotFound    (NERR_BASE+212)    /* A session does not exist with that computername. */
  252. #define NERR_FileIdNotFound    (NERR_BASE+214)    /* There isn't an open file with that ID number. */
  253. #define NERR_ExecFailure    (NERR_BASE+215)    /* A failure occurred when executing a remote administration command. */
  254. #define NERR_TmpFile        (NERR_BASE+216) /* A failure occurred when opening a remote temporary file. */
  255. #define NERR_TooMuchData    (NERR_BASE+217) /* The data returned from a remote administration command has been truncated to 64K bytes. */
  256. #define NERR_DeviceShareConflict (NERR_BASE+218) /* This device cannot be shared as both a spooled and a non-spooled device. */
  257. #define NERR_BrowserTableIncomplete (NERR_BASE+219)  /* The Server table was initialized incorrectly.*/
  258.  
  259. /* 
  260.  *     CharDev API related 
  261.  *        Error codes BASE+230 to BASE+249
  262.  */
  263.  
  264. /* UNUSED BASE+230 */
  265. #define NERR_DevInvalidOpCode    (NERR_BASE+231)    /* The operation is invalid for this device. */
  266. #define NERR_DevNotFound    (NERR_BASE+232)    /* This device cannot be shared. */
  267. #define NERR_DevNotOpen        (NERR_BASE+233)    /* This device was not open. */
  268. #define NERR_BadQueueDevString    (NERR_BASE+234)    /* This device name string is invalid. */
  269. #define NERR_BadQueuePriority    (NERR_BASE+235)    /* The queue priority is invalid. */
  270. #define NERR_NoCommDevs        (NERR_BASE+237)    /* There are no shared communication devices. */
  271. #define NERR_QueueNotFound    (NERR_BASE+238)    /* A queue doesn't exist for this request. */
  272. #define NERR_BadDevString    (NERR_BASE+240) /* This list of devices is invalid. */
  273. #define NERR_BadDev        (NERR_BASE+241) /* The requested device is invalid. */
  274. #define NERR_InUseBySpooler    (NERR_BASE+242) /* This device is already in use by the spooler. */
  275. #define NERR_CommDevInUse    (NERR_BASE+243) /* This device is already in use as a communications device. */
  276.  
  277. /* 
  278.  *    NetICanonicalize and NetIType and NetIMakeLMFileName
  279.  *    NetIListCanon and NetINameCheck
  280.  *        Error codes BASE+250 - BASE+269
  281.  */
  282.  
  283. #define NERR_InvalidComputer   (NERR_BASE+251) /* This computername is invalid. */
  284. /* UNUSED BASE+252 */
  285. /* UNUSED BASE+253 */
  286. #define NERR_MaxLenExceeded    (NERR_BASE+254) /* The string and prefix specified are too long. */
  287. /* UNUSED BASE+255 */
  288. #define NERR_BadComponent      (NERR_BASE+256) /* This path component is invalid. */
  289. #define NERR_CantType           (NERR_BASE+257) /* Cannot determine type of input. */
  290. /* UNUSED BASE+258 */
  291. /* UNUSED BASE+259 */
  292. #define NERR_TooManyEntries    (NERR_BASE+262) /* The buffer for types is not big enough. */
  293.  
  294. /* 
  295.  *    NetProfile
  296.  *        Error codes BASE+270 - BASE+276
  297.  */
  298.  
  299. #define NERR_ProfileFileTooBig    (NERR_BASE+270) /* Profile files cannot exceed 64K bytes. */
  300. #define NERR_ProfileOffset    (NERR_BASE+271) /* The start offset is out of range. */
  301. #define NERR_ProfileCleanup    (NERR_BASE+272) /* The system cannot delete current connections to network resources. */
  302. #define NERR_ProfileUnknownCmd    (NERR_BASE+273) /* The system was unable to parse the command line in this file.*/
  303. #define NERR_ProfileLoadErr    (NERR_BASE+274) /* An error occurred while loading the profile file. */
  304.  
  305.  
  306. /*
  307.  *     NetAudit and NetErrorLog
  308.  *        Error codes BASE+277 - BASE+279
  309.  */
  310.  
  311. #define NERR_LogOverflow       (NERR_BASE+277)    /* This log file exceeds the maximum defined size. */
  312.  
  313. /* 
  314.  *    NetRemote
  315.  *        Error codes BASE+280 - BASE+299
  316.  */
  317. #define NERR_SourceIsDir   (NERR_BASE+280) /* The source path cannot be a directory. */
  318. #define NERR_BadSource     (NERR_BASE+281) /* The source path is illegal. */
  319. #define NERR_BadDest       (NERR_BASE+282) /* The destination path is illegal. */
  320. #define NERR_DifferentServers   (NERR_BASE+283) /* The source and destination paths are on different servers. */
  321. /* UNUSED BASE+284 */
  322. #define NERR_RunSrvPaused     (NERR_BASE+285) /* The Run Server you requested using the NET RUN command is paused. */
  323. /* UNUSED BASE+286 */
  324. /* UNUSED BASE+287 */
  325. /* UNUSED BASE+288 */
  326. #define NERR_ErrCommRunSrv     (NERR_BASE+289) /* An error occurred when communicating with a run Server. */
  327. /* UNUSED BASE+290 */
  328. #define NERR_ErrorExecingGhost     (NERR_BASE+291) /* An error occurred when starting a background process. */
  329. #define NERR_ShareNotFound     (NERR_BASE+292) /* The shared resource you are connected to could not be found.*/
  330. /* UNUSED BASE+293 */
  331. /* UNUSED BASE+294 */
  332.  
  333.  
  334. /*
  335.  *  NetWksta.sys (redir) returned error codes.
  336.  *
  337.  *          NERR_BASE + (300-329)
  338.  */
  339.  
  340. #define NERR_InvalidLana        (NERR_BASE+300) /* The LAN adapter number is invalid.  */
  341. #define NERR_OpenFiles          (NERR_BASE+301) /* There are open files on the connection.    */
  342. #define NERR_ActiveConns        (NERR_BASE+302) /* Active connections still exist. */
  343. #define NERR_BadPasswordCore    (NERR_BASE+303) /* This netname or password is invalid. */
  344. #define NERR_DevInUse           (NERR_BASE+304) /* The device is being accessed by an active process. */
  345. #define NERR_LocalDrive        (NERR_BASE+305) /* The drive letter is in use locally. */
  346.  
  347. /*
  348.  *  Alerter error codes.
  349.  *
  350.  *          NERR_BASE + (330-339)
  351.  */
  352. #define NERR_AlertExists    (NERR_BASE+330)    /* The specified client is already registered for the specified event. */
  353. #define NERR_TooManyAlerts    (NERR_BASE+331)    /* The Alerter service table is full. */
  354. #define NERR_NoSuchAlert    (NERR_BASE+332)    /* The Alerter service has not been started. */
  355. #define NERR_BadRecipient       (NERR_BASE+333) /* The Alerter service recipient is invalid.*/
  356.  
  357.  
  358. #define MAX_NERR        (NERR_BASE+899) /* This is the last error in NERR range. */
  359.  
  360. /*
  361.  * end of list
  362.  *
  363.  *    WARNING:  DO not exceed MAX_NERR, values above this are used by
  364.  *        other error code ranges (errlog.h, service.h, app[err.h).
  365.  */
  366.