112458b28Smrg/* 212458b28Smrg Copyright (c) 2015 Thomas Klausner 312458b28Smrg 412458b28Smrg Permission is hereby granted, free of charge, to any person obtaining a copy 512458b28Smrg of this software and associated documentation files (the "Software"), to deal 612458b28Smrg in the Software without restriction, including without limitation the rights 712458b28Smrg to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 812458b28Smrg copies of the Software, and to permit persons to whom the Software is 912458b28Smrg furnished to do so, subject to the following conditions: 1012458b28Smrg 1112458b28Smrg The above copyright notice and this permission notice shall be included in 1212458b28Smrg all copies or substantial portions of the Software. 1312458b28Smrg 1412458b28Smrg THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1512458b28Smrg IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1612458b28Smrg FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 1712458b28Smrg AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1812458b28Smrg LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 1912458b28Smrg OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 2012458b28Smrg THE SOFTWARE. 2112458b28Smrg*/ 2212458b28Smrg 2312458b28Smrg#ifndef _MKS_CONSTLIST_H_ 2412458b28Smrg#define _MKS_CONSTLIST_H_ 1 2512458b28Smrg 2612458b28Smrgtypedef struct _ConstList { 2712458b28Smrg const char *value; 2812458b28Smrg struct _ConstList *next; 2912458b28Smrg} ConstListRec, *ConstListPtr; 3012458b28Smrg 3112458b28SmrgConstListPtr appendConstList(ConstListPtr first, ConstListPtr second); 3212458b28SmrgConstListPtr makeConstList(const char **a, int n, ConstListPtr old, int begin); 3312458b28Smrgvoid destroyConstList(ConstListPtr old); 3412458b28Smrg 3512458b28Smrg#endif /* _MKS_CONSTLIST_H_ */ 36