gwenhywfar  4.6.0beta
url.h
Go to the documentation of this file.
1 /* This file is auto-generated from "url.xml" by the typemaker
2  tool of Gwenhywfar.
3  Do not edit this file -- all changes will be lost! */
4 #ifndef URL_H
5 #define URL_H
6 
73 #ifdef __cplusplus
74 extern "C" {
75 #endif
76 
77 typedef struct GWEN_URL GWEN_URL;
78 
79 #ifdef __cplusplus
80 } /* __cplusplus */
81 #endif
82 
83 #include <gwenhywfar/db.h>
84 #include <gwenhywfar/misc.h>
85 #include <gwenhywfar/list2.h>
86 /* headers */
87 #include <gwenhywfar/types.h>
88 #include <gwenhywfar/urlfns.h>
89 
90 #ifdef __cplusplus
91 extern "C" {
92 #endif
93 
94 
96 GWENHYWFAR_API GWEN_URL_LIST *GWEN_Url_List_dup(const GWEN_URL_LIST *stl);
97 
99 
102 GWENHYWFAR_API void GWEN_Url_List2_freeAll(GWEN_URL_LIST2 *stl);
103 
106 GWENHYWFAR_API GWEN_URL *GWEN_Url_new(void);
112 GWENHYWFAR_API GWEN_URL *GWEN_Url_dup(const GWEN_URL*st);
115 GWENHYWFAR_API void GWEN_Url_free(GWEN_URL *st);
118 GWENHYWFAR_API void GWEN_Url_Attach(GWEN_URL *st);
121 GWENHYWFAR_API int GWEN_Url_ReadDb(GWEN_URL *st, GWEN_DB_NODE *db);
124 GWENHYWFAR_API int GWEN_Url_toDb(const GWEN_URL*st, GWEN_DB_NODE *db);
127 GWENHYWFAR_API int GWEN_Url_IsModified(const GWEN_URL *st);
130 GWENHYWFAR_API void GWEN_Url_SetModified(GWEN_URL *st, int i);
131 
135 GWENHYWFAR_API const char *GWEN_Url_GetProtocol(const GWEN_URL *el);
139 GWENHYWFAR_API void GWEN_Url_SetProtocol(GWEN_URL *el, const char *d);
140 
144 GWENHYWFAR_API const char *GWEN_Url_GetServer(const GWEN_URL *el);
148 GWENHYWFAR_API void GWEN_Url_SetServer(GWEN_URL *el, const char *d);
149 
153 GWENHYWFAR_API int GWEN_Url_GetPort(const GWEN_URL *el);
157 GWENHYWFAR_API void GWEN_Url_SetPort(GWEN_URL *el, int d);
158 
162 GWENHYWFAR_API const char *GWEN_Url_GetPath(const GWEN_URL *el);
166 GWENHYWFAR_API void GWEN_Url_SetPath(GWEN_URL *el, const char *d);
167 
171 GWENHYWFAR_API const char *GWEN_Url_GetUserName(const GWEN_URL *el);
175 GWENHYWFAR_API void GWEN_Url_SetUserName(GWEN_URL *el, const char *d);
176 
180 GWENHYWFAR_API const char *GWEN_Url_GetPassword(const GWEN_URL *el);
184 GWENHYWFAR_API void GWEN_Url_SetPassword(GWEN_URL *el, const char *d);
185 
189 GWENHYWFAR_API GWEN_DB_NODE *GWEN_Url_GetVars(const GWEN_URL *el);
193 GWENHYWFAR_API void GWEN_Url_SetVars(GWEN_URL *el, GWEN_DB_NODE *d);
194 
195 
196 
197 #ifdef __cplusplus
198 } /* __cplusplus */
199 #endif
200 
201 
202 #endif /* URL_H */