gwenhywfar  5.1.3
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 
97 
99 
100 
103 
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 
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 
194 
195 
196 
197 #ifdef __cplusplus
198 } /* __cplusplus */
199 #endif
200 
201 
202 #endif /* URL_H */
GWEN_Url_IsModified
GWENHYWFAR_API int GWEN_Url_IsModified(const GWEN_URL *st)
urlfns.h
GWEN_Url_fromDb
GWENHYWFAR_API GWEN_URL * GWEN_Url_fromDb(GWEN_DB_NODE *db)
GWEN_Url_GetPort
GWENHYWFAR_API int GWEN_Url_GetPort(const GWEN_URL *el)
types.h
GWEN_Url_GetVars
GWENHYWFAR_API GWEN_DB_NODE * GWEN_Url_GetVars(const GWEN_URL *el)
GWEN_URL
struct GWEN_URL GWEN_URL
Definition: url.h:77
GWEN_Url_free
GWENHYWFAR_API void GWEN_Url_free(GWEN_URL *st)
GWEN_Url_SetProtocol
GWENHYWFAR_API void GWEN_Url_SetProtocol(GWEN_URL *el, const char *d)
db.h
GWEN_Url_List_dup
GWENHYWFAR_API GWEN_URL_LIST * GWEN_Url_List_dup(const GWEN_URL_LIST *stl)
GWEN_Url_GetPath
const GWENHYWFAR_API char * GWEN_Url_GetPath(const GWEN_URL *el)
GWEN_URL_LIST
Definition: listdoc.h:7988
GWEN_Url_GetProtocol
const GWENHYWFAR_API char * GWEN_Url_GetProtocol(const GWEN_URL *el)
GWEN_Url_dup
GWENHYWFAR_API GWEN_URL * GWEN_Url_dup(const GWEN_URL *st)
GWEN_Url_new
GWENHYWFAR_API GWEN_URL * GWEN_Url_new(void)
GWEN_Url_ReadDb
GWENHYWFAR_API int GWEN_Url_ReadDb(GWEN_URL *st, GWEN_DB_NODE *db)
misc.h
GWEN_Url_SetServer
GWENHYWFAR_API void GWEN_Url_SetServer(GWEN_URL *el, const char *d)
GWEN_Url_SetPort
GWENHYWFAR_API void GWEN_Url_SetPort(GWEN_URL *el, int d)
GWEN_Url_List2_freeAll
GWENHYWFAR_API void GWEN_Url_List2_freeAll(GWEN_URL_LIST2 *stl)
GWEN_LIST_FUNCTION_LIB_DEFS
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:347
GWEN_Url_GetUserName
const GWENHYWFAR_API char * GWEN_Url_GetUserName(const GWEN_URL *el)
GWEN_Url_SetUserName
GWENHYWFAR_API void GWEN_Url_SetUserName(GWEN_URL *el, const char *d)
GWEN_Url_toDb
GWENHYWFAR_API int GWEN_Url_toDb(const GWEN_URL *st, GWEN_DB_NODE *db)
GWEN_LIST2_FUNCTION_LIB_DEFS
#define GWEN_LIST2_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list2.h:55
GWEN_Url_GetServer
const GWENHYWFAR_API char * GWEN_Url_GetServer(const GWEN_URL *el)
GWEN_Url_GetPassword
const GWENHYWFAR_API char * GWEN_Url_GetPassword(const GWEN_URL *el)
GWEN_Url_SetPassword
GWENHYWFAR_API void GWEN_Url_SetPassword(GWEN_URL *el, const char *d)
GWEN_Url_Attach
GWENHYWFAR_API void GWEN_Url_Attach(GWEN_URL *st)
GWEN_Url_SetModified
GWENHYWFAR_API void GWEN_Url_SetModified(GWEN_URL *st, int i)
GWEN_DB_NODE
struct GWEN_DB_NODE GWEN_DB_NODE
Definition: db.h:227
list2.h
This file contains some macros concerning lists.
GWEN_URL_LIST2
struct GWEN_URL_LIST2 GWEN_URL_LIST2
Definition: listdoc.h:7732
GWEN_Url_SetPath
GWENHYWFAR_API void GWEN_Url_SetPath(GWEN_URL *el, const char *d)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:66
GWEN_Url_SetVars
GWENHYWFAR_API void GWEN_Url_SetVars(GWEN_URL *el, GWEN_DB_NODE *d)