dpkg 1.22.7-3-g89f48
|
#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <time.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdarg.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/fdio.h>
Data Structures | |
struct | pipef |
Functions | |
void | log_message (const char *fmt,...) |
void | statusfd_add (int fd) |
void | statusfd_send (const char *fmt,...) |
Variables | |
const char * | log_file = NULL |
void log_message | ( | const char * | fmt, |
... | |||
) |
References _, args, varbuf::buf, fd_write(), log_file, notice(), setcloexec(), varbuf::used, varbuf_add_char(), varbuf_set_str, and varbuf_vprintf().
Referenced by archivefiles(), log_action(), modstatdb_note(), and packages().
void statusfd_add | ( | int | fd | ) |
References _, pipef::fd, pipef::next, nfmalloc(), and setcloexec().
void statusfd_send | ( | const char * | fmt, |
... | |||
) |
References _, args, varbuf::buf, pipef::fd, fd_write(), pipef::next, ohshite(), varbuf::used, varbuf_add_char(), varbuf_map_char(), varbuf_reset(), and varbuf_vprintf().
Referenced by log_action(), modstatdb_note(), print_error_perarchive(), and print_error_perpackage().
const char* log_file = NULL |
Referenced by log_message(), and main().