summaryrefslogtreecommitdiff
blob: 94d76cd9191608dfb54e538b258188236f397fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdlib.h>
#include <string.h>
#include <stdint.h> /* defines SIZE_MAX */

#include "../io/error.h"

#include "knowledge.h"

/** Basic functions of the ZoO_knowledge structure ****************************/
void ZoO_knowledge_initialize (struct ZoO_knowledge k [const static 1])
{
   k->words = (struct ZoO_knowledge_word *) NULL;
   k->words_length = 0;
   k->words_sorted = (ZoO_index *) NULL;
}