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

uri.h

00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. - All rights reserved.
00003  */
00004 
00005 #ifndef _U_URI_H_
00006 #define _U_URI_H_
00007 
00008 #include <u/libu_conf.h>
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 struct u_uri_s
00015 {
00016     char *scheme;
00017     char *user;
00018     char *pwd;
00019     char *host;
00020     short port;
00021     char *path;
00022 };
00023 
00024 typedef struct u_uri_s u_uri_t;
00025 
00026 int u_uri_parse (const char *s, u_uri_t **pu);
00027 void u_uri_free (u_uri_t *uri);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032 
00033 #endif /* !_U_URI_H_ */ 

←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved