/src/ug.h
http://bdremote-ng.googlecode.com/ · C Header · 49 lines · 5 code · 7 blank · 37 comment · 0 complexity · bbb911144ffc70a176de819cd5f0b0be MD5 · raw file
- /*
- * bdremoteng - helper daemon for Sony(R) BD Remote Control
- * Based on bdremoted, written by Anton Starikov <antst@mail.ru>.
- *
- * Copyright (C) 2009 Michael Wojciechowski <wojci@wojci.dk>
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
- #ifndef BD_UG_H
- #define BD_UG_H
- /** @defgroup UID UID/GID Interface.
- * This group contains a function used to change the UID/GID of the
- * application to one with less priviledges.
- * @{
- */
- /*! \file ug.h
- \brief Change UID/GID.
- This file contains a function used to change UID/GID.
- */
- /** Change to the UID:GID corresponding to the provided user:group. */
- int changeUIDAndGID(const char* _user,
- const char* _group);
- #endif /* BD_UG_H */
- /*@}*/