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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3224 - (show 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
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 /* Dudley: simple link list to privide clear names for a tag keys */
17
18 /**************************************************************/
19
20 #ifndef INC_DUDLEY_TAGMAP
21 #define INC_DUDLEY_TAGMAP
22
23 #include "Dudley.h"
24
25 typedef struct Dudley_TagMap {
26 char *name;
27 index_t tag_key;
28 struct Dudley_TagMap *next;
29 } Dudley_TagMap;
30
31 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