Exemplo n.º 1
0
ret_t
cherokee_handler_streaming_props_free (cherokee_handler_streaming_props_t *props)
{
	if (props->props_file != NULL) {
		cherokee_handler_file_props_free (props->props_file);
		props->props_file = NULL;
	}

	return cherokee_handler_props_free_base (HANDLER_PROPS(props));
}
Exemplo n.º 2
0
ret_t
cherokee_handler_secdownload_props_free (cherokee_handler_secdownload_props_t *props)
{
	if (props->props_file != NULL) {
		cherokee_handler_file_props_free (props->props_file);
		props->props_file = NULL;
	}

	cherokee_buffer_mrproper (&props->secret);

	return cherokee_handler_props_free_base (HANDLER_PROPS(props));
}
Exemplo n.º 3
0
ret_t
cherokee_handler_dirlist_props_free  (cherokee_handler_dirlist_props_t *props)
{
    cherokee_list_content_free (&props->notice_files, (cherokee_list_free_func)file_match_free);
    cherokee_list_content_free (&props->hidden_files, (cherokee_list_free_func)file_match_free);

    cherokee_buffer_mrproper (&props->header);
    cherokee_buffer_mrproper (&props->footer);
    cherokee_buffer_mrproper (&props->entry);
    cherokee_buffer_mrproper (&props->css);
    cherokee_buffer_mrproper (&props->icon_web_dir);

    return cherokee_handler_props_free_base (HANDLER_PROPS(props));
}
Exemplo n.º 4
0
static ret_t
props_free (cherokee_handler_ssi_props_t *props)
{
	return cherokee_handler_props_free_base (HANDLER_PROPS(props));
}
Exemplo n.º 5
0
/* Methods implementation
 */
ret_t
cherokee_handler_file_props_free (cherokee_handler_file_props_t *props)
{
	return cherokee_handler_props_free_base (HANDLER_PROPS(props));
}