Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/iconv/citrus_stdenc.h
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | |||||
static __inline size_t | static __inline size_t | ||||
_citrus_stdenc_get_state_size(struct _citrus_stdenc *ce) | _citrus_stdenc_get_state_size(struct _citrus_stdenc *ce) | ||||
{ | { | ||||
return (ce->ce_traits->et_state_size); | return (ce->ce_traits->et_state_size); | ||||
} | } | ||||
static __inline size_t | |||||
_citrus_stdenc_get_mb_cur_min(struct _citrus_stdenc *ce) | |||||
{ | |||||
return (ce->ce_traits->et_mb_cur_min); | |||||
} | |||||
static __inline size_t | |||||
_citrus_stdenc_get_mb_cur_max(struct _citrus_stdenc *ce) | |||||
{ | |||||
return (ce->ce_traits->et_mb_cur_max); | |||||
} | |||||
static __inline int | static __inline int | ||||
_citrus_stdenc_get_state_desc(struct _citrus_stdenc * __restrict ce, | _citrus_stdenc_get_state_desc(struct _citrus_stdenc * __restrict ce, | ||||
void * __restrict ps, int id, | void * __restrict ps, int id, | ||||
struct _citrus_stdenc_state_desc * __restrict d) | struct _citrus_stdenc_state_desc * __restrict d) | ||||
{ | { | ||||
return ((*ce->ce_ops->eo_get_state_desc)(ce, ps, id, d)); | return ((*ce->ce_ops->eo_get_state_desc)(ce, ps, id, d)); | ||||
} | } | ||||
#endif | #endif |