pax-ar.c revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1987-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* pax ar library format
*/
#include "format.h"
#include <ardir.h>
typedef struct Ar_s
{
} Ar_t;
static int
ar_getprologue(Pax_t* pax, Format_t* fp, register Archive_t* ap, register File_t* f, unsigned char* buf, size_t size)
{
return 0;
{
nospace();
return -1;
}
return 1;
}
static int
{
if (ar)
{
}
return 0;
}
static int
{
{
}
f->linkpath = 0;
f->uidname = 0;
f->gidname = 0;
return 1;
}
static int
{
{
return -1;
}
if (wfd >= 0)
{
{
return -1;
}
}
return 1;
}
static int
{
return 1;
}
{
"ar",
"library",
"object library archive",
0,
0,
0,
2,
0,
0,
};