view url.h @ 1517:0e9c29538a86

Use USE_WIN32DLL define instead of ARCH_X86 to decide whether or not to compile Win32 DLL code into mplayer. Default for USE_WIN32DLL is enabled on x86 machines, disabled otherwise. Use of Win32 DLLs can be disabled on x86 using the --disable-win32 configure option.
author jkeil
date Tue, 14 Aug 2001 18:28:56 +0000
parents ede5785faa53
children
line wrap: on
line source

/* 
 * URL Helper
 * by Bertrand Baudet <bertrand_baudet@yahoo.com>
 * (C) 2001, MPlayer team.
 */

#ifndef __URL_H
#define __URL_H

typedef struct {
	char *url;
	char *protocol;
	char *hostname;
	char *file;
	unsigned int port;
	char *username;
	char *password;
} URL_t;

URL_t* url_new(char* url);
void   url_free(URL_t* url);

#endif