Main Page   File List   Globals   Related Pages  

dict.c File Reference

Dictionary file parsing functions. More...

#include <glib.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

char *** dict_get_words (const char *fn, const char *sep, int *wnum)
 Read a dictionary from a file. More...


Detailed Description

Dictionary file parsing functions.

Definition in file dict.c.


Function Documentation

char*** dict_get_words const char *    fn,
const char *    sep,
int *    wnum
 

Read a dictionary from a file.

Parameters:
fn  file name
sep  the separator used in the file. The file contains one line for each word pair and they are separated by this string.
wnum  a place to hold the number of the words in the dictionary.
Returns:
a list of the word pairs

Definition at line 20 of file dict.c.

Referenced by dict_new_from_file().


Generated on Tue Jun 25 12:02:42 2002 for LearnWords by doxygen1.2.15