src/chxj_hdml.c
/**
 * The ISTYLE attribute is converted into the HDML form.
 *
 * @param r    [i]   To use POOL, the pointer to request_rec is specified.
 * @param is   [i]   The value of the ISTYLE attribute is specified. 
 * @return The ISTYLE attribute converted into the HDML form is returned. 
 */
The ISTYLE attribute is converted into the HDML form.
@param r    [i]   To use POOL, the pointer to request_rec is specified.
@param is   [i]   The value of the ISTYLE attribute is specified.
@return The ISTYLE attribute converted into the HDML form is returned.
The ISTYLE attribute is converted into the HDML form . @param r [ i ] To use POOL the pointer to request_rec is specified . @param is [ i ] The value of the ISTYLE attribute is specified . @return The ISTYLE attribute converted into the HDML form is returned .
char *
qs_conv_istyle_to_format(request_rec *r, char *is)
{
  char *fmt;
  if (!is)
    return NULL;
  switch(*is) {
  case '1':
    fmt = apr_psprintf(r->pool, "M");
    break;
  case '2':
    fmt = apr_psprintf(r->pool, "M");
    break;
  case '3':
    fmt = apr_psprintf(r->pool, "m");
    break;
  case '4':
    fmt = apr_psprintf(r->pool, "N");
    break;
  default:
    return NULL;
  }
  return fmt;
}
char * qs_conv_istyle_to_format ( request_rec * r , char * is ) { char * fmt ; if ( ! is ) return NULL ; switch ( * is ) { case ' ' : fmt = apr_psprintf ( r -> pool , " " ) ; break ; case ' ' : fmt = apr_psprintf ( r -> pool , " " ) ; break ; case ' ' : fmt = apr_psprintf ( r -> pool , " " ) ; break ; case ' ' : fmt = apr_psprintf ( r -> pool , " " ) ; break ; default : return NULL ; } return fmt ; }
The ISTYLE attribute is converted into the HDML form.
The ISTYLE attribute is converted into the HDML form .