-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrolo.index.h
27 lines (20 loc) · 950 Bytes
/
xrolo.index.h
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
/**** xrolo.index.h ****/ /**** formatted with 4-column tabs ****/
/********************************************************************
`xrolo.index.c' stores a reference to a `ListShell' object from
`xrolo.c' as `entryIndex'. It then uses xrolo_db_build_index_array()
from `xrolo.db.c' to build a null-terminated, dynamic array of
pointers to strings, where each string contains the first line of each
rolodex entry. The routines can be used to provide a high-level
interface to the task of building and freeing the dynamic arrays that
are created in `xrolo.db.c' and `listshell.c'.
Note that `xrolo.c' allocates, realizes, and ultimately frees the
`ListShell' object. It should not be done here.
********************************************************************/
#include "listshell.h"
#include "xrolo.db.h"
/*
Public functions:
*/
extern void xrolo_index_create();
extern void xrolo_index_destroy();
extern int xrolo_index_build();