1 %{ 2 /* 3 * Copyright (C) 2007 Esmertec AG. 4 * Copyright (C) 2007 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 #include <string.h> 20 #include "csp13_hash.h" 21 22 %} 23 24 %% 25 AcceptedPullLength 26 AcceptedPushLength 27 AcceptedRichContentLength 28 AcceptedTextContentLength 29 AnswerOptionID 30 ChosenOptionID 31 Code 32 ContentPolicyLimit 33 ContentSize 34 GroupContentLimit 35 HistoryPeriod 36 KeepAliveTime 37 MaxWatcherList 38 MessageCount 39 MessageTotalCount 40 MultiTrans 41 MultiTransPerMessage 42 PairID 43 ParserSize 44 PlainTextCharSet 45 SearchFindings 46 SearchIndex 47 SearchLimit 48 SegmentCount 49 SegmentReference 50 ServerPollMin 51 SessionPriority 52 TCPPort 53 TimeToLive 54 TryAgainTimeout 55 UDPPort 56 UserSessionLimit 57 Validity 58 WatcherCount 59 %% 60 61 int csp13IsIntegerTag(const char * str) 62 { 63 const char * s = in_word_set(str, strlen(str)); 64 return s ? 1 : 0; 65 } 66 67