/[muddleftpd]/muddleftpd/modules/auth/authlibsmb/smbval/rfcnb-error.h
ViewVC logotype

Diff of /muddleftpd/modules/auth/authlibsmb/smbval/rfcnb-error.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by rugger, Sun Oct 20 12:00:41 2002 UTC revision 1.1.4.1 by ganneff, Mon Oct 21 19:52:58 2002 UTC
# Line 1  Line 1 
1    
2  /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation  /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
3    
4     Version 1.0     Version 1.0
# Line 25  Line 26 
26    
27  /* Error responses */  /* Error responses */
28    
29  #define RFCNBE_Bad -1          /* Bad response */  #define RFCNBE_Bad -1                   /* Bad response */
30  #define RFCNBE_OK 0  #define RFCNBE_OK 0
31    
32  /* these should follow the spec ... is there one ?*/  /* these should follow the spec ... is there one ?*/
33    
34  #define RFCNBE_NoSpace 1       /* Could not allocate space for a struct */  #define RFCNBE_NoSpace 1                /* Could not allocate space for a struct */
35  #define RFCNBE_BadName 2       /* Could not translate a name            */  #define RFCNBE_BadName 2                /* Could not translate a name            */
36  #define RFCNBE_BadRead 3       /* Read sys call failed                  */  #define RFCNBE_BadRead 3                /* Read sys call failed                  */
37  #define RFCNBE_BadWrite 4      /* Write Sys call failed                 */  #define RFCNBE_BadWrite 4               /* Write Sys call failed                 */
38  #define RFCNBE_ProtErr 5       /* Protocol Error                        */  #define RFCNBE_ProtErr 5                /* Protocol Error                        */
39  #define RFCNBE_ConGone 6       /* Connection dropped                    */  #define RFCNBE_ConGone 6                /* Connection dropped                    */
40  #define RFCNBE_BadHandle 7     /* Handle passed was bad                 */  #define RFCNBE_BadHandle 7              /* Handle passed was bad                 */
41  #define RFCNBE_BadSocket 8     /* Problems creating socket              */  #define RFCNBE_BadSocket 8              /* Problems creating socket              */
42  #define RFCNBE_ConnectFailed 9 /* Connect failed                        */  #define RFCNBE_ConnectFailed 9  /* Connect failed                        */
43  #define RFCNBE_CallRejNLOCN 10 /* Call rejected, not listening on CN    */  #define RFCNBE_CallRejNLOCN 10  /* Call rejected, not listening on CN    */
44  #define RFCNBE_CallRejNLFCN 11 /* Call rejected, not listening for CN   */  #define RFCNBE_CallRejNLFCN 11  /* Call rejected, not listening for CN   */
45  #define RFCNBE_CallRejCNNP  12 /* Call rejected, called name not present */  #define RFCNBE_CallRejCNNP  12  /* Call rejected, called name not present */
46  #define RFCNBE_CallRejInfRes 13/* Call rejetced, name ok, no resources   */  #define RFCNBE_CallRejInfRes 13 /* Call rejetced, name ok, no resources   */
47  #define RFCNBE_CallRejUnSpec 14/* Call rejected, unspecified error      */  #define RFCNBE_CallRejUnSpec 14 /* Call rejected, unspecified error      */
48  #define RFCNBE_BadParam      15/* Bad parameters passed ...             */  #define RFCNBE_BadParam      15 /* Bad parameters passed ...             */
49  #define RFCNBE_Timeout       16/* IO Timed out                          */  #define RFCNBE_Timeout       16 /* IO Timed out                          */
50    
51  /* Text strings for the error responses                                 */  /* Text strings for the error responses                                 */
52    
53  static char *RFCNB_Error_Strings[] = {  static char *RFCNB_Error_Strings[] = {
54    
55    "RFCNBE_OK: Routine completed successfully.",          "RFCNBE_OK: Routine completed successfully.",
56    "RFCNBE_NoSpace: No space available for a malloc call.",          "RFCNBE_NoSpace: No space available for a malloc call.",
57    "RFCNBE_BadName: NetBIOS name could not be translated to IP address.",          "RFCNBE_BadName: NetBIOS name could not be translated to IP address.",
58    "RFCNBE_BadRead: Read system call returned an error. Check errno.",          "RFCNBE_BadRead: Read system call returned an error. Check errno.",
59    "RFCNBE_BadWrite: Write system call returned an error. Check errno.",          "RFCNBE_BadWrite: Write system call returned an error. Check errno.",
60    "RFCNBE_ProtErr: A protocol error has occurred.",          "RFCNBE_ProtErr: A protocol error has occurred.",
61    "RFCNBE_ConGone: Connection dropped during a read or write system call.",          "RFCNBE_ConGone: Connection dropped during a read or write system call.",
62    "RFCNBE_BadHandle: Bad connection handle passed.",          "RFCNBE_BadHandle: Bad connection handle passed.",
63    "RFCNBE_BadSocket: Problems creating socket.",          "RFCNBE_BadSocket: Problems creating socket.",
64    "RFCNBE_ConnectFailed: Connection failed. See errno.",          "RFCNBE_ConnectFailed: Connection failed. See errno.",
65    "RFCNBE_CallRejNLOCN: Call rejected. Not listening on called name.",          "RFCNBE_CallRejNLOCN: Call rejected. Not listening on called name.",
66    "RFCNBE_CallRejNLFCN: Call rejected. Not listening for called name.",          "RFCNBE_CallRejNLFCN: Call rejected. Not listening for called name.",
67    "RFCNBE_CallRejCNNP: Call rejected. Called name not present.",          "RFCNBE_CallRejCNNP: Call rejected. Called name not present.",
68    "RFCNBE_CallRejInfRes: Call rejected. Name present, but insufficient resources.",          "RFCNBE_CallRejInfRes: Call rejected. Name present, but insufficient resources.",
69    "RFCNBE_CallRejUnSpec: Call rejected. Unspecified error.",          "RFCNBE_CallRejUnSpec: Call rejected. Unspecified error.",
70    "RFCNBE_BadParam: Bad parameters passed to a routine.",          "RFCNBE_BadParam: Bad parameters passed to a routine.",
71    "RFCNBE_Timeout: IO Operation timed out ..."          "RFCNBE_Timeout: IO Operation timed out ..."
   
72  };  };
   
   
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26