file/src/print.c File Reference

#include "file.h"
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>

Go to the source code of this file.

Defines

#define SZOF(a)   (sizeof(a) / sizeof(a[0]))

Functions

static const char * rcsid (const char *p)
protected void file_mdump (struct magic *m)
protected void file_magwarn (struct magic_set *ms, const char *f,...)
protected const char * file_fmttime (uint32_t v, int local)

Define Documentation

#define SZOF (  )     (sizeof(a) / sizeof(a[0]))

Definition at line 47 of file print.c.

Referenced by file_mdump().


Function Documentation

protected const char* file_fmttime ( uint32_t  v,
int  local 
)

Definition at line 157 of file print.c.

Referenced by file_mdump(), and mprint().

protected void file_magwarn ( struct magic_set ms,
const char *  f,
  ... 
)

Definition at line 141 of file print.c.

References magic_set::file, and magic_set::line.

Referenced by apprentice_1(), check_format(), file_signextend(), getvalue(), and parse().

protected void file_mdump ( struct magic m  ) 
static const char* rcsid ( const char *  p  )  [static]

Definition at line 44 of file print.c.


Generated on 8 Jun 2012 for rpm by  doxygen 1.6.1