citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
![]() ![]() |
#include "../../sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <sys/wait.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <libcitadel.h>
#include "../../citadel.h"
#include "../../server.h"
#include "../../sysdep_decls.h"
#include "../../citserver.h"
#include "../../support.h"
#include "../../config.h"
#include "../../database.h"
#include "../../msgbase.h"
#include "../../control.h"
#include "ft_wordbreaker.h"
#include "crc16.h"
#include "../../ctdl_module.h"
Go to the source code of this file.
Macros | |
#define | NUM_NOISE (sizeof(noise_words) / sizeof(char *)) |
Functions | |
int | intcmp (const void *rec1, const void *rec2) |
void | wordbreaker (const char *text, int *num_tokens, int **tokens) |
Variables | |
static char * | noise_words [] |
#define NUM_NOISE (sizeof(noise_words) / sizeof(char *)) |
Definition at line 111 of file ft_wordbreaker.c.
int intcmp | ( | const void * | rec1, |
const void * | rec2 | ||
) |
Definition at line 117 of file ft_wordbreaker.c.
Referenced by wordbreaker().
void wordbreaker | ( | const char * | text, |
int * | num_tokens, | ||
int ** | tokens | ||
) |
Definition at line 129 of file ft_wordbreaker.c.
References CalcCRC16Bytes(), intcmp(), noise_words, NUM_NOISE, WB_MAX, and WB_MIN.
Referenced by ft_index_message(), and ft_search().
|
static |
Definition at line 48 of file ft_wordbreaker.c.
Referenced by wordbreaker().