File: http.h

package info (click to toggle)
streamripper 1.64.6-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 1,804 kB
  • ctags: 1,271
  • sloc: ansic: 11,692; sh: 8,548; makefile: 437; perl: 34
file content (22 lines) | stat: -rw-r--r-- 828 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
#ifndef __HTTP_H__
#define __HTTP_H__

#include "rip_manager.h"
#include "srtypes.h"


error_code http_parse_sc_header(const char* url, char *header, SR_HTTP_HEADER *info);
error_code http_construct_sc_request(const char *url, const char* proxyurl, char *buffer, char *useragent);
error_code http_construct_page_request(const char *url, BOOL proxyformat, char *buffer);
error_code http_construct_sc_response(SR_HTTP_HEADER *info, char *header, int size, int icy_meta_support);
error_code inet_get_webpage_alloc(HSOCKET *sock, const char *url,
					 const char *proxyurl, 
					 char **buffer, unsigned long *size);
error_code http_sc_connect (RIP_MANAGER_INFO* rmi,
			    HSOCKET *sock, const char *url, 
			    const char *proxyurl, 
			    SR_HTTP_HEADER *info, char *useragent, 
			    char *if_name);


#endif //__HTTP_H__