Developer

API Reference

ITRIG_AppendBarfile()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
ITRIG_ResetBarfiles()
Description
Appends a resource file to the list of active resource files for the Trig object.
Parameters
  • node
    []:
    [in] Pointer to the ITrig interface object
  • path
    []:
    [in] Path in the filesystem to the resource file the caller wishes to append to the list of barfiles
Interface
ITRIG
Prototype
   int ITRIG_AppendBarfile (ITrig* node, const char* path);
Return
   SUCCESS            - Resource file was successfully added to the path list
   EVERSIONNOTSUPPORT - The supplied resource file had a version
                        that was not supported by this Trig        
   EFAILED            - The resource file could not be opened or another error
                        occurred.

Side Effect
None
Comment

A Trig consists of a collection of resource files, each containing a set of paths. When a request for a particular path is received, the collection of resource files is traversed in search of a file supporting the requested path.
The files are searched in reverse order; in other words, files appended later are searched first.
Note that ITRIG_Activate must be called to make visible any changes made as a result of this call.
  • Follow