1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/*
* Copyright (C) 1995,1996,1997 Lars Fenneberg
*
* See the file COPYRIGHT for the respective terms and conditions.
* If the file is missing contact me at lf@elemental.net
* and I'll send you a copy.
*
*/
#include <config.h>
#include <includes.h>
#include <radcli/radcli.h>
unsigned int radcli_debug = 0;
void rc_setdebug(int debug)
{
radcli_debug = debug;
}
/**
* @defgroup misc-api Miscellaneous API
* @brief Miscellaneous functions
*
* @{
*/
/** Opens system log
*
* This function is a wrapper over openlog() in
* systems which support it. Don't call it if you already
* call openlog().
*
* @param ident the name of the program.
*/
void rc_openlog(char const *ident)
{
#ifndef _MSC_VER /* TODO: Fix me */
openlog(ident, LOG_PID, RC_LOG_FACILITY);
#endif
}
/** @} */
|