src/chxj_tag_util.c
/**
 * It is scanned whether the CHECKBOX tag of the object is CHECKED. 
 *
 * @param doc  [i] The pointer to the Doc structure at the output
 *                 destination is specified.
 * @param tag  [i] The tag node to want to acquire the CHECKBOX attribute
 *                 is specified.
 * @param pool [i] To use POOL.
 * @return 1 is returned when it is CHECKED and, additionally, 0 is returned. 
 */
It is scanned whether the CHECKBOX tag of the object is CHECKED.
@param doc  [i] The pointer to the Doc structure at the output
destination is specified.
@param tag  [i] The tag node to want to acquire the CHECKBOX attribute
is specified.
@param pool [i] To use POOL.
@return 1 is returned when it is CHECKED and, additionally, 0 is returned.
It is scanned whether the CHECKBOX tag of the object is CHECKED . @param doc [ i ] The pointer to the Doc structure at the output destination is specified . @param tag [ i ] The tag node to want to acquire the CHECKBOX attribute is specified . @param pool [ i ] To use POOL . @return 1 is returned when it is CHECKED and additionally 0 is returned .
int
qs_is_checked_checkbox_attr(Doc *doc, Node *tag, apr_pool_t *UNUSED(pool))
{
  Attr *attr;
  for (attr = qs_get_attr(doc,tag);
       attr; 
       attr = qs_get_next_attr(doc,attr)) {
    char *name  = qs_get_attr_name(doc,attr);
    if (STRCASEEQ('c','C',"checked",name)) {
      return 1;
    }
  }
  return 0;
}
int qs_is_checked_checkbox_attr ( Doc * doc , Node * tag , apr_pool_t * UNUSED ( pool ) ) { Attr * attr ; for ( attr = qs_get_attr ( doc , tag ) ; attr ; attr = qs_get_next_attr ( doc , attr ) ) { char * name = qs_get_attr_name ( doc , attr ) ; if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { return 1 ; } } return 0 ; }
It is scanned whether the CHECKBOX tag of the object is CHECKED.
It is scanned whether the CHECKBOX tag of the object is CHECKED .