Edinburgh Speech Tools  2.1-release
url.h
Go to the documentation of this file.
1 /*************************************************************************/
2 /* */
3 /* Copyright (c) 1997-98 Richard Tobin, Language Technology Group, HCRC, */
4 /* University of Edinburgh. */
5 /* */
6 /* THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, */
7 /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
8 /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
9 /* IN NO EVENT SHALL THE AUTHOR OR THE UNIVERSITY OF EDINBURGH BE LIABLE */
10 /* FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF */
11 /* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION */
12 /* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
13 /* */
14 /*************************************************************************/
15 /* url.h -- Henry Thompson
16  *
17  * $Header: /home/CVS/speech_tools/include/rxp/url.h,v 1.2 2001/04/04 13:11:27 awb Exp $
18  */
19 
20 #ifndef _URL_H
21 #define _URL_H
22 
23 #ifndef FOR_LT
24 #define STD_API
25 #define EXPRT
26 #endif
27 
28 #include <stdio.h>
29 #include "stdio16.h"
30 #include "charset.h"
31 
32 extern STD_API char8 * EXPRT
33  url_merge(const char8 *url, const char8 *base,
34  char8 **scheme, char8 **host, int *port, char8 **path);
35 extern STD_API FILE16 *url_open(const char8 *url, const char8 *base,
36  const char8 *type, char8 **merged_url);
37 extern STD_API char8 *EXPRT default_base_url(void);
38 
39 #endif
#define STD_API
Definition: url.h:24
STD_API char8 *EXPRT default_base_url(void)
Definition: url.c:116
STD_API char8 *EXPRT url_merge(const char8 *url, const char8 *base, char8 **scheme, char8 **host, int *port, char8 **path)
Definition: url.c:188
#define EXPRT
Definition: url.h:25
char * scheme
Definition: url.c:106
STD_API FILE16 * url_open(const char8 *url, const char8 *base, const char8 *type, char8 **merged_url)
Definition: url.c:385
char char8
Definition: charset.h:31