Add a dummy trace file

For now it is enough to have a fixed file.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
This commit is contained in:
Karsten Keil 2011-11-28 22:55:35 +01:00
parent 696a2eafe6
commit c051304616
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@
#define RCAPI_AUTH_USER_REQ CAPICMD(0xff, 0x00)
#define RCAPI_AUTH_USER_CONF CAPICMD(0xff, 0x01)
/* add a fixed trace file for now */
static char *rcapiTraceFile = "/tmp/rcapiTraceFile";
static char *getTraceFile(void)
{
return rcapiTraceFile;
}
/**
* \brief Create a socket to hostname:port
* \return socket number