mode.h revision 50477
114002Swosch/*
214002Swosch * Copyright 1997 Massachusetts Institute of Technology
314002Swosch *
450477Speter * Permission to use, copy, modify, and distribute this software and
514002Swosch * its documentation for any purpose and without fee is hereby
614002Swosch * granted, provided that both the above copyright notice and this
778047Sache * permission notice appear in all copies, that both the above
878047Sache * copyright notice and this permission notice appear in all
914002Swosch * supporting documentation, and that the name of M.I.T. not be used
1078047Sache * in advertising or publicity pertaining to distribution of the
1115714Sache * software without specific, written prior permission.  M.I.T. makes
1214002Swosch * no representations about the suitability of this software for any
1314002Swosch * purpose.  It is provided "as is" without express or implied
1414002Swosch * warranty.
1514002Swosch *
1614002Swosch * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''.  M.I.T. DISCLAIMS
1714002Swosch * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
1814002Swosch * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1914002Swosch * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
2014002Swosch * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2114002Swosch * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2214002Swosch * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
2314002Swosch * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2414002Swosch * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2514002Swosch * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2614002Swosch * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2714002Swosch * SUCH DAMAGE.
2814002Swosch *
2914002Swosch * $FreeBSD: head/usr.bin/systat/mode.h 50477 1999-08-28 01:08:13Z peter $
3014002Swosch */
3114002Swosch
3214002Swosch/*
3314002Swosch * mode.h - mechanisms for dealing with SGI-style modal displays.
3430734Swosch */
3530734Swosch
3614002Swosch#ifndef MODE_H
3778047Sache#define	MODE_H	1
38
39enum mode { display_RATE, display_DELTA, display_SINCE, display_ABS };
40
41extern	int		cmdmode(char *cmd, char *args);
42extern	enum mode	currentmode;
43
44#endif /* MODE_H */
45