Main Page | Data Structures | File List | Data Fields | Globals

phish_url_data_t Struct Reference

#include <phish.h>


Data Fields

phish_risk_t risk_level
int server
int ip
int path
int domain
char country [3]
size_t comments_length
char * comments
int user_scheme
int suspicious_host


Detailed Description

Results structure returned by the URL checking functions with data about the URL given.


Field Documentation

phish_risk_t phish_url_data_t::risk_level
 

Risk level of URL

int phish_url_data_t::server
 

Whether the server part of the URL was found to be in the database

int phish_url_data_t::ip
 

Whether the IP address of the server was found to be in the database

int phish_url_data_t::path
 

Whether the path part of the URL was found to be in the database

int phish_url_data_t::domain
 

Whether the domain of the URL was found to be in the database

char phish_url_data_t::country[3]
 

Two level country code of country where site is probably located, or "--" if the country is unknown

size_t phish_url_data_t::comments_length
 

Length of comments about URL, 0 if no comments

char* phish_url_data_t::comments
 

Comments about URL, NULL if no comments

int phish_url_data_t::user_scheme
 

Whether URL scheme contains a username, i.e. protocol://user...

int phish_url_data_t::suspicious_host
 

Whether the server part of the URL contains characters which are not normally part of a server name (e.g. non-latin characters in international domain names)


The documentation for this struct was generated from the following file:
Generated on Thu Mar 30 22:31:55 2006 for libphish by  doxygen 1.4.4