2010-03-08 04:55:21 -06:00
|
|
|
/*
|
|
|
|
* Copyright (C) 1992, Board of Trustees of the University of Illinois.
|
|
|
|
*
|
|
|
|
* Permission is granted to copy and distribute source with out fee.
|
|
|
|
* Commercialization of this product requires prior licensing
|
|
|
|
* from the National Center for Supercomputing Applications of the
|
2013-03-09 18:59:42 -06:00
|
|
|
* University of Illinois. Commercialization includes the integration of this
|
|
|
|
* code in part or whole into a product for resale. Free distribution of
|
|
|
|
* unmodified source and use of NCSA software is not considered
|
2010-03-08 04:55:21 -06:00
|
|
|
* commercialization.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/* $Id: netP.h,v 1.1.1.1 1995/01/11 00:03:39 alanb Exp $ */
|
|
|
|
|
|
|
|
|
|
|
|
#include "net.h"
|
|
|
|
|
|
|
|
/****************************/
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
float load1;
|
|
|
|
float load5;
|
|
|
|
float load15;
|
|
|
|
int numUsers;
|
|
|
|
} ExecHostStatusReturn;
|
|
|
|
|
|
|
|
typedef union {
|
2013-03-09 18:59:42 -06:00
|
|
|
ExecHostStatusReturn hsReturn;
|
2010-03-08 04:55:21 -06:00
|
|
|
} ExecRetInfo;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char *id;
|
|
|
|
char *retAddress;
|
|
|
|
char *authentication;
|
|
|
|
char *timeStamp;
|
|
|
|
int type;
|
|
|
|
ExecRetInfo info; /* addition info depending on type */
|
|
|
|
} Exec;
|
|
|
|
/****************************/
|
|
|
|
|
|
|
|
static void NetFreeDataCB PARAMS((GenericPtr data, caddr_t cbData));
|