upnptools.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef UPNP_TOOLS_H
00034 #define UPNP_TOOLS_H
00035
00036
00052 #include "ixml.h"
00053
00054
00055
00056 #if UPNP_HAVE_TOOLS
00057
00058
00059 #ifdef __cplusplus
00060 extern "C" {
00061 #endif
00062
00063
00071 EXPORT_SPEC const char *UpnpGetErrorMessage(
00073 int errorcode);
00074
00075
00090 EXPORT_SPEC int UpnpResolveURL(
00092 const char *BaseURL,
00094 const char *RelURL,
00096 char *AbsURL);
00097
00098
00112 EXPORT_SPEC IXML_Document *UpnpMakeAction(
00114 const char *ActionName,
00116 const char *ServType,
00118 int NumArg,
00120 const char *Arg,
00122 ...);
00123
00124
00138 EXPORT_SPEC IXML_Document *UpnpMakeActionResponse(
00140 const char *ActionName,
00142 const char *ServType,
00144 int NumArg,
00146 const char *Arg,
00148 ...);
00149
00150
00168 EXPORT_SPEC int UpnpAddToAction(
00170 IXML_Document **ActionDoc,
00172 const char *ActionName,
00174 const char *ServType,
00176 const char *ArgName,
00178 const char *ArgVal);
00179
00180
00199 EXPORT_SPEC int UpnpAddToActionResponse(
00201 IXML_Document **ActionResponse,
00203 const char *ActionName,
00205 const char *ServType,
00207 const char *ArgName,
00209 const char *ArgVal);
00210
00211
00220 EXPORT_SPEC IXML_Document *UpnpCreatePropertySet(
00222 int NumArg,
00224 const char *Arg,
00226 ...);
00227
00228
00244 EXPORT_SPEC int UpnpAddToPropertySet(
00246 IXML_Document **PropSet,
00248 const char *ArgName,
00250 const char *ArgVal);
00251
00252
00253 #ifdef __cplusplus
00254 }
00255 #endif
00256
00257
00261 #endif
00262
00263
00264 #endif
00265