/* Copyright 2001 2002 Debajyoti Bera */ /* This file is part of mGet. * mGet is free Software; please refer to COPYING for terms and conditions */ #ifndef __MGETUTIL_H #define __MGETUTIL_H #include #include "common.h" char * _get_proxy_name_port(char *, int *, char *); void _process_header_length(char *, long *); void _process_status_line(char *, char *, int *); char * _encode(char *); char * _get_file_name(char *, char *); char * _get_site_name(char *, char *); char * _remove_header(char *,int *); char * _remove_http(char *, char *); void _process_http_status(int); char * get_proxy_name_port(char *, int *, char *); char * get_proxy_from_env(int *, char *, char); void get_redirected_address(char *); FILE * _get_log_file(char *); void _read_string_value(FILE *, char **); #endif