[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        AddResource -- add a resource to the system

   SYNOPSIS
        AddResource(resource)
                    A1

        void AddResource(APTR);

   FUNCTION
        This function adds a new resource to the system and makes it
        available to other users.  The resource must be ready to be called
        at this time.

        Resources currently have no system-imposed structure, however they
        must start with a standard named node (LN_SIZE), and should with
        a standard library node (lib_size).

   INPUTS
        resource - pointer an initialized resource node

   SEE ALSO
        remresource(), openresource(), makelibrary()