command.h (29696) | command.h (29840) |
---|---|
1/* 2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 3 * 4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 5 * 6 * Redistribution and use in source and binary forms are permitted 7 * provided that the above copyright notice and this paragraph are 8 * duplicated in all such forms and that any documentation, 9 * advertising materials, and other materials related to such 10 * distribution and use acknowledge that the software was developed 11 * by the Internet Initiative Japan. The name of the 12 * IIJ may not be used to endorse or promote products derived 13 * from this software without specific prior written permission. 14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 * | 1/* 2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 3 * 4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 5 * 6 * Redistribution and use in source and binary forms are permitted 7 * provided that the above copyright notice and this paragraph are 8 * duplicated in all such forms and that any documentation, 9 * advertising materials, and other materials related to such 10 * distribution and use acknowledge that the software was developed 11 * by the Internet Initiative Japan. The name of the 12 * IIJ may not be used to endorse or promote products derived 13 * from this software without specific prior written permission. 14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 * |
18 * $Id: command.h,v 1.5 1997/08/25 00:29:09 brian Exp $ | 18 * $Id: command.h,v 1.6 1997/09/22 00:46:53 brian Exp $ |
19 * 20 * TODO: 21 */ 22 23struct cmdtab { 24 char *name; 25 char *alias; 26 int (*func) (); --- 6 unchanged lines hidden (view full) --- 33#define VAR_AUTHKEY 0 34#define VAR_DIAL 1 35#define VAR_LOGIN 2 36#define VAR_AUTHNAME 3 37#define VAR_DEVICE 4 38#define VAR_ACCMAP 5 39#define VAR_PHONE 6 40#define VAR_HANGUP 7 | 19 * 20 * TODO: 21 */ 22 23struct cmdtab { 24 char *name; 25 char *alias; 26 int (*func) (); --- 6 unchanged lines hidden (view full) --- 33#define VAR_AUTHKEY 0 34#define VAR_DIAL 1 35#define VAR_LOGIN 2 36#define VAR_AUTHNAME 3 37#define VAR_DEVICE 4 38#define VAR_ACCMAP 5 39#define VAR_PHONE 6 40#define VAR_HANGUP 7 |
41#ifdef HAVE_DES |
|
41#define VAR_ENC 8 | 42#define VAR_ENC 8 |
42 | 43#endif |
43extern int SetVariable(struct cmdtab const *, int, char **, int var_param); | 44extern int SetVariable(struct cmdtab const *, int, char **, int var_param); |