tarfix  1.0
About: Tools for processing damaged tar archive files
  Fossies Dox: tarfix-1.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

 All Data Structures Files Functions Variables Macros
tarl.c File Reference
#include <stdio.h>
Include dependency graph for tarl.c:

Go to the source code of this file.

Data Structures

struct  matches
 

Macros

#define NAMSIZ   100
 

Functions

int istar (char *block)
 
 main ()
 
char * readblock (int desc)
 

Variables

struct matches matches []
 
char buf [10240]
 
int bad
 
int nleft = 0
 
int whichnow
 

Macro Definition Documentation

#define NAMSIZ   100

Definition at line 3 of file tarl.c.

Function Documentation

int istar ( char *  block)

Definition at line 21 of file tarl.c.

References matches::offset.

main ( )

Definition at line 37 of file tarl.c.

References bad, istar(), readblock(), and readblock().

char* readblock ( int  desc)

Definition at line 55 of file tarl.c.

References bad, bad, bad, buf, buf, buf, buf, nleft, nleft, nleft, whichnow, and whichnow.

Variable Documentation

int bad

Definition at line 33 of file tarl.c.

char buf[10240]

Definition at line 32 of file tarl.c.

struct matches matches[]
Initial value:
= {
NAMSIZ+6, ' ',
NAMSIZ+7, '\0',
NAMSIZ+8+6, ' ',
NAMSIZ+8+7, '\0',
NAMSIZ+16+6, ' ',
NAMSIZ+16+7, '\0',
NAMSIZ+24+11, ' ',
NAMSIZ+36+11, ' ',
NAMSIZ+48+6, '\0',
0, 0,
}
int nleft = 0

Definition at line 34 of file tarl.c.

int whichnow

Definition at line 35 of file tarl.c.