Macros | Functions
vul_url.cxx File Reference
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <sstream>
#include <fstream>
#include <iostream>
#include "vul_url.h"
#include <cassert>
#include <vul/vul_file.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>

Go to the source code of this file.

Macros

#define SOCKET   int
 

Functions

std::istream * vul_http_open (char const *url)
 only call this method with a correctly formatted http URL. More...
 
bool vul_http_exists (char const *url)
 only call this method with a correctly formatted http URL. More...
 

Detailed Description

Author
Ian Scott Based on vil_stream_url by fsm
  Modifications
   8 Nov 2002 - Peter Vanroose - corrected HTTP client request syntax

Definition in file vul_url.cxx.

Macro Definition Documentation

◆ SOCKET

#define SOCKET   int

Definition at line 31 of file vul_url.cxx.

Function Documentation

◆ vul_http_exists()

bool vul_http_exists ( char const *  url)

only call this method with a correctly formatted http URL.

Definition at line 247 of file vul_url.cxx.

◆ vul_http_open()

std::istream* vul_http_open ( char const *  url)

only call this method with a correctly formatted http URL.

Definition at line 40 of file vul_url.cxx.