libUPnP 1.14.31
UpnpGlobal.h File Reference

Defines constants that for some reason are not defined on some systems. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UPNP_EXPORT_SPEC
 Export functions on WIN32 DLLs.
#define UPNP_INLINE   inline
 Declares an inline function.
#define PRIzd   "zd"
 Supply the PRId64 printf() macro.
#define PRIzu   "zu"
#define PRIzx   "zx"

Detailed Description

Defines constants that for some reason are not defined on some systems.

Macro Definition Documentation

◆ PRIzd

#define PRIzd   "zd"

Supply the PRId64 printf() macro.

MSVC still does not know about this.

Supply the PRIz* printf() macros.

These macros were invented so that we can live a little longer with MSVC lack of C99. "z" is the correct printf() size specifier for the size_t type.

Referenced by http_SendMessage().

◆ UPNP_EXPORT_SPEC

◆ UPNP_INLINE

#define UPNP_INLINE   inline

Declares an inline function.

Surprisingly, there are some compilers that do not understand the inline keyword. This definition makes the use of this keyword portable to these systems.

Referenced by get_alias(), get_content_type(), glob_alias_init(), handle_query_variable(), is_valid_alias(), media_list_init(), notify_send_and_recv(), search_extension(), send_action_response(), send_var_query_response(), SetSoapCallback(), sock_close(), start_event_handler(), and valid_ssdp_msg().