/[escript]/trunk/finley/src/TagMap.h
ViewVC logotype

Contents of /trunk/finley/src/TagMap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1044 - (show annotations)
Mon Mar 19 07:29:31 2007 UTC (12 years, 6 months ago) by gross
File MIME type: text/plain
File size: 1367 byte(s)
clear name tagging is supported now.
1 /*
2 ************************************************************
3 * Copyright 2007 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12 /**************************************************************/
13
14 /* Finley: simple link list to privide clear names for a tag keys */
15
16 /**************************************************************/
17
18 /* Author: gross@access.edu.au */
19 /* Version: $Id:*/
20
21 /**************************************************************/
22
23 #ifndef INC_FINLEY_TAGMAP
24 #define INC_FINLEY_TAGMAP
25
26 #include "Finley.h"
27
28
29 typedef struct Finley_TagMap {
30 char* name;
31 index_t tag_key;
32 struct Finley_TagMap *next;
33 } Finley_TagMap;
34
35 void Finley_TagMap_insert(Finley_TagMap**,const char* name, index_t tag_key);
36 index_t Finley_TagMap_getTag(Finley_TagMap*,const char* name);
37 bool_t Finley_TagMap_isValidTagName(Finley_TagMap*,const char* name);
38 void Finley_TagMap_free(Finley_TagMap*);
39 #endif /* #ifndef INC_FINLEY_TAGMAP */
40

  ViewVC Help
Powered by ViewVC 1.1.26