src/chxj_chtml50.c
/**
 * The CHTML structure is initialized.
 *
 * @param chtml50 [i/o] The pointer to the HDML structure that wants to be
 *                   initialized is specified.
 * @param doc   [i]   The Doc structure that should be set to the initialized
 *                   HDML structure is specified.
 * @param r     [i]   To use POOL, the pointer to request_rec is specified.
 * @param spec  [i]   The pointer to the device_table
 */
The CHTML structure is initialized.
@param chtml50 [i/o] The pointer to the HDML structure that wants to be
initialized is specified.
@param doc   [i]   The Doc structure that should be set to the initialized
HDML structure is specified.
@param r     [i]   To use POOL, the pointer to request_rec is specified.
@param spec  [i]   The pointer to the device_table
The CHTML structure is initialized . @param chtml50 [ i / o ] The pointer to the HDML structure that wants to be initialized is specified . @param doc [ i ] The Doc structure that should be set to the initialized HDML structure is specified . @param r [ i ] To use POOL the pointer to request_rec is specified . @param spec [ i ] The pointer to the device_table
static void
s_init_chtml50(chtml50_t *chtml50, Doc *doc, request_rec *r, device_table *spec)
{
  memset(doc,     0, sizeof(Doc));
  memset(chtml50, 0, sizeof(chtml50_t));
  doc->r        = r;
  chtml50->doc  = doc;
  chtml50->spec = spec;
  chtml50->out  = qs_alloc_zero_byte_string(r->pool);
  chtml50->conf = chxj_get_module_config(r->per_dir_config, &chxj_module);
  chtml50->doc->parse_mode = PARSE_MODE_CHTML;
}
static void s_init_chtml50 ( chtml50_t * chtml50 , Doc * doc , request_rec * r , device_table * spec ) { memset ( doc , 0 , sizeof ( Doc ) ) ; memset ( chtml50 , 0 , sizeof ( chtml50_t ) ) ; doc -> r = r ; chtml50 -> doc = doc ; chtml50 -> spec = spec ; chtml50 -> out = qs_alloc_zero_byte_string ( r -> pool ) ; chtml50 -> conf = chxj_get_module_config ( r -> per_dir_config , & chxj_module ) ; chtml50 -> doc -> parse_mode = PARSE_MODE_CHTML ; }
The CHTML structure is initialized.
The CHTML structure is initialized .