1*a3141fd3SAndroid Build Coastguard Worker /* //device/libs/android_runtime/PhoneNumberUtils.h 2*a3141fd3SAndroid Build Coastguard Worker ** 3*a3141fd3SAndroid Build Coastguard Worker ** Copyright 2006, The Android Open Source Project 4*a3141fd3SAndroid Build Coastguard Worker ** 5*a3141fd3SAndroid Build Coastguard Worker ** Licensed under the Apache License, Version 2.0 (the "License"); 6*a3141fd3SAndroid Build Coastguard Worker ** you may not use this file except in compliance with the License. 7*a3141fd3SAndroid Build Coastguard Worker ** You may obtain a copy of the License at 8*a3141fd3SAndroid Build Coastguard Worker ** 9*a3141fd3SAndroid Build Coastguard Worker ** http://www.apache.org/licenses/LICENSE-2.0 10*a3141fd3SAndroid Build Coastguard Worker ** 11*a3141fd3SAndroid Build Coastguard Worker ** Unless required by applicable law or agreed to in writing, software 12*a3141fd3SAndroid Build Coastguard Worker ** distributed under the License is distributed on an "AS IS" BASIS, 13*a3141fd3SAndroid Build Coastguard Worker ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*a3141fd3SAndroid Build Coastguard Worker ** See the License for the specific language governing permissions and 15*a3141fd3SAndroid Build Coastguard Worker ** limitations under the License. 16*a3141fd3SAndroid Build Coastguard Worker */ 17*a3141fd3SAndroid Build Coastguard Worker 18*a3141fd3SAndroid Build Coastguard Worker #ifndef _ANDROID_PHONE_NUMBER_UTILS_H 19*a3141fd3SAndroid Build Coastguard Worker #define _ANDROID_PHONE_NUMBER_UTILS_H 20*a3141fd3SAndroid Build Coastguard Worker 21*a3141fd3SAndroid Build Coastguard Worker namespace android { 22*a3141fd3SAndroid Build Coastguard Worker 23*a3141fd3SAndroid Build Coastguard Worker bool phone_number_compare_loose(const char* a, const char* b); 24*a3141fd3SAndroid Build Coastguard Worker bool phone_number_compare_loose_with_minmatch(const char* a, const char* b, int min_match); 25*a3141fd3SAndroid Build Coastguard Worker bool phone_number_compare_strict(const char* a, const char* b); 26*a3141fd3SAndroid Build Coastguard Worker bool phone_number_stripped_reversed_inter(const char* in, char* out, const int len, int *outlen); 27*a3141fd3SAndroid Build Coastguard Worker 28*a3141fd3SAndroid Build Coastguard Worker } // namespace android 29*a3141fd3SAndroid Build Coastguard Worker 30*a3141fd3SAndroid Build Coastguard Worker #endif 31