1 /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
4 RFCNB Error Response Defines
6 Copyright (C) Richard Sharpe 1996
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #define RFCNBE_Bad -1 /* Bad response */
31 /* these should follow the spec ... is there one ?*/
33 #define RFCNBE_NoSpace 1 /* Could not allocate space for a struct */
34 #define RFCNBE_BadName 2 /* Could not translate a name */
35 #define RFCNBE_BadRead 3 /* Read sys call failed */
36 #define RFCNBE_BadWrite 4 /* Write Sys call failed */
37 #define RFCNBE_ProtErr 5 /* Protocol Error */
38 #define RFCNBE_ConGone 6 /* Connection dropped */
39 #define RFCNBE_BadHandle 7 /* Handle passed was bad */
40 #define RFCNBE_BadSocket 8 /* Problems creating socket */
41 #define RFCNBE_ConnectFailed 9 /* Connect failed */
42 #define RFCNBE_CallRejNLOCN 10 /* Call rejected, not listening on CN */
43 #define RFCNBE_CallRejNLFCN 11 /* Call rejected, not listening for CN */
44 #define RFCNBE_CallRejCNNP 12 /* Call rejected, called name not present */
45 #define RFCNBE_CallRejInfRes 13/* Call rejetced, name ok, no resources */
46 #define RFCNBE_CallRejUnSpec 14/* Call rejected, unspecified error */
47 #define RFCNBE_BadParam 15/* Bad parameters passed ... */
48 #define RFCNBE_Timeout 16/* IO Timed out */