## i-cal-enums i-cal-enums |

## Synopsis

    enum                ICalComponentKind;
    enum                ICalRequestStatus;
    const gchar *       i_cal_enum_reqstat_desc             (ICalRequestStatus stat);
    gshort              i_cal_enum_reqstat_major            (ICalRequestStatus stat);
    gshort              i_cal_enum_reqstat_minor            (ICalRequestStatus stat);
    ICalRequestStatus   i_cal_enum_num_to_reqstat           (gshort major,
                                                             gshort minor);
    gchar *             i_cal_enum_reqstat_code_r           (ICalRequestStatus stat);

## Description

## Details

### enum ICalComponentKind

    typedef enum {
    	I_CAL_NO_COMPONENT = ICAL_NO_COMPONENT,
    	I_CAL_ANY_COMPONENT = ICAL_ANY_COMPONENT,
    	I_CAL_XROOT_COMPONENT = ICAL_XROOT_COMPONENT,
    	I_CAL_XATTACH_COMPONENT = ICAL_XATTACH_COMPONENT,
    	I_CAL_VEVENT_COMPONENT = ICAL_VEVENT_COMPONENT,
    	I_CAL_VTODO_COMPONENT = ICAL_VTODO_COMPONENT,
    	I_CAL_VJOURNAL_COMPONENT = ICAL_VJOURNAL_COMPONENT,
    	I_CAL_VCALENDAR_COMPONENT = ICAL_VCALENDAR_COMPONENT,
    	I_CAL_VAGENDA_COMPONENT = ICAL_VAGENDA_COMPONENT,
    	I_CAL_VFREEBUSY_COMPONENT = ICAL_VFREEBUSY_COMPONENT,
    	I_CAL_VALARM_COMPONENT = ICAL_VALARM_COMPONENT,
    	I_CAL_XAUDIOALARM_COMPONENT = ICAL_XAUDIOALARM_COMPONENT,
    	I_CAL_XDISPLAYALARM_COMPONENT = ICAL_XDISPLAYALARM_COMPONENT,
    	I_CAL_XEMAILALARM_COMPONENT = ICAL_XEMAILALARM_COMPONENT,
    	I_CAL_XPROCEDUREALARM_COMPONENT = ICAL_XPROCEDUREALARM_COMPONENT,
    	I_CAL_VTIMEZONE_COMPONENT = ICAL_VTIMEZONE_COMPONENT,
    	I_CAL_XSTANDARD_COMPONENT = ICAL_XSTANDARD_COMPONENT,
    	I_CAL_XDAYLIGHT_COMPONENT = ICAL_XDAYLIGHT_COMPONENT,
    	I_CAL_X_COMPONENT = ICAL_X_COMPONENT,
    	I_CAL_VSCHEDULE_COMPONENT = ICAL_VSCHEDULE_COMPONENT,
    	I_CAL_VQUERY_COMPONENT = ICAL_VQUERY_COMPONENT,
    	I_CAL_VREPLY_COMPONENT = ICAL_VREPLY_COMPONENT,
    	I_CAL_VCAR_COMPONENT = ICAL_VCAR_COMPONENT,
    	I_CAL_VCOMMAND_COMPONENT = ICAL_VCOMMAND_COMPONENT,
    	I_CAL_XLICINVALID_COMPONENT = ICAL_XLICINVALID_COMPONENT,
    	I_CAL_XLICMIMEPART_COMPONENT = ICAL_XLICMIMEPART_COMPONENT
    } ICalComponentKind;

`I_CAL_NO_COMPONENT` |
`I_CAL_ANY_COMPONENT` |
`I_CAL_XROOT_COMPONENT` |
`I_CAL_XATTACH_COMPONENT` |
`I_CAL_VEVENT_COMPONENT` |
`I_CAL_VTODO_COMPONENT` |
`I_CAL_VJOURNAL_COMPONENT` |
`I_CAL_VCALENDAR_COMPONENT` |
`I_CAL_VAGENDA_COMPONENT` |
`I_CAL_VFREEBUSY_COMPONENT` |
`I_CAL_VALARM_COMPONENT` |
`I_CAL_XAUDIOALARM_COMPONENT` |
`I_CAL_XDISPLAYALARM_COMPONENT` |
`I_CAL_XEMAILALARM_COMPONENT` |
`I_CAL_XPROCEDUREALARM_COMPONENT` |
`I_CAL_VTIMEZONE_COMPONENT` |
`I_CAL_XSTANDARD_COMPONENT` |
`I_CAL_XDAYLIGHT_COMPONENT` |
`I_CAL_X_COMPONENT` |
`I_CAL_VSCHEDULE_COMPONENT` |
`I_CAL_VQUERY_COMPONENT` |
`I_CAL_VREPLY_COMPONENT` |
`I_CAL_VCAR_COMPONENT` |
`I_CAL_VCOMMAND_COMPONENT` |
`I_CAL_XLICINVALID_COMPONENT` |
`I_CAL_XLICMIMEPART_COMPONENT` |

### enum ICalRequestStatus

    typedef enum {
    	I_CAL_UNKNOWN_STATUS = ICAL_UNKNOWN_STATUS,
    	I_CAL_2_0_SUCCESS_STATUS = ICAL_2_0_SUCCESS_STATUS,
    	I_CAL_2_1_FALLBACK_STATUS = ICAL_2_1_FALLBACK_STATUS,
    	I_CAL_2_2_IGPROP_STATUS = ICAL_2_2_IGPROP_STATUS,
    	I_CAL_2_3_IGPARAM_STATUS = ICAL_2_3_IGPARAM_STATUS,
    	I_CAL_2_4_IGXPROP_STATUS = ICAL_2_4_IGXPROP_STATUS,
    	I_CAL_2_5_IGXPARAM_STATUS = ICAL_2_5_IGXPARAM_STATUS,
    	I_CAL_2_6_IGCOMP_STATUS = ICAL_2_6_IGCOMP_STATUS,
    	I_CAL_2_7_FORWARD_STATUS = ICAL_2_7_FORWARD_STATUS,
    	I_CAL_2_8_ONEEVENT_STATUS = ICAL_2_8_ONEEVENT_STATUS,
    	I_CAL_2_9_TRUNC_STATUS = ICAL_2_9_TRUNC_STATUS,
    	I_CAL_2_10_ONETODO_STATUS = ICAL_2_10_ONETODO_STATUS,
    	I_CAL_2_11_TRUNCRRULE_STATUS = ICAL_2_11_TRUNCRRULE_STATUS,
    	I_CAL_3_0_INVPROPNAME_STATUS = ICAL_3_0_INVPROPNAME_STATUS,
    	I_CAL_3_1_INVPROPVAL_STATUS = ICAL_3_1_INVPROPVAL_STATUS,
    	I_CAL_3_2_INVPARAM_STATUS = ICAL_3_2_INVPARAM_STATUS,
    	I_CAL_3_3_INVPARAMVAL_STATUS = ICAL_3_3_INVPARAMVAL_STATUS,
    	I_CAL_3_4_INVCOMP_STATUS = ICAL_3_4_INVCOMP_STATUS,
    	I_CAL_3_5_INVTIME_STATUS = ICAL_3_5_INVTIME_STATUS,
    	I_CAL_3_6_INVRULE_STATUS = ICAL_3_6_INVRULE_STATUS,
    	I_CAL_3_7_INVCU_STATUS = ICAL_3_7_INVCU_STATUS,
    	I_CAL_3_8_NOAUTH_STATUS = ICAL_3_8_NOAUTH_STATUS,
    	I_CAL_3_9_BADVERSION_STATUS = ICAL_3_9_BADVERSION_STATUS,
    	I_CAL_3_10_TOOBIG_STATUS = ICAL_3_10_TOOBIG_STATUS,
    	I_CAL_3_11_MISSREQCOMP_STATUS = ICAL_3_11_MISSREQCOMP_STATUS,
    	I_CAL_3_12_UNKCOMP_STATUS = ICAL_3_12_UNKCOMP_STATUS,
    	I_CAL_3_13_BADCOMP_STATUS = ICAL_3_13_BADCOMP_STATUS,
    	I_CAL_3_14_NOCAP_STATUS = ICAL_3_14_NOCAP_STATUS,
    	I_CAL_3_15_INVCOMMAND = ICAL_3_15_INVCOMMAND,
    	I_CAL_4_0_BUSY_STATUS = ICAL_4_0_BUSY_STATUS,
    	I_CAL_4_1_STORE_ACCESS_DENIED = ICAL_4_1_STORE_ACCESS_DENIED,
    	I_CAL_4_2_STORE_FAILED = ICAL_4_2_STORE_FAILED,
    	I_CAL_4_3_STORE_NOT_FOUND = ICAL_4_3_STORE_NOT_FOUND,
    	I_CAL_5_0_MAYBE_STATUS = ICAL_5_0_MAYBE_STATUS,
    	I_CAL_5_1_UNAVAIL_STATUS = ICAL_5_1_UNAVAIL_STATUS,
    	I_CAL_5_2_NOSERVICE_STATUS = ICAL_5_2_NOSERVICE_STATUS,
    	I_CAL_5_3_NOSCHED_STATUS = ICAL_5_3_NOSCHED_STATUS,
    	I_CAL_6_1_CONTAINER_NOT_FOUND = ICAL_6_1_CONTAINER_NOT_FOUND,
    	I_CAL_9_0_UNRECOGNIZED_COMMAND = ICAL_9_0_UNRECOGNIZED_COMMAND
    } ICalRequestStatus;

`I_CAL_UNKNOWN_STATUS` |
`I_CAL_2_0_SUCCESS_STATUS` |
`I_CAL_2_1_FALLBACK_STATUS` |
`I_CAL_2_2_IGPROP_STATUS` |
`I_CAL_2_3_IGPARAM_STATUS` |
`I_CAL_2_4_IGXPROP_STATUS` |
`I_CAL_2_5_IGXPARAM_STATUS` |
`I_CAL_2_6_IGCOMP_STATUS` |
`I_CAL_2_7_FORWARD_STATUS` |
`I_CAL_2_8_ONEEVENT_STATUS` |
`I_CAL_2_9_TRUNC_STATUS` |
`I_CAL_2_10_ONETODO_STATUS` |
`I_CAL_2_11_TRUNCRRULE_STATUS` |
`I_CAL_3_0_INVPROPNAME_STATUS` |
`I_CAL_3_1_INVPROPVAL_STATUS` |
`I_CAL_3_2_INVPARAM_STATUS` |
`I_CAL_3_3_INVPARAMVAL_STATUS` |
`I_CAL_3_4_INVCOMP_STATUS` |
`I_CAL_3_5_INVTIME_STATUS` |
`I_CAL_3_6_INVRULE_STATUS` |
`I_CAL_3_7_INVCU_STATUS` |
`I_CAL_3_8_NOAUTH_STATUS` |
`I_CAL_3_9_BADVERSION_STATUS` |
`I_CAL_3_10_TOOBIG_STATUS` |
`I_CAL_3_11_MISSREQCOMP_STATUS` |
`I_CAL_3_12_UNKCOMP_STATUS` |
`I_CAL_3_13_BADCOMP_STATUS` |
`I_CAL_3_14_NOCAP_STATUS` |
`I_CAL_3_15_INVCOMMAND` |
`I_CAL_4_0_BUSY_STATUS` |
`I_CAL_4_1_STORE_ACCESS_DENIED` |
`I_CAL_4_2_STORE_FAILED` |
`I_CAL_4_3_STORE_NOT_FOUND` |
`I_CAL_5_0_MAYBE_STATUS` |
`I_CAL_5_1_UNAVAIL_STATUS` |
`I_CAL_5_2_NOSERVICE_STATUS` |
`I_CAL_5_3_NOSCHED_STATUS` |
`I_CAL_6_1_CONTAINER_NOT_FOUND` |
`I_CAL_9_0_UNRECOGNIZED_COMMAND` |

### i_cal_enum_reqstat_desc ()

    const gchar *       i_cal_enum_reqstat_desc             (ICalRequestStatus stat);

Return the descriptive text for a request status

`stat` : | The ICalRequestStatus to be translated
Returns : | The description of the `stat`

Since 1.0

### i_cal_enum_reqstat_major ()

    gshort              i_cal_enum_reqstat_major            (ICalRequestStatus stat);

Return the major number for a request status

`stat` : | The ICalRequestStatus to be queried
Returns : | The major number for a request status

Since 1.0

### i_cal_enum_reqstat_minor ()

    gshort              i_cal_enum_reqstat_minor            (ICalRequestStatus stat);

Return the minor number for a request status

`stat` : | The ICalRequestStatus to be queried
Returns : | The minor number for a request status

Since 1.0

### i_cal_enum_num_to_reqstat ()

    ICalRequestStatus   i_cal_enum_num_to_reqstat           (gshort major,
                                                             gshort minor);

Return a request status for major/minor status numbers

`major` : | The major number
`minor` : | The minor number
Returns : | The corresponding ICalRequestStatus

Since 1.0

### i_cal_enum_reqstat_code_r ()

    gchar *             i_cal_enum_reqstat_code_r           (ICalRequestStatus stat);

eturn the code for a request status

`stat` : | The ICalRequestStatus to be queried
Returns : | The code for a request status. [transfer full]

Since 1.0