Annotation of 43BSDReno/contrib/isode-beta/rosap/llib-lrosap, revision 1.1

1.1     ! root        1: /* llib-lrosap - lint library for -lrosap */
        !             2: 
        !             3: /* 
        !             4:  * $Header: /f/osi/rosap/RCS/llib-lrosap,v 7.0 89/11/23 22:21:12 mrose Rel $
        !             5:  *
        !             6:  *
        !             7:  * Based on an TCP-based implementation by George Michaelson of University
        !             8:  * College London.
        !             9:  *
        !            10:  * $Log:       llib-lrosap,v $
        !            11:  * Revision 7.0  89/11/23  22:21:12  mrose
        !            12:  * Release 6.0
        !            13:  * 
        !            14:  */
        !            15: 
        !            16: /*
        !            17:  *                               NOTICE
        !            18:  *
        !            19:  *    Acquisition, use, and distribution of this module and related
        !            20:  *    materials are subject to the restrictions of a license agreement.
        !            21:  *    Consult the Preface in the User's Manual for the full terms of
        !            22:  *    this agreement.
        !            23:  *
        !            24:  */
        !            25: 
        !            26: 
        !            27: /* LINTLIBRARY */
        !            28: 
        !            29: #include "rosap.h"
        !            30: 
        !            31: /*  */
        !            32: 
        !            33: /* SERVER only */
        !            34: 
        !            35: int    RoExec (ss, roi, arg1, arg2, hook, setperms)
        !            36: struct SSAPstart *ss;
        !            37: char   *arg1,
        !            38:        *arg2;
        !            39: struct RoSAPindication *roi;
        !            40: IFP    hook,
        !            41:        setperms;
        !            42: {
        !            43:     return RoExec (ss, roi, arg1, arg2, hook, setperms);
        !            44: }
        !            45: 
        !            46: /* RO-BEGIN.INDICATION */
        !            47: 
        !            48: int    RoInit (vecp, vec, ros, roi)
        !            49: int    vecp;
        !            50: char  **vec;
        !            51: struct RoSAPstart *ros;
        !            52: struct RoSAPindication *roi;
        !            53: {
        !            54:     return RoInit (vecp, vec, ros, roi);
        !            55: }
        !            56: 
        !            57: /* RO-BEGIN.RESPONSE */
        !            58: 
        !            59: int    RoBeginResponse (sd, status, data, roi)
        !            60: int    sd;
        !            61: int    status;
        !            62: PE     data;
        !            63: struct RoSAPindication *roi;
        !            64: {
        !            65:     return RoBeginResponse (sd, status, data, roi);
        !            66: }
        !            67: 
        !            68: /* RO-BEGIN.REQUEST */
        !            69: 
        !            70: int    RoBeginRequest (called, data, roc, roi)
        !            71: struct RoSAPaddr *called;
        !            72: PE     data;
        !            73: struct RoSAPconnect *roc;
        !            74: struct RoSAPindication *roi;
        !            75: {
        !            76:     return RoBeginRequest (called, data, roc, roi);
        !            77: }
        !            78: 
        !            79: /* RO-INVOKE.REQUEST */
        !            80: 
        !            81: int    RoInvokeRequest (sd, op, class, args, invokeID, linkedID, priority, roi)
        !            82: int    sd;
        !            83: int    op,
        !            84:        class,
        !            85:        invokeID,
        !            86:        *linkedID,
        !            87:        priority;
        !            88: PE     args;
        !            89: struct RoSAPindication *roi;
        !            90: {
        !            91:     return RoInvokeRequest (sd, op, class, args, invokeID, linkedID, priority,
        !            92:                roi);
        !            93: }
        !            94: 
        !            95: /* RO-RESULT.REQUEST */
        !            96: 
        !            97: int    RoResultRequest (sd, invokeID, op, result, priority, roi)
        !            98: int    sd;
        !            99: int    invokeID,
        !           100:        op,
        !           101:        priority;
        !           102: PE     result;
        !           103: struct RoSAPindication *roi;
        !           104: {
        !           105:     return RoResultRequest (sd, invokeID, op, result, priority, roi);
        !           106: }
        !           107: 
        !           108: /* RO-ERROR.REQUEST */
        !           109: 
        !           110: int    RoErrorRequest (sd, invokeID, error, params, priority, roi)
        !           111: int    sd;
        !           112: int    invokeID,
        !           113:        error,
        !           114:        priority;
        !           115: PE     params;
        !           116: struct RoSAPindication *roi;
        !           117: {
        !           118:     return RoErrorRequest (sd, invokeID, error, params, priority, roi);
        !           119: }
        !           120: 
        !           121: /* RO-U-REJECT.REQUEST */
        !           122: 
        !           123: int    RoURejectRequest (sd, invokeID, reason, priority, roi)
        !           124: int    sd;
        !           125: int    *invokeID,
        !           126:        reason,
        !           127:        priority;
        !           128: struct RoSAPindication *roi;
        !           129: {
        !           130:     return RoURejectRequest (sd, invokeID, reason, priority, roi);
        !           131: }
        !           132: 
        !           133: /* RO-INVOKE.REQUEST (interruptable) */
        !           134: 
        !           135: int    RoIntrRequest (sd, op, args, invokeID, linkedID, priority, roi)
        !           136: int    sd;
        !           137: int    op,
        !           138:        invokeID,
        !           139:        *linkedID,
        !           140:        priority;
        !           141: PE     args;
        !           142: struct RoSAPindication *roi;
        !           143: {
        !           144:     return RoIntrRequest (sd, op, args, invokeID, linkedID, priority, roi);
        !           145: }
        !           146: 
        !           147: /* RO-WAIT.REQUEST (pseudo) */
        !           148: 
        !           149: int    RoWaitRequest (sd, secs, roi)
        !           150: int    sd;
        !           151: int    secs;
        !           152: struct RoSAPindication *roi;
        !           153: {
        !           154:     return RoWaitRequest (sd, secs, roi);
        !           155: }
        !           156: 
        !           157: /* RO-END.REQUEST */
        !           158: 
        !           159: int    RoEndRequest (sd, priority, roi)
        !           160: int    sd;
        !           161: int    priority;
        !           162: struct RoSAPindication *roi;
        !           163: {
        !           164:     return RoEndRequest (sd, priority, roi);
        !           165: }
        !           166: 
        !           167: /* RO-END.RESPONSE */
        !           168: 
        !           169: int    RoEndResponse (sd, roi)
        !           170: int    sd;
        !           171: struct RoSAPindication *roi;
        !           172: {
        !           173:     return RoEndResponse (sd, roi);
        !           174: }
        !           175: 
        !           176: 
        !           177: /* define vectors for INDICATION events */
        !           178: 
        !           179: int    RoSetIndications (sd, indication, roi)
        !           180: int    sd;
        !           181: IFP    indication;
        !           182: struct RoSAPindication *roi;
        !           183: {
        !           184:     return RoSetIndications (sd, indication, roi);
        !           185: }
        !           186: 
        !           187: 
        !           188: /* map association descriptors for select() */
        !           189: 
        !           190: int    RoSelectMask (sd, mask, nfds, roi)
        !           191: int    sd;
        !           192: fd_set *mask;
        !           193: int    *nfds;
        !           194: struct RoSAPindication *roi;
        !           195: {
        !           196:     return RoSelectMask (sd, mask, nfds, roi);
        !           197: }
        !           198: 
        !           199: 
        !           200: /* bind underlying service */
        !           201: 
        !           202: int    RoSetService (sd, bfunc, roi)
        !           203: int    sd;
        !           204: IFP    bfunc;
        !           205: struct RoSAPindication *roi;
        !           206: {
        !           207:     return RoSetService (sd, bfunc, roi);
        !           208: }
        !           209: 
        !           210: 
        !           211: /* modify underyling service */
        !           212: 
        !           213: int    RoSetThorn (sd, roi)
        !           214: int    sd;
        !           215: struct RoSAPindication *roi;
        !           216: {
        !           217:     return RoSetThorn (sd, roi);
        !           218: }
        !           219: 
        !           220: 
        !           221: /* return RoSAP error code in string form */
        !           222: 
        !           223: char   *RoErrString (c)
        !           224: int    c;
        !           225: {
        !           226:     return RoErrString (c);
        !           227: }

unix.superglobalmegacorp.com

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