extern.h (253360) | extern.h (288306) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)extern.h 8.1 (Berkeley) 6/6/93 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)extern.h 8.1 (Berkeley) 6/6/93 |
30 * $FreeBSD: head/usr.bin/systat/extern.h 253360 2013-07-15 12:15:14Z glebius $ | 30 * $FreeBSD: head/usr.bin/systat/extern.h 288306 2015-09-27 09:15:54Z mr $ |
31 */ 32 33#include <sys/cdefs.h> 34#include <fcntl.h> 35#include <kvm.h> 36 37extern struct cmdtab *curcmd; 38extern struct cmdtab cmdtab[]; --- 119 unchanged lines hidden (view full) --- 158void showkre(void); 159void shownetstat(void); 160void showpigs(void); 161void showswap(void); 162void showtcp(void); 163void status(void); 164void suspend(int); 165char *sysctl_dynread(const char *, size_t *); | 31 */ 32 33#include <sys/cdefs.h> 34#include <fcntl.h> 35#include <kvm.h> 36 37extern struct cmdtab *curcmd; 38extern struct cmdtab cmdtab[]; --- 119 unchanged lines hidden (view full) --- 158void showkre(void); 159void shownetstat(void); 160void showpigs(void); 161void showswap(void); 162void showtcp(void); 163void status(void); 164void suspend(int); 165char *sysctl_dynread(const char *, size_t *); |
166 167#define SYSTAT_CMD(name) \ 168 void close ## name(WINDOW *); \ 169 void fetch ## name(void); \ 170 int init ## name(void); \ 171 void label ## name(void); \ 172 WINDOW *open ## name(void); \ 173 void reset ## name(void); \ 174 void show ## name(void) 175 176SYSTAT_CMD( zarc ); |
|