Main Page | Class List | File List | Class Members | File Members

url.c File Reference

#include "url.h"

Go to the source code of this file.

Defines

#define my_isupper(c)   (((c) >= 'A') && ((c) <= 'Z'))
#define my_islower(c)   (((c) >= 'a') && ((c) <= 'z'))
#define my_isdigit(c)   (((c) >= '0') && ((c) <= '9'))
#define my_isalpha(c)   (my_isupper(c) || my_islower(c))
#define my_isalnum(c)   (my_isalpha(c) || my_isdigit(c))
#define my_isxdigit(c)   (my_isdigit(c) || (((c) >= 'A') && ((c) <= 'F')) || (((c) >= 'a') && ((c) <= 'f')))

Functions

int parse_url (char *url, char **out_host, uint16_t *port, char **out_request)


Define Documentation

#define my_isalnum  )     (my_isalpha(c) || my_isdigit(c))
 

Definition at line 28 of file url.c.

Referenced by parse_url().

#define my_isalpha  )     (my_isupper(c) || my_islower(c))
 

Definition at line 27 of file url.c.

#define my_isdigit  )     (((c) >= '0') && ((c) <= '9'))
 

Definition at line 26 of file url.c.

Referenced by parse_url().

#define my_islower  )     (((c) >= 'a') && ((c) <= 'z'))
 

Definition at line 25 of file url.c.

#define my_isupper  )     (((c) >= 'A') && ((c) <= 'Z'))
 

Definition at line 24 of file url.c.

#define my_isxdigit  )     (my_isdigit(c) || (((c) >= 'A') && ((c) <= 'F')) || (((c) >= 'a') && ((c) <= 'f')))
 

Definition at line 29 of file url.c.

Referenced by parse_url().


Function Documentation

int parse_url char *  url,
char **  out_host,
uint16_t *  port,
char **  out_request
 

Definition at line 31 of file url.c.

References my_isalnum, my_isdigit, and my_isxdigit.

Referenced by edit(), process_header(), and readconfig().


Generated on Fri May 26 08:40:18 2006 for RSSbgr by doxygen 1.3.6