blob: 95683b9d9c5ebca022896fffb628697170cc3f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include <stdlib.h>
#include <string.h>
#include <stdint.h> /* defines SIZE_MAX */
#include "../pipe/pipe.h"
#include "knowledge.h"
/** Basic functions of the ZoO_knowledge structure ****************************/
/* See: "knowledge.h" */
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;
k->sequences = (ZoO_index **) NULL;
k->sequences_length = 0;
k->sequences_sorted = (ZoO_index *) NULL;
}
int ZoO_knowledge_lock_access
(
struct ZoO_knowledge k [const restrict static 1],
const struct ZoO_pipe io [const restrict static 1]
)
{
return 0;
}
void ZoO_knowledge_unlock_access
(
struct ZoO_knowledge k [const restrict static 1],
const struct ZoO_pipe io [const restrict static 1]
)
{
}
|