|
libUPnP
1.6.17
|
#include "upnp.h"

Go to the source code of this file.
Macros | |
| #define | IN |
| #define | OUT |
| #define | INOUT |
| #define | GEMD_OUT_OF_MEMORY -1 |
| #define | EVENT_TIMEDOUT -2 |
| #define | EVENT_TERMINATE -3 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | ERROR_BUFFER_LEN (size_t)256 |
| #define | max(a, b) (((a)>(b))? (a):(b)) |
| #define | min(a, b) (((a)<(b))? (a):(b)) |
Functions | |
| void | linecopy (char dest[LINE_SIZE], const char *src) |
| Copy no of bytes spcified by the LINE_SIZE constant, from the source buffer. Null terminate the destination buffer. More... | |
| void | namecopy (char dest[NAME_SIZE], const char *src) |
| Copy no of bytes spcified by the NAME_SIZE constant, from the source buffer. Null terminate the destination buffer. More... | |
| void | linecopylen (char dest[LINE_SIZE], const char *src, size_t srclen) |
| Determine if the srclen passed in paramter is less than the permitted LINE_SIZE. If it is use the passed parameter, if not use the permitted LINE_SIZE as the length parameter. More... | |
| #define TRUE 1 |
boolean type in C.
Referenced by genaUnregisterClient(), get_alias(), get_content_type(), get_file_info(), has_xml_content_type(), http_RecvMessage(), http_RecvPostMessage(), isDuplicateAttribute(), ixmlElement_findAttributeNode(), ixmlLoadDocumentEx(), ixmlNode_allowChildren(), ixmlNode_appendChild(), ixmlNode_cloneAttrDirect(), ixmlNode_hasAttributes(), ixmlNode_insertBefore(), ixmlNode_isAncestor(), ixmlNode_replaceChild(), Parser_ElementPrefixDefined(), Parser_eTagVerification(), Parser_getNextNode(), Parser_getNextToken(), Parser_hasDefaultNamespace(), Parser_isCharInTable(), Parser_isNameChar(), Parser_isValidXmlName(), Parser_parseDocument(), Parser_processAttributeName(), Parser_processCDSect(), Parser_processElementName(), Parser_processETag(), Parser_skipMisc(), process_request(), sock_read(), sock_read_write(), ssdp_handle_ctrlpt_msg(), start_event_handler(), UpnpEnableWebserver(), and valid_ssdp_msg().
| void linecopy | ( | char | dest[LINE_SIZE], |
| const char * | src | ||
| ) |
Copy no of bytes spcified by the LINE_SIZE constant, from the source buffer. Null terminate the destination buffer.
| [out] | dest | output buffer. |
| [in] | src | input buffer. |
Referenced by get_var_name(), handle_invoke_action(), and handle_query_variable().
| void linecopylen | ( | char | dest[LINE_SIZE], |
| const char * | src, | ||
| size_t | srclen | ||
| ) |
Determine if the srclen passed in paramter is less than the permitted LINE_SIZE. If it is use the passed parameter, if not use the permitted LINE_SIZE as the length parameter.
Copy no of bytes spcified by the LINE_SIZE constant, from the source buffer. Null terminate the destination buffer.
| [out] | dest | output buffer. |
| [in] | src | input buffer. |
| [in] | srclen | bytes to be copied. |
Referenced by ssdp_handle_ctrlpt_msg().
| void namecopy | ( | char | dest[NAME_SIZE], |
| const char * | src | ||
| ) |
Copy no of bytes spcified by the NAME_SIZE constant, from the source buffer. Null terminate the destination buffer.
| [out] | dest | output buffer. |
| [in] | src | input buffer. |
Referenced by get_device_info(), handle_invoke_action(), and handle_query_variable().
1.8.3.1