

/**************************************************************************//**
 *
 *
 * @file
 * @brief AIM Syslog PVS
 *
 * @addtogroup aim-pvs-syslog
 * @{
 *
 *****************************************************************************/
#ifndef __AIM_PVS_SYSLOG_H__
#define __AIM_PVS_SYSLOG_H__

#include <AIM/aim_config.h>

#if AIM_CONFIG_INCLUDE_PVS_SYSLOG == 1

#include <AIM/aim_pvs.h>
#include <syslog.h>

/**
 * @brief Open the syslog PVS.
 * @param ident ident -- see openlog()
 * @param option option -- see openlog()
 * @param facility facility -- see openlog()
 *
 * @note Only one syslog PVS can be created at a time.
 */
aim_pvs_t* aim_pvs_syslog_open(const char* ident, int option, int facility);


/**
 * @brief Get the current syslog pvs.
 * @brief If it hasn't been created yet, the defaults will be used.
 */
aim_pvs_t* aim_pvs_syslog_get(void);


#endif /* AIM_CONFIG_INCLUDE_PVS_SYSLOG */
#endif /* __AIM_PVS_SYSLOG_H__ */
/*@}*/



