File: url.h

package info (click to toggle)
rxp 1.5.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,724 kB
  • sloc: ansic: 23,097; sh: 9,795; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* url.h	-- Henry Thompson
 *
 * $Header: /disk/b/cvsroot/ltg/RXP/include/url.h,v 1.9 2008/05/29 10:51:54 richard Exp $
 */

#ifndef _URL_H
#define _URL_H

#include <stdio.h>
#include "stdio16.h"
#include "charset.h"

extern STD_API int init_url(void);
extern STD_API void deinit_url(void);

extern STD_API char8 *
    url_merge(const char8 *url, const char8 *base,
	      char8 **scheme, char8 **host, int *port, char8 **path);
extern STD_API FILE16 *url_open(const char8 *url, const char8 *base, 
			        const char8 *type, char8 **merged_url);
extern STD_API char8 *default_base_url(void);

#endif