X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fdaemonfunc.hpp;fp=src%2Fdaemonfunc.hpp;h=f5b85cf7ee9f48323602a83ba9d1d0b40b04c6f8;hb=478afd5eb545d5ae0ecbfc2c9f216111f559fefe;hp=f6f77a3f0d7f6b80d46d95df558adaa74f9df423;hpb=4b497d721ebe04fc39e6df337600509542bcbfe0;p=libi2ncommon diff --git a/src/daemonfunc.hpp b/src/daemonfunc.hpp index f6f77a3..f5b85cf 100644 --- a/src/daemonfunc.hpp +++ b/src/daemonfunc.hpp @@ -38,6 +38,8 @@ bool drop_root_privileges(const std::string &username, const std::string &group, bool get_group_from_user=false); bool pid_of(const std::string& name, std::vector< pid_t >& result); + +pid_t create_session (void); } }