reorganized some error codes.
added ssl library check to configure.ac corrected wrong function definitions in chr.h added MPI_NODE
This commit is contained in:
@ -183,6 +183,7 @@ SENDFILE_LIBS = @SENDFILE_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SOCKET_LIBS = @SOCKET_LIBS@
|
||||
SSL_LIBS = @SSL_LIBS@
|
||||
STRIP = @STRIP@
|
||||
TRUE = @TRUE@
|
||||
UNICOWS_LIBS = @UNICOWS_LIBS@
|
||||
|
@ -186,28 +186,28 @@ qse_wcint_t qse_towctype (
|
||||
qse_wctype_t type
|
||||
);
|
||||
|
||||
int qse_getwctypebyname (
|
||||
const qse_wchar_t* name,
|
||||
qse_wctype_t* id
|
||||
);
|
||||
|
||||
int qse_getwctypebyxname (
|
||||
const qse_wchar_t* name,
|
||||
qse_size_t len,
|
||||
qse_wctype_t* id
|
||||
);
|
||||
|
||||
int qse_getmctypebyname (
|
||||
int qse_mbstoctype (
|
||||
const qse_mchar_t* name,
|
||||
qse_mctype_t* id
|
||||
);
|
||||
|
||||
int qse_getmctypebyxname (
|
||||
int qse_mbsntoctype (
|
||||
const qse_mchar_t* name,
|
||||
qse_size_t len,
|
||||
qse_mctype_t* id
|
||||
);
|
||||
|
||||
int qse_wcstoctype (
|
||||
const qse_wchar_t* name,
|
||||
qse_wctype_t* id
|
||||
);
|
||||
|
||||
int qse_wcsntoctype (
|
||||
const qse_wchar_t* name,
|
||||
qse_size_t len,
|
||||
qse_wctype_t* id
|
||||
);
|
||||
|
||||
#if defined(QSE_CHAR_IS_MCHAR)
|
||||
# define qse_isctype(c,type) qse_ismctype(c,type)
|
||||
# define qse_toctype(c,type) qse_ismctype(c,type)
|
||||
|
@ -70,17 +70,17 @@ enum qse_fio_flag_t
|
||||
enum qse_fio_errnum_t
|
||||
{
|
||||
QSE_FIO_ENOERR = 0, /**< no error */
|
||||
QSE_FIO_EOTHER, /**< other error */
|
||||
QSE_FIO_ENOIMPL, /**< not implemented */
|
||||
QSE_FIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_FIO_EINTERN, /**< internal error */
|
||||
|
||||
QSE_FIO_ENOMEM, /**< out of memory */
|
||||
QSE_FIO_EINVAL, /**< invalid parameter */
|
||||
QSE_FIO_EACCES, /**< access denied */
|
||||
QSE_FIO_ENOENT, /**< no such file */
|
||||
QSE_FIO_EEXIST, /**< already exist */
|
||||
QSE_FIO_EINTR, /**< interrupted */
|
||||
QSE_FIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_FIO_ENOIMPL, /**< not implemented */
|
||||
|
||||
QSE_FIO_EOTHER /**< other error */
|
||||
QSE_FIO_EINTR /**< interrupted */
|
||||
};
|
||||
typedef enum qse_fio_errnum_t qse_fio_errnum_t;
|
||||
|
||||
|
@ -28,6 +28,10 @@
|
||||
enum qse_fs_errnum_t
|
||||
{
|
||||
QSE_FS_ENOERR = 0,
|
||||
QSE_FS_EOTHER,
|
||||
QSE_FS_ENOIMPL, /**< not implemented */
|
||||
QSE_FS_ESYSERR, /**< subsystem error */
|
||||
QSE_FS_EINTERN, /**< internal error */
|
||||
|
||||
QSE_FS_ENOMEM, /**< out of memory */
|
||||
QSE_FS_EINVAL, /**< invalid parameter */
|
||||
@ -37,12 +41,7 @@ enum qse_fs_errnum_t
|
||||
QSE_FS_EINTR, /**< interrupted */
|
||||
QSE_FS_ENODIR,
|
||||
QSE_FS_EISDIR,
|
||||
QSE_FS_EXDEV,
|
||||
|
||||
QSE_FS_ESYSERR, /**< subsystem error */
|
||||
QSE_FS_ENOIMPL, /**< not implemented */
|
||||
|
||||
QSE_FS_EOTHER
|
||||
QSE_FS_EXDEV
|
||||
};
|
||||
typedef enum qse_fs_errnum_t qse_fs_errnum_t;
|
||||
|
||||
|
@ -52,6 +52,10 @@ enum qse_nwio_flag_t
|
||||
enum qse_nwio_errnum_t
|
||||
{
|
||||
QSE_NWIO_ENOERR = 0, /**< no error */
|
||||
QSE_NWIO_EOTHER, /**< other error */
|
||||
QSE_NWIO_ENOIMPL, /**< not implemented */
|
||||
QSE_NWIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_NWIO_EINTERN, /**< internal error */
|
||||
|
||||
QSE_NWIO_ENOMEM, /**< out of memory */
|
||||
QSE_NWIO_EINVAL, /**< invalid parameter */
|
||||
@ -64,11 +68,7 @@ enum qse_nwio_errnum_t
|
||||
QSE_NWIO_ECONN, /**< connection refused */
|
||||
QSE_NWIO_EILSEQ, /**< illegal sequence */
|
||||
QSE_NWIO_EICSEQ, /**< incomplete sequence */
|
||||
QSE_NWIO_EILCHR, /**< illegal character */
|
||||
QSE_NWIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_NWIO_ENOIMPL, /**< not implemented */
|
||||
|
||||
QSE_NWIO_EOTHER /**< other error */
|
||||
QSE_NWIO_EILCHR /**< illegal character */
|
||||
};
|
||||
typedef enum qse_nwio_errnum_t qse_nwio_errnum_t;
|
||||
|
||||
|
@ -112,6 +112,10 @@ typedef enum qse_pio_hid_t qse_pio_hid_t;
|
||||
enum qse_pio_errnum_t
|
||||
{
|
||||
QSE_PIO_ENOERR = 0, /**< no error */
|
||||
QSE_PIO_EOTHER, /**< unknown error */
|
||||
QSE_PIO_ENOIMPL, /**< not implemented */
|
||||
QSE_PIO_ESYSERR, /**< subsystem error */
|
||||
QSE_PIO_EINTERN, /**< internal error */
|
||||
|
||||
QSE_PIO_ENOMEM, /**< out of memory */
|
||||
QSE_PIO_EINVAL, /**< invalid parameter */
|
||||
@ -124,11 +128,7 @@ enum qse_pio_errnum_t
|
||||
QSE_PIO_EPIPE, /**< broken pipe */
|
||||
QSE_PIO_EILSEQ, /**< illegal sequence */
|
||||
QSE_PIO_EICSEQ, /**< incomplete sequence */
|
||||
QSE_PIO_EILCHR, /**< illegal character */
|
||||
QSE_PIO_ESYSERR, /**< subsystem error */
|
||||
QSE_PIO_ENOIMPL, /**< not implemented */
|
||||
|
||||
QSE_PIO_EOTHER /**< unknown error */
|
||||
QSE_PIO_EILCHR /**< illegal character */
|
||||
};
|
||||
typedef enum qse_pio_errnum_t qse_pio_errnum_t;
|
||||
|
||||
|
@ -84,6 +84,11 @@ enum qse_rex_option_t
|
||||
enum qse_rex_errnum_t
|
||||
{
|
||||
QSE_REX_ENOERR = 0,
|
||||
QSE_REX_EOTHER,
|
||||
QSE_REX_ENOIMPL,
|
||||
QSE_REX_ESYSERR,
|
||||
QSE_REX_EINTERN,
|
||||
|
||||
QSE_REX_ENOMEM, /**< no sufficient memory available */
|
||||
QSE_REX_ENOCOMP, /**< no expression compiled */
|
||||
QSE_REX_ERECUR, /**< recursion too deep */
|
||||
|
@ -62,6 +62,10 @@ enum qse_sio_flag_t
|
||||
enum qse_sio_errnum_t
|
||||
{
|
||||
QSE_SIO_ENOERR = 0, /**< no error */
|
||||
QSE_SIO_EOTHER, /**< other error */
|
||||
QSE_SIO_ENOIMPL, /**< not implemented */
|
||||
QSE_SIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_SIO_EINTERN, /**< internal error */
|
||||
|
||||
QSE_SIO_ENOMEM, /**< out of memory */
|
||||
QSE_SIO_EINVAL, /**< invalid parameter */
|
||||
@ -71,11 +75,7 @@ enum qse_sio_errnum_t
|
||||
QSE_SIO_EINTR, /**< interrupted */
|
||||
QSE_SIO_EILSEQ, /**< illegal sequence */
|
||||
QSE_SIO_EICSEQ, /**< incomplete sequence */
|
||||
QSE_SIO_EILCHR, /**< illegal character */
|
||||
QSE_SIO_ESYSERR, /**< subsystem(system call) error */
|
||||
QSE_SIO_ENOIMPL, /**< not implemented */
|
||||
|
||||
QSE_SIO_EOTHER /**< other error */
|
||||
QSE_SIO_EILCHR /**< illegal character */
|
||||
};
|
||||
typedef enum qse_sio_errnum_t qse_sio_errnum_t;
|
||||
|
||||
|
@ -32,20 +32,22 @@
|
||||
|
||||
enum qse_tio_errnum_t
|
||||
{
|
||||
QSE_TIO_ENOERR = 0,
|
||||
QSE_TIO_ENOERR = 0, /**< no error */
|
||||
QSE_TIO_EOTHER, /**< other error */
|
||||
QSE_TIO_ENOIMPL, /**< not implmeneted */
|
||||
QSE_TIO_ESYSERR, /**< subsystem error */
|
||||
QSE_TIO_EINTERN, /**< internal error */
|
||||
|
||||
QSE_TIO_ENOMEM, /* out of memory */
|
||||
QSE_TIO_EINVAL, /* invalid parameter */
|
||||
QSE_TIO_ENOMEM, /**< out of memory */
|
||||
QSE_TIO_EINVAL, /**< invalid parameter */
|
||||
QSE_TIO_EACCES, /**< access denied */
|
||||
QSE_TIO_ENOENT, /**< no such file */
|
||||
QSE_TIO_ENOSPC, /* no more space */
|
||||
QSE_TIO_EILSEQ, /* illegal sequence */
|
||||
QSE_TIO_EICSEQ, /* incomplete sequence */
|
||||
QSE_TIO_EILCHR, /* illegal character */
|
||||
QSE_TIO_ENINPF, /* no input function attached */
|
||||
QSE_TIO_ENOUTF, /* no output function attached */
|
||||
|
||||
QSE_TIO_EOTHER /* other error */
|
||||
QSE_TIO_ENOSPC, /**< no more space */
|
||||
QSE_TIO_EILSEQ, /**< illegal sequence */
|
||||
QSE_TIO_EICSEQ, /**< incomplete sequence */
|
||||
QSE_TIO_EILCHR, /**< illegal character */
|
||||
QSE_TIO_ENINPF, /**< no input function attached */
|
||||
QSE_TIO_ENOUTF /**< no output function attached */
|
||||
};
|
||||
|
||||
typedef enum qse_tio_errnum_t qse_tio_errnum_t;
|
||||
|
@ -27,6 +27,11 @@
|
||||
enum qse_tre_errnum_t
|
||||
{
|
||||
QSE_TRE_ENOERR,
|
||||
QSE_TRE_EOTHER,
|
||||
QSE_TRE_ENOIMPL,
|
||||
QSE_TRE_ESYSERR,
|
||||
QSE_TRE_EINTERN,
|
||||
|
||||
QSE_TRE_ENOMEM, /* Out of memory */
|
||||
QSE_TRE_ENOMATCH, /* No match */
|
||||
QSE_TRE_EBADPAT, /* Invalid regular expression */
|
||||
|
Reference in New Issue
Block a user