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

void string_list_print ( FILE *  outfile,
StringList *  list,
int  flag 

string_list_print : The file to print the list to. : The list to print. : The flag of the strings to print.

Prints all strings in the list that have the given flag.

Definition at line 306 of file string_list.c.

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

Generated by  Doxygen 1.6.0   Back to index