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

string_list.c File Reference

Detailed Description

Functions for string sets.

Definition in file string_list.c.

#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "string_list.h"

Go to the source code of this file.


struct  string_node


int string_list_add (StringList *list, const char *new_string, int flag)
int string_list_contains (StringList *list, const char *string, int flag)
 Returns whether a given string is in the list.
void string_list_free (StringList *list)
int string_list_is_empty (StringList *list)
StringList * string_list_new ()
void string_list_print (FILE *outfile, StringList *list, int flag)
void string_list_print_xml (FILE *outfile, StringList *list, int flag)
void string_list_remove (StringList *list, const char *dead_string, int flag)
void string_list_remove_all (StringList *list, int flag)
char * string_list_remove_first (StringList *list, int flag)

Generated by  Doxygen 1.6.0   Back to index