UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches

Get some system dependent information. More...

#include <sysdep.hpp>
#include <UPnPsdk/port_sock.hpp>
+ Include dependency graph for sysdep.cpp:

Go to the source code of this file.

Functions

void get_ieee_node_identifier (uuid_node_t *node)
 System dependent call to get IEEE node identifier.
 
void get_system_time (uuid_time_t *uuid_time)
 System dependent call to get the current system time.
 
void get_random_info (unsigned char seed[16])
 Get random information.
 

Detailed Description

Get some system dependent information.

Definition in file sysdep.cpp.

Macro Definition Documentation

◆ _CRT_RAND_S

#define _CRT_RAND_S

Definition at line 30 of file sysdep.cpp.

Function Documentation

◆ get_ieee_node_identifier()

void get_ieee_node_identifier ( uuid_node_t node)

System dependent call to get IEEE node identifier.

This sample implementation generates a random node ID.

Definition at line 41 of file sysdep.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_system_time()

void get_system_time ( uuid_time_t uuid_time)

System dependent call to get the current system time.

Returned as 100ns ticks since Oct 15, 1582, but resolution may be less than 100ns.

Definition at line 57 of file sysdep.cpp.

+ Here is the caller graph for this function:

◆ get_random_info()

void get_random_info ( unsigned char  seed[16])

Get random information.

Todo:
Optimize function. –Ingo

Definition at line 74 of file sysdep.cpp.

+ Here is the caller graph for this function: