⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pppsecretlib.h

📁 IXP425的BSP代码
💻 H
字号:
/* pppSecretLib.h - PPP authentication secrets library header *//* Copyright 1995 Wind River Systems, Inc. *//*modification history--------------------01a,09may95,dzb  written.*/#ifndef __INCpppSecretLibh#define __INCpppSecretLibh#ifdef __cplusplusextern "C" {#endif/* includes */#include "vwModNum.h"#include "netinet/ppp/pppd.h"/* typedefs */typedef struct ppp_secret		/* PPP_SECRET */    {    struct ppp_secret *	secretNext;    char		client [MAXNAMELEN];    char		server [MAXNAMELEN];    char		secret [MAXSECRETLEN];    char		addrs [MAXNAMELEN];    } PPP_SECRET;/* defines */#define	S_pppSecretLib_NOT_INITIALIZED		(M_pppSecretLib | 1)#define	S_pppSecretLib_SECRET_DOES_NOT_EXIST	(M_pppSecretLib | 2)#define	S_pppSecretLib_SECRET_EXISTS		(M_pppSecretLib | 3)/* globals */extern PPP_SECRET *	pppSecretHead;/* function declarations */#if defined(__STDC__) || defined(__cplusplus)extern STATUS	pppSecretLibInit (void);extern STATUS	pppSecretAdd (char * client, char * server, char * secret,		    char * addrs);extern STATUS	pppSecretDelete (char * client, char * server, char * secret);extern int	pppSecretFind (char * client, char * server, char * secret,		    struct wordlist ** ppAddrs);#else	/* __STDC__ */extern STATUS	pppSecretLibInit ();extern STATUS	pppSecretAdd ();extern STATUS	pppSecretDelete ();extern int	pppSecretFind ();#endif	/* __STDC__ */#ifdef __cplusplus}#endif#endif /* __INCpppSecretLibh */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -