[cvs] SF.net SVN: bogofilter:[6894] trunk/bogofilter/src
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2010-03-23 17:32:55
|
Revision: 6894 http://bogofilter.svn.sourceforge.net/bogofilter/?rev=6894&view=rev Author: m-a Date: 2010-03-23 17:32:46 +0000 (Tue, 23 Mar 2010) Log Message: ----------- Add missing documentation. Modified Paths: -------------- trunk/bogofilter/src/buff.h trunk/bogofilter/src/word.h Modified: trunk/bogofilter/src/buff.h =================================================================== --- trunk/bogofilter/src/buff.h 2010-03-23 17:23:48 UTC (rev 6893) +++ trunk/bogofilter/src/buff.h 2010-03-23 17:32:46 UTC (rev 6894) @@ -49,9 +49,9 @@ /** print the unread part of the buff_t \a self to the stdio stream fp * by means of word_puts(), which see for meaning of \a width. */ -extern void buff_puts(const buff_t *self, +extern void buff_puts(const buff_t *self, /**< buff struct to print */ uint width, /**< passed verbatim to word_puts() */ - FILE *fp); + FILE *fp /**< stdio.h stream to print to */); extern void buff_shift(buff_t *self, uint start, uint length); Modified: trunk/bogofilter/src/word.h =================================================================== --- trunk/bogofilter/src/word.h 2010-03-23 17:23:48 UTC (rev 6893) +++ trunk/bogofilter/src/word.h 2010-03-23 17:32:46 UTC (rev 6894) @@ -26,7 +26,7 @@ /** create a new word_t from the \a leng bytes at address \a text */ extern word_t *word_new(const byte *text, /**< may be NULL, to create a blank word_t */ - uint leng); + uint leng /**< length of input string */); /** create a new word_t from the NUL-terminated \a cstring */ extern word_t *word_news(const char *cstring); @@ -45,11 +45,11 @@ /** output \a self onto the stream \a fp, formatted to \a width * characters. */ -extern void word_puts(const word_t *self, +extern void word_puts(const word_t *self, /**< word structure to print */ uint width, /**< if 0, use actual width, if > 0 then either * truncate the string or fill it with blanks to print * exactly \a width characters */ - FILE *fp); + FILE *fp /**< stdio stream to print word to */); /** Compare word \a w to string \a s. */ extern int word_cmps(const word_t *w, const char *s); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |