]> git.saurik.com Git - iphone-api.git/blob - WebCore/WebCoreTelephoneParser.h
Add support for new WinterBoard Settings features.
[iphone-api.git] / WebCore / WebCoreTelephoneParser.h
1 /*
2 * WebCoreTelephoneParser.h
3 * WebCore
4 *
5 * Copyright (C) 2007, 2008, Apple Inc. All rights reserved.
6 *
7 */
8
9 #include "string.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 /*
16 method: WebCoreFindTelephoneNumber(UniChar [], unsigned *, int *, int *)
17 description: parses string looking for a phone number
18 in string: Array of UniChars to parse
19 in len: Number of characters in 'string'
20 out startPos: index of first charcater in phone number, -1 if not found
21 out endPos: index of last character in phone number, -1 if not found.
22 */
23 void WebCoreFindTelephoneNumber(const UniChar string[], unsigned len, int *startPos, int *endPos);
24
25 #ifdef __cplusplus
26 }
27 #endif