Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

validate.h

Go to the documentation of this file.
00001 
00010 /* {{{ Initial comments */
00011 /*
00012  * $LastChangedDate$
00013  * $LastChangedRevision$
00014  * $LastChangedBy$
00015  *
00016  */
00017 /* }}} */
00018 
00019 #ifndef _CF_VALIDATE_H
00020 #define _CF_VALIDATE_H
00021 
00025 typedef struct s_scheme_list {
00026   u_char scheme[20]; 
00027   int (*validator)(const u_char *); 
00028 } t_scheme_list;
00029 
00036 int is_valid_link(const u_char *link);
00037 
00044 int is_valid_http_link(const u_char *link,int strict);
00045 
00051 int is_valid_mailaddress(const u_char *addr);
00052 
00058 int is_valid_mailto_link(const u_char *addr);
00059 
00065 int is_valid_hostname(const u_char *hostname);
00066 
00072 int is_valid_telnet_link(const u_char *link);
00073 
00079 int is_valid_nntp_link(const u_char *link);
00080 
00086 int is_valid_news_link(const u_char *link);
00087 
00093 int is_valid_ftp_link(const u_char *link);
00094 
00095 /*
00096  * by Christian Seiler:
00097  */
00098 
00104 int is_valid_prospero_link(const u_char *link);
00105 
00111 int is_valid_wais_link(const u_char *link);
00112 
00118 int is_valid_gopher_link(const u_char *link);
00119 
00120 #endif
00121 
00122 /* eof */

Generated on Sun Apr 25 16:37:39 2004 for Classic Forum by doxygen 1.3.5