dsapunbind1.c
来自「ftam等标准协议服务器和客户端的源代码。」· C语言 代码 · 共 104 行
C
104 行
/* dsapunbind1.c - DSAP: Maps D-UNBIND onto RO-UNBIND.REQUEST */#ifndef lintstatic char *rcsid = "$Header: /xtel/isode/isode/dsap/net/RCS/dsapunbind1.c,v 9.0 1992/06/16 12:14:05 isode Rel $";#endif/* * $Header: /xtel/isode/isode/dsap/net/RCS/dsapunbind1.c,v 9.0 1992/06/16 12:14:05 isode Rel $ * * * $Log: dsapunbind1.c,v $ * Revision 9.0 1992/06/16 12:14:05 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/dsap.h"/* D-UNBIND.REQUEST *//* ARGSUSED */int DUnBindRequest (sd, secs, dr, di)int sd;int secs;struct DSAPrelease * dr;struct DSAPindication * di;{ int result; struct AcSAPrelease acr_s; struct AcSAPrelease * acr = &(acr_s); struct RoNOTindication rni_s; struct RoNOTindication * rni = &(rni_s); watch_dog ("RoUnBindRequest"); result = RoUnBindRequest (sd, NULLPE, secs, acr, rni); watch_dog_reset(); if (result == OK) { dr->dr_affirmative = acr->acr_affirmative; dr->dr_reason = acr->acr_reason; ACRFREE(acr); return (OK); } if (result == NOTOK) { return (ronot2dsaplose (di, "D-UNBIND.REQUEST", rni)); } return (result);}/* D-UNBIND.RETRY *//* ARGSUSED */int DUnBindRetry (sd, secs, dr, di)int sd;int secs;struct DSAPrelease * dr;struct DSAPindication * di;{ int result; struct AcSAPrelease acr_s; struct AcSAPrelease * acr = &(acr_s); struct RoNOTindication rni_s; struct RoNOTindication * rni = &(rni_s); watch_dog ("RoUnBindRetry"); result = RoUnBindRetry (sd, secs, acr, rni); watch_dog_reset(); if (result == OK) { dr->dr_affirmative = acr->acr_affirmative; dr->dr_reason = acr->acr_reason; ACRFREE (acr); return (OK); } if (result == NOTOK) { return (ronot2dsaplose (di, "D-UNBIND.RETRY", rni)); } return (result);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?