ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <stdio.h>
#include "../../../autoconf.h"
#include <unistd.h>
#include <stdlib.h>
#include "proxytrace.h"
Defines | |
#define | MAX_METHODS (sizeof(MethodStrings)/sizeof(*MethodStrings)-1) |
#define | MAX_PROTOCOLS (sizeof(ProtocolStrings)/sizeof(*ProtocolStrings)-1) |
#define | MAX_EXTENSIONS (sizeof(ExtensionStrings)/sizeof(*ExtensionStrings)-1) |
Functions | |
const char * | MethodStr (int method) |
const char * | ProtocolStr (int protocol) |
const char * | ExtensionStr (int type) |
const char * | ExtensionTypeStr (int type) |
size_t | ReadHeader (FILE *in_file, void *userBuf) |
size_t | ReadEntry (FILE *in_file, TEntry *entry) |
size_t | ReadEntryV1 (FILE *in_file, TEntry *entry) |
Variables | |
const char * | MethodStrings [] |
const char * | ProtocolStrings [] |
const char * | ExtensionStrings [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { "", ".html", ".gif", ".cgi", ".data", ".class", ".map", ".jpeg", ".mpeg", ".OTHER", ".BAD#" } |
|
Initial value: { "NONE", "GET", "POST", "HEAD", "CONNECT", "BAD#" } |
|
Initial value: { "NONE", "http", "ftp", "gopher", "wais", "cache_object", "TOTAL", "BAD#" } |