#ifndef _PROCX_H_
#define _PROCX_H_

#include <sys/types.h>
#include <sys/time.h>
#include <sys/proc.h>

#define MAXPROCX	128
#define SPROCX		0x1000000	/* this flag not used by SUNOS 4.1, */
					/* but presumably will be later */

#ifdef MEMLOCK
#include <rciext/memlock.h>
#endif

struct procx {
	struct procx *next;
	struct procx *prev;
#ifdef MEMLOCK	
	struct locklist px_locklist;	
#endif
  	int px_swaplock;
  	int px_flags;
	struct proc *px_proc;
 };

extern struct procx *procx_get();
extern struct procx *procx_find();

#endif
