1*e7675e54SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*e7675e54SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*e7675e54SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*e7675e54SAndrew Rist * distributed with this work for additional information 6*e7675e54SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*e7675e54SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*e7675e54SAndrew Rist * "License"); you may not use this file except in compliance 9*e7675e54SAndrew Rist * with the License. You may obtain a copy of the License at 10*e7675e54SAndrew Rist * 11*e7675e54SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*e7675e54SAndrew Rist * 13*e7675e54SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*e7675e54SAndrew Rist * software distributed under the License is distributed on an 15*e7675e54SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e7675e54SAndrew Rist * KIND, either express or implied. See the License for the 17*e7675e54SAndrew Rist * specific language governing permissions and limitations 18*e7675e54SAndrew Rist * under the License. 19*e7675e54SAndrew Rist * 20*e7675e54SAndrew Rist *************************************************************/ 21*e7675e54SAndrew Rist 22*e7675e54SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _ALT_STRFUNC_HXX_ 25cdf0e10cSrcweir #define _ALT_STRFUNC_HXX_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <string> 28cdf0e10cSrcweir #include <guess.hxx> 29cdf0e10cSrcweir isSeparator(const char c)30cdf0e10cSrcweirinline bool isSeparator(const char c){ 31cdf0e10cSrcweir return c == GUESS_SEPARATOR_OPEN || c == GUESS_SEPARATOR_SEP || c == GUESS_SEPARATOR_CLOSE || c == '\0'; 32cdf0e10cSrcweir } 33cdf0e10cSrcweir 34cdf0e10cSrcweir int start(const std::string &s1, const std::string &s2); 35cdf0e10cSrcweir 36cdf0e10cSrcweir #endif 37cdf0e10cSrcweir 38