Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

string-set.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "string-set.h"
#include <string.h>

Functions

int hash_string (const unsigned char *str, String_set *ss)
int stride_hash_string (const unsigned char *str, String_set *ss)
int next_prime_up (int start)
String_setstring_set_create (void)
int find_place (const char *str, String_set *ss)
void grow_table (String_set *ss)
char * string_set_add (const char *source_string, String_set *ss)
char * string_set_lookup (const char *source_string, String_set *ss)
void string_set_delete (String_set *ss)
void string_set_display (FILE *fp, String_set *ss)

Function Documentation

int find_place const char *  str,
String_set ss
 

void grow_table String_set ss  ) 
 

int hash_string const unsigned char *  str,
String_set ss
 

int next_prime_up int  start  ) 
 

int stride_hash_string const unsigned char *  str,
String_set ss
 

char* string_set_add const char *  source_string,
String_set ss
 

String_set* string_set_create void   ) 
 

void string_set_delete String_set ss  ) 
 

void string_set_display FILE *  fp,
String_set ss
 

char* string_set_lookup const char *  source_string,
String_set ss
 


Generated on Tue Jun 15 11:02:57 2010 for Lemur by doxygen 1.3.4