/src/l.h
http://bdremote-ng.googlecode.com/ · C Header · 53 lines · 7 code · 10 blank · 36 comment · 0 complexity · 3ee30be2fc8ff7c16021c1b9e3391777 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
- *
- */
- /** @defgroup log Logging */
- /*@{*/
- /*! \file l.h
- \brief Logging.
- Support function to setup logging to a file/stdout.
- */
- #ifndef BD_L_H
- #define BD_L_H
- #include <bdrcfg.h>
- /** Set the default log - stdout. */
- void setDefaultLog();
- /** Set logging to the file specified in the config. If no file is
- specified, do nothing. */
- int setLogFile(const configuration* _config);
- /** Close the log file previously opened for reading. If none was
- opened, do nothing.*/
- void closeLogFile();
- #endif /* BD_L_H */
- /*@}*/