#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "samp.h"
Defines | |
#define | SZ_FMTSPEC 25 |
#define | EOS 0 |
#define | T_INT 0 |
#define | T_DOUBLE 1 |
#define | T_CHAR 2 |
Functions | |
void | sampLog (handle_t handle, char *format,...) |
SAMP message logger. | |
void | sampTrace (handle_t handle, char *format,...) |
SAMP tracer. |
SAMPLOG.C -- SAMP trace and logging interface.
void sampLog | ( | handle_t | handle, | |
char * | format, | |||
... | ||||
) |
SAMP message logger.
SAMPLOG -- SAMP message logger.
handle | SAMP handle | |
format | message format string |
References Samp::debug, and Samp::logfd.
void sampTrace | ( | handle_t | handle, | |
char * | format, | |||
... | ||||
) |
SAMP tracer.
SAMPTRACE -- SAMP tracer.
handle | SAMP handle | |
format | message format string |
References Samp::trace.
Referenced by samp_Metadata(), sampClose(), and sampInit().