#ifndef ls_list_h_20030523
#define ls_list_h_20030523

#include <tar.h>
#include "strob.h"

#define PAX_DIR        DIRTYPE
#define PAX_CHR        CHRTYPE
#define PAX_BLK        BLKTYPE     
#define PAX_REG        REGTYPE    
#define PAX_SLK        SYMTYPE   
#define PAX_SCK        REGTYPE  /* Not used */
#define PAX_FIF        FIFOTYPE  
#define PAX_HLK        LNKTYPE 
#define PAX_HRG        LNKTYPE 
#define PAX_CTG        REGTYPE   /* Not used */

void
ls_list(char * name, char * ln_name, struct stat * sbp,
	time_t now, FILE *fp, char * uname, char * gname, int type, int vflag);
void
ls_list_to_string(char * name, char * ln_name, struct stat * sbp,
	time_t now, STROB * buf, char * uname, char * gname, int type, int vflag);
void swbis_strmode (mode_t mode, char *p);

#endif
