ds_ext.c

来自「ftam等标准协议服务器和客户端的源代码。」· C语言 代码 · 共 80 行

C
80
字号
/* ds_ext.c - */#ifndef lintstatic char *rcsid = "$Header: /xtel/isode/isode/dsap/common/RCS/ds_ext.c,v 9.0 1992/06/16 12:12:39 isode Rel $";#endif/* * $Header: /xtel/isode/isode/dsap/common/RCS/ds_ext.c,v 9.0 1992/06/16 12:12:39 isode Rel $ * * * $Log: ds_ext.c,v $ * Revision 9.0  1992/06/16  12:12:39  isode * Release 8.0 * *//* *                                NOTICE * *    Acquisition, use, and distribution of this module and related *    materials are subject to the restrictions of a license agreement. *    Consult the Preface in the User's Manual for the full terms of *    this agreement. * *//* LINTLIBRARY */#include "quipu/util.h"#include "quipu/common.h"extern	LLog	* log_dsap;subords_free(subp)struct subordinate      *subp;{	if(subp == NULLSUBORD)		return;	subords_free(subp->sub_next);        rdn_free(subp->sub_rdn); 	free((char *)subp);}ems_free(emp)struct entrymod *emp;{	if(emp == NULLMOD)		return;	ems_free(emp->em_next);	as_free(emp->em_what);	free((char *)emp);}aps_free(app)struct access_point     *app;{	if(app == NULLACCESSPOINT)		return;	aps_free(app->ap_next);	dn_free(app->ap_name);	if (app->ap_address)		psap_free (app->ap_address);	free((char *)app);}crefs_free(crefp)ContinuationRef crefp;{	if(crefp == NULLCONTINUATIONREF)		return;	crefs_free(crefp->cr_next);	dn_free(crefp->cr_name);	aps_free(crefp->cr_accesspoints);	free((char *)crefp);}

⌨️ 快捷键说明

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