rpm
5.4.15
|
Job queue and buffer pool management. More...
#include <stdio.h>
#include <sys/time.h>
Go to the source code of this file.
Typedefs | |
typedef struct rpmzLog_s * | rpmzLog |
trace log pointer More... | |
Functions | |
rpmzLog | rpmzLogLink (rpmzLog zlog) |
Reference the log data. More... | |
rpmzLog | rpmzLogNew (struct timeval *tv) |
Set up log (call from main thread before other threads launched). More... | |
void | rpmzLogAdd (rpmzLog zlog, const char *fmt,...) |
Add entry to trace log. More... | |
rpmzLog | rpmzLogFree (rpmzLog zlog) |
Release a reference to the log data. More... | |
rpmzLog | rpmzLogDump (rpmzLog zlog, FILE *fp) |
Show entries until no more, free log. More... | |
Job queue and buffer pool management.
Definition in file rpmzlog.h.
void rpmzLogAdd | ( | rpmzLog | zlog, |
const char * | fmt, | ||
... | |||
) |
Add entry to trace log.
Definition at line 101 of file rpmzlog.c.
References _RPMZLOG_MAXMSG, vsnprintf(), xmalloc, yarnPossess(), and yarnRelease().
Show entries until no more, free log.
Definition at line 222 of file rpmzlog.c.
References rpmzLogFree(), and rpmzMsgShow().
Release a reference to the log data.
Definition at line 176 of file rpmzlog.c.
References _free(), _rpmzlog_debug, BY, yarnFreeLock(), yarnPeekLock(), yarnPossess(), and yarnTwist().
Referenced by rpmzLogDump().
Reference the log data.
Definition at line 67 of file rpmzlog.c.
References _rpmzlog_debug, BY, yarnPeekLock(), yarnPossess(), and yarnTwist().
Referenced by rpmzLogNew().
rpmzLog rpmzLogNew | ( | struct timeval * | tv | ) |
Set up log (call from main thread before other threads launched).
Definition at line 81 of file rpmzlog.c.
References rpmzLogLink(), xcalloc(), and yarnNewLock().