

                            EnvoySupport.lib
                            ~~~~~~~~~~~~~~~~~

WHAT IS IT:
~~~~~~~~~~~
    Automatic (SAS-like) Open/CloseLibrary for envoy libraries


DISTRIBUTION:
~~~~~~~~~~~~~
    This product may be freely distributed under the following restrictions:

    1.  The complete contents of the original archive must remain intact.
    2.  The original material may in no way be modified.
    3.  This product may not be distributed for profit.  A nominal copying
        fee is authorized (for cost of materials and shipping and handling
        comparable to that charged by Fred Fish.)
    4.  Commercial distribution of this product without written permission
        from the author is forbidden.


USE OF THIS PRODUCT:
~~~~~~~~~~~~~~~~~~~~
    This product may be used under the following restrictions:

    1.  Non-commercial use of this product is free of charge.
    2.  Commercial use of this product without written permission from the
        author is forbidden.  This includes shareware.
    3.  Honorable mention of the author and product must be included in the
        client documentation (non-commercial and licensed-commercial.)
    4.  This product may not be used for malicious intent.



DISCLAIMER:
~~~~~~~~~~~
    This product is provided without any warranty, express or implied.  The
    user of this product assumes full responsibility for any damage resulting
    from the use and/or misuse of this product.


CONTENTS:
~~~~~~~~~
    This archive includes automatic SAS-C - library-constructor/destructors
    for Envoy.  You'll also need the includes distributed with the developer
    package.
    The following Library Bases are recognized:

        struct Library* NIPCBase
        struct Library* EnvoyBase
        struct Library* ServicesBase
        struct Library* AccountsBase

    Note that you'll need SAS-C 6.50 to recompile this library.


USAGE:
~~~~~~
    Use this library like you would use the usual SAS-autoopenlibrary feature,
    e.g. :

    #include <proto/envoy.h>
    #include <proto/nipc.h>

    extern long __netlibversion = 37;
    extern long __oslibversion  = 39;

    main()
    {
        //  No! OpenLibrary()

        SomeEnvoyFunction ();
        SomeOtherNIPCFunction ();

        //  No need for CloseLibrary (foobar);
    }


    Note that this library uses __netlibversion to determine the minimum
    acceptable library version since you could need V39-OS and V37-Envoy.
    If you don't specify __netlibversion, a default value of 37 will be
    assumed.


CONTACTING THE AUTHOR:
~~~~~~~~~~~~~~~~~~~~~~
I can be reached by the following means:

    Internet:   hytandog@cip.informatik.uni-erlangen.de
    UUCP:       hakan@kahalo.nbg.sub.org
    Snail:      Hakan Tandogan
                Am Ruhstein 13
                D-91054-Buckenhof
