pacparser  1.3.7
About: pacparser is a library to parse Proxy Auto-Config (PAC) files (incl. a pactester).
  Fossies Dox: pacparser-1.3.7.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

pactester.c File Reference
#include "pacparser.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for pactester.c:

Go to the source code of this file.


#define STREQ(s1, s2)   (strcmp((s1), (s2)) == 0)
#define LINEMAX   4096
#define PACMAX   (1024 * 1024)


void usage (const char *progname)
char * get_host_from_url (const char *url)
int main (int argc, char *argv[])

Macro Definition Documentation


#define LINEMAX   4096

Definition at line 32 of file pactester.c.


#define PACMAX   (1024 * 1024)

Definition at line 33 of file pactester.c.


#define STREQ (   s1,
)    (strcmp((s1), (s2)) == 0)

Definition at line 30 of file pactester.c.

Function Documentation

◆ get_host_from_url()

char* get_host_from_url ( const char *  url)

Definition at line 58 of file pactester.c.

Referenced by main().

◆ main()

◆ usage()

void usage ( const char *  progname)

Definition at line 35 of file pactester.c.

Referenced by main().