SilcStringprepStatus

NAME

    typedef enum { ... } SilcStringprepStatus;

DESCRIPTION

Status and errors returned by silc_stringprep.

SOURCE

typedef enum {
  SILC_STRINGPREP_OK,                     /* Preparation success */
  SILC_STRINGPREP_ERR_UNASSIGNED,         /* Contains unassigned characters */
  SILC_STRINGPREP_ERR_PROHIBITED,         /* Contains prohibited characters */
  SILC_STRINGPREP_ERR_BIDI_PROHIBITED,    /* BIDI contains prohibited chars */
  SILC_STRINGPREP_ERR_BIDI_RAL_WITH_L,    /* BIDI has both R/AL and L */
  SILC_STRINGPREP_ERR_BIDI_RAL,           /* BIDI has R/AL but not as leading
                                             and/or trailing character. */
  SILC_STRINGPREP_ERR_OUT_OF_MEMORY,      /* System out of memory */
  SILC_STRINGPREP_ERR_ENCODING,           /* Character encoding error */
  SILC_STRINGPREP_ERR_UNSUP_ENCODING,     /* Unsupported character encoding  */
  SILC_STRINGPREP_ERR_UNSUP_PROFILE,      /* Unsupported profile */
  SILC_STRINGPREP_ERR,                    /* Unknown error */
} SilcStringprepStatus;