tip.h (92922) | tip.h (113163) |
---|---|
1/* $OpenBSD: tip.h,v 1.11 2001/09/09 19:30:49 millert Exp $ */ 2/* $NetBSD: tip.h,v 1.7 1997/04/20 00:02:46 mellon Exp $ */ | 1/* $OpenBSD: tip.h,v 1.11 2001/09/09 19:30:49 millert Exp $ */ 2/* $NetBSD: tip.h,v 1.7 1997/04/20 00:02:46 mellon Exp $ */ |
3/* $FreeBSD: head/usr.bin/tip/tip/tip.h 92922 2002-03-22 01:42:45Z imp $ */ | 3/* $FreeBSD: head/usr.bin/tip/tip/tip.h 113163 2003-04-06 08:30:25Z imp $ */ |
4 5/* 6 * Copyright (c) 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 156 unchanged lines hidden (view full) --- 168 * at the begining of a line (as defined by the eolmarks variable). 169*/ 170 171typedef 172 struct { 173 char e_char; /* char to match on */ 174 char e_flags; /* experimental, priviledged */ 175 const char *e_help; /* help string */ | 4 5/* 6 * Copyright (c) 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 156 unchanged lines hidden (view full) --- 168 * at the begining of a line (as defined by the eolmarks variable). 169*/ 170 171typedef 172 struct { 173 char e_char; /* char to match on */ 174 char e_flags; /* experimental, priviledged */ 175 const char *e_help; /* help string */ |
176 int (*e_func)(char); /* command */ | 176 void (*e_func)(char); /* command */ |
177 } 178 esctable_t; 179 180#define NORM 00 /* normal protection, execute anyone */ 181#define EXP 01 /* experimental, mark it with a `*' on help */ 182#define PRIV 02 /* priviledged, root execute only */ 183 184extern int vflag; /* verbose during reading of .tiprc file */ --- 140 unchanged lines hidden (view full) --- 325void cour_disconnect(void); 326void cour_abort(void); 327int t3000_dialer(char *, char *); 328void t3000_disconnect(void); 329void t3000_abort(void); 330int v831_dialer(char *, char *); 331void v831_disconnect(void); 332void v831_abort(void); | 177 } 178 esctable_t; 179 180#define NORM 00 /* normal protection, execute anyone */ 181#define EXP 01 /* experimental, mark it with a `*' on help */ 182#define PRIV 02 /* priviledged, root execute only */ 183 184extern int vflag; /* verbose during reading of .tiprc file */ --- 140 unchanged lines hidden (view full) --- 325void cour_disconnect(void); 326void cour_abort(void); 327int t3000_dialer(char *, char *); 328void t3000_disconnect(void); 329void t3000_abort(void); 330int v831_dialer(char *, char *); 331void v831_disconnect(void); 332void v831_abort(void); |
333 334void shell(char c), getfl(char c), sendfile(char c), chdirectory(char c); 335void finish(char c), help(char c), pipefile(char c), pipeout(char c); 336void consh(char c), variable(char c), cu_take(char c), cu_put(char c); 337void dollar(char c), genbrk(char c), suspend(char c), listvariables(char c); |
|