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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (show annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 10 months ago) by jfenwick
File MIME type: text/plain
File size: 1086 byte(s)
Don't panic.
Updating copyright stamps

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /**************************************************************/
16
17 /* Finley: simple link list to privide clear names for a tag keys */
18
19 /**************************************************************/
20
21 #ifndef INC_FINLEY_TAGMAP
22 #define INC_FINLEY_TAGMAP
23
24 #include "Finley.h"
25
26
27 typedef struct Finley_TagMap {
28 char* name;
29 index_t tag_key;
30 struct Finley_TagMap *next;
31 } Finley_TagMap;
32
33 void Finley_TagMap_insert(Finley_TagMap**,const char* name, index_t tag_key);
34 index_t Finley_TagMap_getTag(Finley_TagMap*,const char* name);
35 bool_t Finley_TagMap_isValidTagName(Finley_TagMap*,const char* name);
36 void Finley_TagMap_free(Finley_TagMap*);
37 #endif /* #ifndef INC_FINLEY_TAGMAP */
38

  ViewVC Help
Powered by ViewVC 1.1.26