(chise_ccs_set_decoded_char): Likewise.
return ft;
}
-CHISE_CCS_Table*
+CHISE_CCS
chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *ccs)
{
CHISE_CCS_Table* ct;
int status = 0;
char key_buf[16];
+ if (ccs == NULL)
+ return -1;
+
if (ccs->db == NULL)
{
CHISE_DS *ds = ccs->ds;
{
char key_buf[16], val_buf[8];
+ if (ccs == NULL)
+ return -1;
+
if ((ccs->access & DB_CREATE) == 0)
{
if (ccs->db != NULL)