#include "file.h"
#include "magic.h"
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include "tar.h"
Include dependency graph for is_tar.c:
Go to the source code of this file.
Defines | |
#define | isodigit(c) ( ((c) >= '0') && ((c) <= '7') ) |
Functions | |
static const char * | rcsid (const char *p) |
static int | is_tar (const unsigned char *, size_t) |
static int | from_oct (int, const char *) |
int | file_is_tar (struct magic_set *ms, const unsigned char *buf, size_t nbytes) |
|
Definition at line 51 of file is_tar.c. Referenced by from_oct(). |
|
Definition at line 59 of file is_tar.c. References file_printf(), is_tar(), and MAGIC_MIME. Referenced by file_buffer(). |
|
Definition at line 139 of file is_tar.c. References isodigit. Referenced by is_tar(). |
|
Definition at line 94 of file is_tar.c. References record::header::chksum, from_oct(), and record::header. Referenced by file_is_tar(). |
|
|