Annotation of 43BSDReno/contrib/isode-beta/dsap/net/dsapunbind2.c, revision 1.1

1.1     ! root        1: /* dsapunbind2.c - DSAP: maps D-UNBIND mapping onto RO-UNBIND */
        !             2: 
        !             3: #ifndef        lint
        !             4: static char *rcsid = "$Header: /f/osi/dsap/net/RCS/dsapunbind2.c,v 7.0 90/07/26 14:46:02 mrose Exp $";
        !             5: #endif
        !             6: 
        !             7: /* 
        !             8:  * $Header: /f/osi/dsap/net/RCS/dsapunbind2.c,v 7.0 90/07/26 14:46:02 mrose Exp $
        !             9:  *
        !            10:  *
        !            11:  * $Log:       dsapunbind2.c,v $
        !            12:  * Revision 7.0  90/07/26  14:46:02  mrose
        !            13:  * *** empty log message ***
        !            14:  * 
        !            15:  */
        !            16: 
        !            17: /*
        !            18:  *                                NOTICE
        !            19:  *
        !            20:  *    Acquisition, use, and distribution of this module and related
        !            21:  *    materials are subject to the restrictions of a license agreement.
        !            22:  *    Consult the Preface in the User's Manual for the full terms of
        !            23:  *    this agreement.
        !            24:  *
        !            25:  */
        !            26: 
        !            27: 
        !            28: /* LINTLIBRARY */
        !            29: 
        !            30: #include "quipu/dsap.h"
        !            31: 
        !            32: /*    D-UNBIND.ACCEPT */
        !            33: 
        !            34: /* ARGSUSED */
        !            35: 
        !            36: int      DUnBindAccept (sd, di)
        !            37: int                      sd;
        !            38: struct DSAPindication  * di;
        !            39: {
        !            40:        int                       result;
        !            41:        struct RoNOTindication    rni_s;
        !            42:        struct RoNOTindication  * rni = &(rni_s);
        !            43: 
        !            44:        result = RoUnBindResult (sd, NULLPE, rni);
        !            45: 
        !            46:        if (result == NOTOK)
        !            47:        {
        !            48:                (void) ronot2dsaplose (di, "D-UNBIND.ACCEPT", rni);
        !            49:                return (NOTOK);
        !            50:        }
        !            51: 
        !            52:        return (result);
        !            53: }
        !            54: 
        !            55: /*    D-UNBIND.REJECT */
        !            56: 
        !            57: /* ARGSUSED */
        !            58: 
        !            59: int      DUnBindReject (sd, status, reason, di)
        !            60: int                      sd;
        !            61: int                      status;
        !            62: int                      reason;
        !            63: struct DSAPindication  * di;
        !            64: {
        !            65:        int                       result;
        !            66:        struct RoNOTindication    rni_s;
        !            67:        struct RoNOTindication  * rni = &(rni_s);
        !            68: 
        !            69:        result = RoUnBindReject (sd, status, reason, rni);
        !            70: 
        !            71:        if (result == NOTOK)
        !            72:        {
        !            73:                (void) ronot2dsaplose (di, "D-UNBIND.REJECT", rni);
        !            74:                return (NOTOK);
        !            75:        }
        !            76: 
        !            77:        return (result);
        !            78: }
        !            79: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.