diff options
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/targeting/util.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/targeting/util.H b/src/include/usr/targeting/util.H index d2bce8c66..4af5500a5 100644 --- a/src/include/usr/targeting/util.H +++ b/src/include/usr/targeting/util.H @@ -29,6 +29,7 @@ namespace TARGETING { +class Target; /** * @brief Checks to see if we are running in a hardware simulation @@ -38,6 +39,12 @@ namespace TARGETING */ bool is_vpo( void ); +/** + * @brief Safely fetch the HUID of a Target + * @param[in] Pointer to a Target + * @return HUID of Target, Zero if NULL, 0xFFFFFFFF if Sentinel + */ +uint32_t get_huid( const Target* i_target ); } |