jigdo API

net/proxyguess.cc File Reference

#include <config.h>
#include <fstream>
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd-jigdo.h>
#include <glib.h>
#include <glibcurl.h>
#include <log.hh>
#include <proxyguess.hh>

Typedefs

typedef ifstream MyIfstream

Functions

void glibcurl_add_proxy (const char *, const char *)
void glibcurl_add_noproxy (const char *)
time_t fileModTime (const char *path)
template<class Browser>
void add (set< BrowserConfig *, ConfFilesCompare > *c, const char *name)
template<class Browser>
void add (set< BrowserConfig *, ConfFilesCompare > *c, const string &name)
bool addProxy (const char *protocol, const char *proxy)
void addNoProxy (const char *list)
void proxyGuess ()
 Sets http and ftp to the selected proxy, or clears it if using direct internet connection.

Typedef Documentation

typedef ifstream MyIfstream [static]


Function Documentation

template<class Browser>
void @62::add ( set< BrowserConfig *, ConfFilesCompare > *  c,
const string &  name 
) [inline, static]

References fileModTime().

template<class Browser>
void @62::add ( set< BrowserConfig *, ConfFilesCompare > *  c,
const char *  name 
) [inline, static]

References fileModTime().

void @62::addNoProxy ( const char *  list  )  [static]

References debug, and glibcurl_add_noproxy().

bool @62::addProxy ( const char *  protocol,
const char *  proxy 
) [inline, static]

References debug, and glibcurl_add_proxy().

time_t @62::fileModTime ( const char *  path  )  [inline, static]

void glibcurl_add_noproxy ( const char *   ) 

void glibcurl_add_proxy ( const char *  ,
const char *   
)

void proxyGuess (  ) 

Sets http and ftp to the selected proxy, or clears it if using direct internet connection.

Accumulates noproxy entries from all sources. Call this after glibwww_init().

References c, debug, and getenv().

Referenced by main().


Variable Documentation

signed age

string filename

time_t now [static]


Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6