129759Swollman/* 229759Swollman * Copyright 1997 Massachusetts Institute of Technology 329759Swollman * 429759Swollman * Permission to use, copy, modify, and distribute this software and 529759Swollman * its documentation for any purpose and without fee is hereby 629759Swollman * granted, provided that both the above copyright notice and this 729759Swollman * permission notice appear in all copies, that both the above 829759Swollman * copyright notice and this permission notice appear in all 929759Swollman * supporting documentation, and that the name of M.I.T. not be used 1029759Swollman * in advertising or publicity pertaining to distribution of the 1129759Swollman * software without specific, written prior permission. M.I.T. makes 1229759Swollman * no representations about the suitability of this software for any 1329759Swollman * purpose. It is provided "as is" without express or implied 1429759Swollman * warranty. 15226396Sed * 1629759Swollman * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 1729759Swollman * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 1829759Swollman * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1929759Swollman * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 2029759Swollman * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2129759Swollman * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2229759Swollman * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2329759Swollman * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2429759Swollman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2529759Swollman * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2629759Swollman * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2729759Swollman * SUCH DAMAGE. 2829759Swollman * 2950477Speter * $FreeBSD: releng/10.3/usr.bin/systat/mode.h 226396 2011-10-15 13:20:36Z ed $ 3029759Swollman */ 3129759Swollman 3229759Swollman/* 3329759Swollman * mode.h - mechanisms for dealing with SGI-style modal displays. 3429759Swollman */ 3529759Swollman 3629759Swollman#ifndef MODE_H 3729759Swollman#define MODE_H 1 3829759Swollman 3929759Swollmanenum mode { display_RATE, display_DELTA, display_SINCE, display_ABS }; 4029759Swollman 4187715Smarkmextern int cmdmode(const char *cmd, const char *args); 4229759Swollmanextern enum mode currentmode; 4329759Swollman 4429759Swollman#endif /* MODE_H */ 45