Mercurial > trustbridge
view common/util.h @ 322:e30c9fee111a
Typo in debug output.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Mon, 07 Apr 2014 13:11:48 +0200 |
parents | 824ef90a6721 |
children | 31ba7ed4d50f |
line wrap: on
line source
#ifndef COMMON_UTIL_H #define COMMON_UTIL_H /* @file util.h * @brief The usual useful stuff that fit nowhere else */ #include <stdbool.h> #ifdef WIN32 /**@brief Check if the current process is running with elevated privileges. * * Elevates the current process token to check if it is marked as elevated. * Uses TokenElevation. * * @returns true if the current process is elevated.*/ bool is_elevated(); #endif #endif // COMMON_UTIL_H