1 /***************************************************************************
2 * Copyright (C) 2008 by Intra2net AG - Thomas Jarosch *
3 * thomas.jarosch@intra2net.com *
4 * http://www.intra2net.com *
5 ***************************************************************************/
13 /// Collection of functions for daemons
20 bool drop_root_privileges(const std::string &username,
21 const std::string &group, bool get_group_from_user=false);
23 bool pid_of(const std::string& name, std::vector< pid_t >& result);