#include <freeradius-devel/ident.h>
RCSIDH(rfcnb_error_h, "$Id$")
#define RFCNBE_Bad -1
#define RFCNBE_OK 0
#define RFCNBE_NoSpace 1
#define RFCNBE_BadName 2
#define RFCNBE_BadRead 3
#define RFCNBE_BadWrite 4
#define RFCNBE_ProtErr 5
#define RFCNBE_ConGone 6
#define RFCNBE_BadHandle 7
#define RFCNBE_BadSocket 8
#define RFCNBE_ConnectFailed 9
#define RFCNBE_CallRejNLOCN 10
#define RFCNBE_CallRejNLFCN 11
#define RFCNBE_CallRejCNNP 12
#define RFCNBE_CallRejInfRes 13
#define RFCNBE_CallRejUnSpec 14
#define RFCNBE_BadParam 15
#define RFCNBE_Timeout 16
static const char *RFCNB_Error_Strings[] = {
"RFCNBE_OK: Routine completed successfully.",
"RFCNBE_NoSpace: No space available for a malloc call.",
"RFCNBE_BadName: NetBIOS name could not be translated to IP address.",
"RFCNBE_BadRead: Read system call returned an error. Check errno.",
"RFCNBE_BadWrite: Write system call returned an error. Check errno.",
"RFCNBE_ProtErr: A protocol error has occurred.",
"RFCNBE_ConGone: Connection dropped during a read or write system call.",
"RFCNBE_BadHandle: Bad connection handle passed.",
"RFCNBE_BadSocket: Problems creating socket.",
"RFCNBE_ConnectFailed: Connection failed. See errno.",
"RFCNBE_CallRejNLOCN: Call rejected. Not listening on called name.",
"RFCNBE_CallRejNLFCN: Call rejected. Not listening for called name.",
"RFCNBE_CallRejCNNP: Call rejected. Called name not present.",
"RFCNBE_CallRejInfRes: Call rejected. Name present, but insufficient resources.",
"RFCNBE_CallRejUnSpec: Call rejected. Unspecified error.",
"RFCNBE_BadParam: Bad parameters passed to a routine.",
"RFCNBE_Timeout: IO Operation timed out ..."
};