/*
* 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) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ifndef _RAMDATA_H
#define _RAMDATA_H
#ifdef __cplusplus
extern "C" {
#endif
/*
*/
#include <errno.h>
#include <signal.h>
#include <synch.h>
#include <thread.h>
#include <thread_db.h>
#include "htbl.h"
/*
* Set type for possible filedescriptors.
*/
typedef struct {
} fileset_t;
/*
* Previous stop state enumeration (used by signalled() and requested()).
*/
/*
* Simple convenience.
*/
#ifdef TRUE
#endif
#ifdef FALSE
#endif
#define FALSE 0
/*
* Definition of private data. See get_private().
*/
typedef struct private {
struct { /* remembered parameters for make_pname() */
int ff;
int lf;
} pparam;
} private_t;
extern char *command; /* name of command ("truss") */
extern int interrupt; /* interrupt signal was received */
extern int sigusr1; /* received SIGUSR1 (release process) */
extern int sfd; /* file descriptor to shared tmp file */
extern int istty; /* TRUE iff output is a tty */
extern int Fflag; /* option flags from getopt() */
extern int fflag;
extern int cflag;
extern int aflag;
extern int eflag;
extern int iflag;
extern int lflag;
extern int tflag;
extern int pflag;
extern int sflag;
extern int mflag;
extern int oflag;
extern int vflag;
extern int xflag;
extern int hflag;
extern int dflag;
extern int Dflag;
extern int Eflag;
extern int Tflag;
extern int Sflag;
extern int Mflag;
extern int truss_nlwp; /* number of truss lwps */
extern int truss_maxlwp; /* number of entries in truss_lwpid */
struct syscount {
};
};
struct global_psinfo {
};
};
};
};
struct callstack {
struct {
};
extern int not_consist; /* used while rebuilding breakpoint table */
extern int delete_library; /* used while rebuilding breakpoint table */
extern int descendent; /* TRUE iff descendent of top level */
extern int is_vfork_child; /* TRUE iff process is a vfork()ed child */
extern int ngrab; /* number of pid's that were grabbed */
extern int data_model; /* PR_MODEL_LP64 or PR_MODEL_ILP32 */
extern long pagesize; /* bytes per page; should be per-process */
extern int exit_called; /* _exit() syscall was seen */
extern int leave_hung; /* if TRUE, leave the process hung */
#ifdef __cplusplus
}
#endif
#endif /* _RAMDATA_H */