Logo Search packages:      
Sourcecode: jclassinfo version File versions  Download package

void string_list_print_xml ( FILE *  outfile,
StringList *  list,
int  flag 
)

string_list_print_xml : The file to dump the list to. : The list to dump. : The flag of the strings to print.

Prints all strings in the list the have the given flag as xml. The strings are printed one at every line.

Definition at line 329 of file string_list.c.

{
      struct string_node* node;
            
      node = list->head;
      
      while(node != NULL)
      {
            if (node->flag & flag)
                  fprintf(outfile,"<refentry>%s</refentry>\n", node->string);
            node = node->next;
      }     
}


Generated by  Doxygen 1.6.0   Back to index