/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Copyright (c) 1988 AT&T
* All Rights Reserved
*
*/
#ifndef _INC_H
#define _INC_H
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <time.h>
#include <locale.h>
#include <ar.h>
#include <libelf.h>
#include "sgs.h"
#include "msg.h"
/*
*/
struct arfile {
int ar_uid;
int ar_gid;
unsigned long ar_mode;
char *ar_longname;
char *ar_rawname;
char *ar_pathname;
char *ar_contents;
unsigned char ar_flag;
};
/*
* Command function. There is one of these for each operation
* ar can perform (r, x, etc).
*/
struct cmd_info;
/* Command information block */
typedef struct cmd_info {
} Cmd_info;
/*
* options (Cmd_info opt_flgs)
*/
/*
* Member flags (ARFILE ar_flag)
*/
/*
* Function prototypes
*/
extern void establish_sighandler(void (*)());
extern char *trim(char *);
#endif /* _INC_H */