/[escript]/branches/domexper/dudley/src/TagMap.h
ViewVC logotype

Annotation of /branches/domexper/dudley/src/TagMap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3224 - (hide annotations)
Wed Sep 29 05:19:37 2010 UTC (9 years, 6 months ago) by jfenwick
File MIME type: text/plain
File size: 1099 byte(s)
indent -linux -nce -i4 -bl -bli0 -l120

1 gross 1044
2 ksteube 1312 /*******************************************************
3 ksteube 1811 *
4 jfenwick 2881 * Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 * 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 ksteube 1312
14 gross 1044 /**************************************************************/
15    
16 jfenwick 3086 /* Dudley: simple link list to privide clear names for a tag keys */
17 gross 1044
18     /**************************************************************/
19    
20 jfenwick 3082 #ifndef INC_DUDLEY_TAGMAP
21     #define INC_DUDLEY_TAGMAP
22 gross 1044
23 jfenwick 3082 #include "Dudley.h"
24 gross 1044
25 jfenwick 3086 typedef struct Dudley_TagMap {
26 jfenwick 3224 char *name;
27     index_t tag_key;
28     struct Dudley_TagMap *next;
29 jfenwick 3086 } Dudley_TagMap;
30 gross 1044
31 jfenwick 3224 void Dudley_TagMap_insert(Dudley_TagMap **, const char *name, index_t tag_key);
32     index_t Dudley_TagMap_getTag(Dudley_TagMap *, const char *name);
33     bool_t Dudley_TagMap_isValidTagName(Dudley_TagMap *, const char *name);
34     void Dudley_TagMap_free(Dudley_TagMap *);
35     #endif /* #ifndef INC_DUDLEY_TAGMAP */

  ViewVC Help
Powered by ViewVC 1.1.26