Annotation of 43BSDReno/contrib/isode-beta/ftam2/ftamd-manage.c, revision 1.1.1.1

1.1       root        1: /* ftamd-manage.c - FTAM responder -- management */
                      2: 
                      3: #ifndef        lint
                      4: static char *rcsid = "$Header: /f/osi/ftam2/RCS/ftamd-manage.c,v 7.0 89/11/23 21:54:29 mrose Rel $";
                      5: #endif
                      6: 
                      7: /* 
                      8:  * $Header: /f/osi/ftam2/RCS/ftamd-manage.c,v 7.0 89/11/23 21:54:29 mrose Rel $
                      9:  *
                     10:  *
                     11:  * $Log:       ftamd-manage.c,v $
                     12:  * Revision 7.0  89/11/23  21:54:29  mrose
                     13:  * Release 6.0
                     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: #include <stdio.h>
                     28: #include "ftamsystem.h"
                     29: 
                     30: /*    MANAGEMENT */
                     31: 
                     32: int    ftam_managementindication (ftg)
                     33: struct FTAMgroup *ftg;
                     34: {
                     35:     struct FTAMgroup    ftms;
                     36:     struct FTAMgroup   *ftm = &ftms;
                     37:     struct FTAMindication   ftis;
                     38:     register struct FTAMindication *fti = &ftis;
                     39: 
                     40:     ftam_selection (ftg, ftm);
                     41: 
                     42:     if (myfd != NOTOK) {
                     43: #ifndef        BRIDGE
                     44:        unlock ();
                     45:        (void) close (myfd);
                     46: #else
                     47:        (void) close (myfd);
                     48:        (void) ftp_reply ();
                     49: #endif
                     50:        myfd = NOTOK;
                     51:     }
                     52: 
                     53:     if (FManageResponse (ftamfd, ftm, fti) == NOTOK)
                     54:        ftam_adios (&fti -> fti_abort, "F-MANAGE.RESPONSE");
                     55: 
                     56:     FTGFREE (ftg);
                     57: }

unix.superglobalmegacorp.com

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