OSyslog.cc File Reference

#include <OPENR/OSyslog.h>
#include <stdio.h>
#include <stdarg.h>
#include <pthread.h>
#include "ModuleData.h"

Go to the source code of this file.

Defines

#define LOCK()   pthread_mutex_lock(&mutex)
#define UNLOCK()   pthread_mutex_unlock(&mutex)

Functions

OStatus osyslog (OSyslogPriority priority, const char *format,...)
OStatus osysprint (const char *format,...)

Variables

pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER


Define Documentation

 
#define LOCK  )     pthread_mutex_lock(&mutex)
 

Definition at line 29 of file OSyslog.cc.

 
#define UNLOCK  )     pthread_mutex_unlock(&mutex)
 

Definition at line 30 of file OSyslog.cc.


Function Documentation

OStatus osyslog OSyslogPriority  priority,
const char *  format,
  ...
 

Definition at line 33 of file OSyslog.cc.

References LOCK, MOD_DATA, and UNLOCK.

OStatus osysprint const char *  format,
  ...
 

Definition at line 48 of file OSyslog.cc.

References LOCK, and UNLOCK.


Variable Documentation

pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER [static]
 

Definition at line 28 of file OSyslog.cc.


Generated on Sun Dec 2 23:04:32 2007 for openSDK by  doxygen 1.3.9.1