This chapter provides an alphabetic listing of all available FUSE messages for integrating your tool with FUSE
Refer to the previous chapters for information about EnCASE, its components, how to use each of its components, and reference information for the TIL file syntax and the EnCASE interfaces
When
using fixed strings in FUSE messages, both upper and lowercase letters
are acceptable.
However, if you include in your source file the
header file
$FUSE_TOP/includes/DFencase.h
, which
defines the constants used by each message, you can use defined
constants instead of string values.
Adds a new filter to the current set of diagnostic filters. The Builder receives this message
filter_pattern |
Specifies the text of the filter. This can be any regular expression. |
Return value |
"SUCCESS" "FAILURE" is returned when the Builder was unable to add the filter. |
Starts a build. The Builder receives this message.
target |
Specifies the full pathname of the target or source file to be built. If the target is a source file with an extension such as .c, .p, and so on, the Builder attempts to build the appropriate .o file. |
reserved1 and reserved 2 |
Reserved for future use and must be specified as NULL. |
Return value |
Specifies whether the build was successfully started. It can be one of the following values: "SUCCESS" |
Sends notification about whether a build process completed. The build process is complete even when errors are discovered. Information about errors is not sent in this message. This notification is sent for builds started interactively from the Builder or from a Build message. Only the Builder can send this message.
target |
Specifies the target of attempted build. |
makefile |
Specifies the full pathname of the makefile used in the build. |
outputfile |
Specifies the full pathname of the build
transcript file, which is usually in the
|
status |
Specifies the status of the build process completion: 0 indicates that the build process completed, even if there were errors in the build. 1 indicates that the build process did not complete. When 1 is returned, it is likely that the build process was abnormally terminated. |
Returns the currently selected target in the Builder graph. The Builder receives this message.
reserved1 |
Reserved for future use and must be specified as NULL. |
Return value |
The currently selected target is returned in the following format: "SUCCESS Current target
If no target is currently selected, target is blank. |
Updates the makefile graph, using the existing configuration information, with the most recent version of the makefile. The Builder receives this message.
Sets the current selection in the makefile graph. The Builder receives this message.
target |
The name of the target to be selected. If the specified target does not exist in the makefile graph, a target is created for it. To create a target, make sure you edit the makefile to include the new target. |
Return value |
The selected target is returned in the following format: "SUCCESS Target selection
|
Builds a target in a makefile.
target |
Specifies the pathname of the target or source file to build. |
makefile |
Specifies the name of the makefile to execute. |
options |
Optional. Specifies the make options to use. |
engine |
Optional. Specifies the make engine to use. The default engine is gnumake. |
reserved1 and reserved2 |
Reserved for future use and must be specifed as NULL. |
Return value |
"SUCCESS" "WARNING - No target given" "WARNING - Not yet implemented" |
Specifies the action to take on the currently selected node. A node should already be selected before sending this message. The Call Graph Browser receives this message
action |
Specifies the action and can be one of the following: "clear" - Clears the selected
node if there is one; otherwise no action is taken. |
Return value |
SUCCESS:%action is completed
successfully% - This value is returned upon successful completion
of operation. |
Manages the call graph. The Call Graph Browser receives this message.
action |
Specifies the action to take and can be one of the following: "expand_all"
- Expands all nodes to the routine level. |
action_qualifier |
Specifies variations to the action specified in action and has the following effects: For
the "expand_all" action, a value of zero expands all nodes fully
and a nonzero value expands only the selected node. |
Return value |
SUCCESS:%action is completed
successfully% - This value is returned upon successful completion
of operation. |
Sends notification about a node that has been highlighted. The Call Graph Browser sends this message.
highlighted_type |
Specifies whether the highlighted object is a node or a call: "node" |
node_type |
Specifies the type of node highlighted: "directory" |
node_name |
Specifies the name of the highlighted node. |
node_path |
Specifies the full pathname of the highlighted node. |
node_line |
Specifies the source file line number where the highlighted node is defined. |
called_node_type |
Specifies the type of node that is called by the highlighted node: "directory" |
called_node_name |
Specifies the name of the node called by the highlighted node. |
called_node_path |
Specifies the full pathname of the node called by the highlighted node. |
called_node_line |
Specifies the source file line number where the node called by the highlighted node is defined. |
Selects a node in the call graph. The Call Graph Browser receives this message.
node_type |
Specifies the type of node to be selected: "directory" |
name |
Specifies the name of the function when
"function" is specified in
|
path |
Specifies the path of the directory, file, or function to select. |
Return value |
The return value can be one of the following: SUCCESS (%ok%) - The arguments are valid and the selection
was completed. |
Highlights and selects the specified function in the call graph in which it is visible. Otherwise, it selects the file or directory containing the specified function. The Call Graph Browser receives this message.
name |
Specifies the name of the function to be selected. |
Return value |
The return value can be one of the following: |
Sends notification about a node that has been selected. The Call Graph Browser sends this message only when the node has been successfully selected and highlighted.
selection_type |
Specifies whether the selected object is a node or call: "node" |
node_type |
Specifies the type of node: "directory" |
node_name |
Specifies the name of the selected node. |
node_path |
Specifies the full pathname of the selected node. |
node_line |
Specifies the source file line number where the selected node is defined. |
called_node_type |
Specifies the type of node that is called by the selected node: "directory" |
called_node_name |
Specifies the name of the node called by the selected node. |
called_node_path |
Specifies the full pathname of the node called by the selected node. |
called_node_line |
Specifies the source file line number where the node called by the selected node is defined. |
Cancels a lock on a file in a code management library without using a dialog box. The Code Manager receives this message.
libraryname |
Can be one of the following: NULL - Defaults to the current library. |
filename |
Specifies the full file name of the file whose lock should be canceled. |
revision |
Specifies the revision number of the file. The value can be NULL, in which case the revision number is as follows: "1.1" - When performing a
Create operation |
Return value |
"SUCCESS" |
Cancels a lock on a file in a code management library interactively, using a dialog box. The Code Manager receives this message.
libraryname |
Can be one of the following: NULL - Defaults to the current library. |
filename |
Specifies the full file name of the file whose lock should be canceled. |
revision |
Specifies the revision number of the file. The value can be NULL, in which case the revision number is as follows: "1.1" - When performing a
Create operation |
Return value |
"SUCCESS" |
Sends notification about a cancel lock action. The Code Manager sends this message.
instance_id |
Specifies the instance ID of the tool requesting the lock cancellation. |
libraryname |
Can be one of the following: NULL - Defaults to the current library. |
filename |
Specifies the full file name of the file whose lock should be canceled. |
revision |
Specifies the revision number of the file. The value can be NULL, in which case the revision number is as follows: "1.1" - When performing a
Create operation |
workdir |
Specifies the working directory. |
status |
Specifies the status of the cancel lock operation. It can be one of the following: 0
- All locks are successsfully canceled. |
Checks a file into a code management library without using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the library or NULL to use the current library. |
filename |
Specifies the file to be checked into the library. |
revision |
Specifies the revision number of the file. |
comment |
Specifies a comment to be stored with the file. |
keepfile |
Specifies whether to keep a copy of the file in your working directory. It can be one of the following: 0 - Keeps file. |
filemode |
Specifies whether the file is stored as writable or read only. It can be one of the following: 0 - Writable |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Checks a file into a code management library using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the library or NULL to use the current library. |
filename |
Specifies the file to be checked into the library. |
revision |
Specifies the revision number of the file. |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Sends notification about a file check in action. Only the Code Manager sends this message.
instance_id |
Specifies the instance ID of the tool requesting the checkin. |
libraryname |
Specifies the name of the library. |
filename |
Specifies the file name of the file checked in. |
revision |
Specifies the revision value of the file. |
workdir |
Specifies the working directory. |
status |
Specifies the status of the checkin operation. It can be one of the following: 0 - All
files successfully checked in. |
Checks a file out of a code management library without using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the library or NULL to use the current library. |
filename |
Specifies the file to be checked into the library. |
revision |
Specifies the revision number of the file. |
withlock |
Specifies whether to lock the file for editing, as follows: 0 - Without lock
If checking out the file for reading and compiling, the file does not need to be locked. |
overwrite |
Specifies whether to overwrite a file in the working directory that has the same name as the file being retrieved, as follows: 0 - Do not overwrite |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Checks a file out of a code management library using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the library or NULL to use the current library. |
filename |
Specifies the file to be checked out of the library. |
revision |
Specifies the revision number of the file and is required. |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Sends notification about a file checkout action. Only the Code Manager sends this message.
instance_id |
Specifies the instance ID of the tool requesting the checkout. |
libraryname |
Specifies the name of the library. |
filename |
Specifies the file name of the file checkedout. |
revision |
Specifies the revision value of the file checked out. |
workdir |
Specifies the working directory. |
status |
Specifies the status of the checkout operation. It can be one of the following: 0
- All files successfully checked out. |
Displays and highlights the specified class. The C++ Class Browser receives this message.
class |
Specifies the name of the class. |
Return value |
The return value can be one of the following: "SUCCESS" for success |
Starts a compare operation and finds the next or previous difference. This message is also used for the merge operation. FUSE-Compare receives this message.
window_id |
Specifies the difference window where the file comparison is to be performed. The value specified can be a positive integer from 0 to n, supplied as a string. If the requested window does not exist, an error is returned. |
command |
Specifies one of the following three commands: "do" - Starts the difference
operation. |
position |
Specifies the position where the browsed file is displayed in the difference window: "left"
- Display file in left side of window.
This
parameter is not used when
|
Return value |
The return value can be one of the following: "SUCCESS" - A difference has been detected. |
Loads a file into a difference window in a specified position. FUSE-Compare receives this message. If FUSE-Compare is already running, either the nth difference window is used (the window_id equals the order number of the window), or a new difference window is opened (a new window_id is generated).
If a parameter value is invalid (for example, a specified file does not exist), the operation is aborted and an error status is returned.
window_id |
Specifies the difference window where the file comparison is to be performed. This parameter, together with the return status, allows an external tool to establish which window was used to load the file to be compared, and to reuse it to load other files if needed. window_id can have the following values: A positive integer from
0 to n, supplied as a string.
If the requested |
file_name |
Specifies the full path name of the file to be loaded. If it is equal to NULL, a file selection dialog box is displayed and the user should enter the missing file. The file need not reside in the working directory. This directory is used only as a default setting when the user wishes to open the left/right file. |
position |
Specifies the position where the file is displayed in the difference window: "left"
- Display file in left side of window.
The position parameter is not used when the command parameter for the CompareCommand message is specified as "do". |
Return value |
"<window_id>" - Directories
or files have been successfully loaded.
The identifier of the difference
window used is returned. |
Notifies other tools that the editor has finished a confirm replace operation. FUSE-Search receives this message.
query_id |
Specifies an identifier for the confirm replace operation. |
action |
Specifies one of the following three actions to be performed on subsequent files: DF_BRING_NEXT_FILE
- Calls in the next file. |
Saves or recalls a configuration file, or exits from the Control Panel. This message is received by the Control Panel.
req |
Specifies the action to take and can be one of the following: "SAVE_CONFIG"
- Saves a configuration file. |
param |
Specifies the configuration file to save or recall. |
Return value |
The return value can be one of the following: SUCCESS" |
Requests information about a project (formerly tool group). The Control Panel receives this message.
query |
Specifies the information to be returned. It can be one of the following: tool_is_of_class
- Returns "SUCCESS" if the class specified in
|
tool_class |
Specifies the tool class of the tool
specified by
|
tool_id |
Specifies the tool identifier. |
tool_group |
Specifies the name of the project (formerly tool group). |
Return value |
"SUCCESS" |
Notifies a tool that the specified breakpoint has been activated. The debugger sends this message.
target |
Specifies the target that is currently being debugged. A cooperating tool must check this parameter to distinguish between multiple debugging sessions. |
source_file (optional) |
Specifies the source file where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
routine (optional) |
Specifies the routine where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
line_number (optional) |
Specifies the line where the breakpoint existed. The line number is counted from the beginning of the source file, with the first line being line number 1. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
break_id |
Specifies an identifier assigned to the breakpoint. |
Notifies a tool that the specified breakpoint has been deactivated. The debugger sends this message.
target |
Specifies the target that is currently being debugged. A cooperating tool must check this parameter to distinguish between multiple debugging sessions. |
source_file (optional) |
Specifies the source file where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
routine (optional) |
Specifies the routine where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
line_number (optional) |
Specifies the line where the breakpoint existed. The line number is counted from the beginning of the source file, with the first line being line number 1. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
break_id |
Specifies an identifier assigned to the breakpoint. |
Notifies a tool that the specified breakpoint has been deleted. The debugger sends this message.
target |
Specifies the target that is currently being debugged. A cooperating tool must check this parameter to distinguish between multiple debugging sessions. |
source_file (optional) |
Specifies the source file where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
routine (optional) |
Specifies the routine where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
line_number (optional) |
Specifies the line where the breakpoint existed. The line number is counted from the beginning of the source file, with the first line being line number 1. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
break_id |
Specifies an identifier assigned to the breakpoint. |
Notifies a tool that the Debugger has set a breakpoint. The Debugger sends this message.
target |
Specifies the target that that is currently being debugged. A cooperating tool must check this parameter to distinguish between multiple debugging sessions. |
source_file (optional) |
Specifies the source file containing the breakpoint. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
routine (optional) |
Specifies the routine where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
line_number (optional) |
Specifies the line where the breakpoint existed. The line number is counted from the beginning of the source file, with the first line being line number 1. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
break_id |
Specifies an identifier assigned to the breakpoint. |
Requests that the debugger delete the specified breakpoint. The debugger receives this message.
Individual breakpoints are uniquely identified by the target
and
break_id
parameters.
If the specified breakpoint is in a different target than the one currently being debugged, the request is ignored. If the specified target is the same but no breakpoint makes the request, an error is generated.
If only the target parameter is defined, all the breakpoints are deleted. No error is generated if no breakpoints exist.
If the debugger is executing the target program, it might delay deleting the breakpoint until the next time the debugger reaches a defined processing state. The requester should make no assumptions about when the breakpoint actually is deleted. The debugger might stop at a breakpoint even though a request to delete that breakpoint is outstanding. In this case, the debugger will stop at the breakpoint, send out the DebuggerBreakHit message, delete the breakpoint, and send out the DebuggerBreakDeleted message.
target |
Specifies the target that the requesting tool is currently working on. The debugger checks that target against the one that is currently being debugged. If it is different, this message is ignored. |
source_file (optional) |
Specifies the source file containing the breakpoint. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
routine (optional) |
Specifies the routine where the breakpoint existed. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
line_number (optional) |
Specifies the line where the breakpoint existed. The line number is counted from the beginning of the source file, with the first line being line number 1. This is always specified if the debugger knows the information; otherwise, the null value "-1" is sent. |
break_id |
Specifies an identifier assigned to the breakpoint. |
Return value |
The return value can be one of the following: SUCCESS: %breakpoint deleted% - The breakpoint was successfully
deleted. |
Requests the debugger to set a breakpoint at the specified location. The debugger receives this message.
Provides information about the Builder's current diagnostic message. The Builder sends this message.
display_diagnostic_text |
Specifies the text that the FUSE editor displays to the user in its information window. The Emacs editor displays this text in the mini buffer. |
full_diagnostic_text |
Specifies the entire text of the diagnostic as given by the compiler. |
file_filter_pattern |
Specifies the text of the diagnostic which contains no line information. |
everywhere_filter_pattern |
Specifies the text of the diagnostic which contains no line and file information. |
help_topic |
The help topic associated with the diagnostic. |
next |
Used by the FUSE editor to set the sensitivity of its Next menu item on the Diagnostics menu. If there is a diagnostic in the forward direction, the value is specified as 1; if not, the value is specified as 0. If the diagnostic is from a previous build, this value is specified as -1. |
previous |
Used by the FUSE editor to set the sensitivity of its Previous menu item on the Diagnostics menu. If there is a diagnostic in the backward direction, the value is specified as 1; if not, the value is specified as 0. |
reserved1 and reserved2 |
Reserved for future use and must be specified as NULL. |
Adds a line to the current buffer. The FUSE Editor receives this message.
option |
Specifies where to add the line. It can be one of the following: "before" - Add
a line before the specified line. |
linenum |
Specifies the line number in the buffer where the line is to be added. A value of -1 specifies the end of the file. |
text |
Specifies the text to be inserted. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Specifies an action to take on an annotation in the Editor annotation area. This message should be used to set unique annotations. The editor annotates the specified buffer and positions the cursor to the line of the annotation. The FUSE Editor, emacs, and vi receive this message.
direction |
Specifies where to place the annotation and currently can only be "auto." |
option |
Specifies the action to take on the annotation and can be one of the following: "set"
- Sets the annotation. |
symbol |
Specifies the icon to be displayed for the annotation. Use one of the following icons (which can appear more than once in the annotation area): "default1"
- T1 |
buffer |
Specifies the buffer where the annotation action is to take place. The full pathname of the file must be specified. |
linenum |
Specifies the line number within the buffer where the annotation action is to be taken. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Specifies an action to take on an annotation in the Editor annotation area. This message should be used to set multiple occurrences of the same annotation. No positioning is done by the Editor when it receives this message. The FUSE Editor receives this message.
direction |
Specifies where to place the annotation and currently can only be "auto." |
option |
Specifies the action to take on the annotation and can be one of the following: "set"
- Sets the annotation. |
symbol |
Specifies the icon to be displayed for the annotation. Use one of the following icons (which can appear more than once in the annotation area): "error"
- Skull |
buffer |
Specifies the full pathname of the file to annotate. |
lines |
Specifies a space-separated string containing the line numbers to annotate. These numbers can include ranges, which are separated by hyphens. For example, "10 15 20-35". The first line is line 1. Numbers do not need to be sorted. |
text |
Specifies descriptive text about the annotation. This parameter is not implemented in DEC FUSE Version 2.0. However, you must specify it. |
Return value |
The return value is one of the following: A list of annotation symbols (if the requester specified
"list_symbol") |
Appends a line to the current buffer. The FUSE Editor receives this message.
option |
Specifies whether to use a linefeed or not. It can be one of the following: linefeed" - Uses a linefeed. |
linenum |
Specifies the number of the line within the buffer where the line is to be appended; 0 to specify the start of the file; or -1 to specify the end of the file. |
text |
Specifies the text to be appended. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Manages a buffer. The FUSE Editor receives this message.
option |
Specifies the action to be taken with the buffer. It can be one of the following: "save"
- Saves the buffer using the current name. |
buffer |
Specifies the buffer to be managed, or NULL to specify the current buffer. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Deletes a line in the current buffer. The FUSE Editor receives this message.
option |
Specifies what to delete. It can be one of the following: "top" - Deletes from
the current cursor position to the top of the file. |
from |
When "line" is specified in option, specifies where to start deleting. If "line" is not specified in option, NULL must be specified. |
to |
When "line" is specified in option, specifies where to end deleting. If "line" is not specified in option, NULL must be specified. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Sends notification that a file has been closed. Only the FUSE Editor can send this message.
file-name |
Specifies the name of the file that has been closed. |
Sends notification that a file has been reverted. Only the FUSE Editor can send this message.
file-name |
Specifies the name of the file that has been reverted. |
Sends notification that a file has been saved.
file-name |
Specifies the name of the file that has been saved. |
Moves to a line in the current buffer. The FUSE Editor, emacs, and vi receive this message.
option |
Specifies the direction of the move. It can be one of the following: "top"
- Moves to the top of the buffer. |
linenum |
When "line" is specified in option, specifies the line number to go to. If "line" is not specified in option, NULL must be specified. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Highlights or removes highlighting from lines in the current buffer. The FUSE Editor receives this message.
option |
Specifies whether to highlight. It can be one of the following: "on""all_off" |
from |
Specifies where to start highlighting or highlight removal. |
to |
Specifies where to end highlighting or highlight removal. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Inserts a file into the current buffer. The FUSE Editor receives this message.
option |
Specifies where to insert the file and can be one of the following: "top" - Inserts
the file at the top of the buffer. |
filename |
Specifies the file to be inserted. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Moves within a buffer. The FUSE Editor receives this message.
direction |
Specifies whether to move forward or backward within the buffer. It can be one of the following: "next" - Moves forward. |
option |
Specifies the increment of the move and can be one of the following: "word" -
Moves one word. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Opens a file. The FUSE Editor, emacs, and vi receive this message.
filename |
Specifies the name of the file to open. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Obtains information from the Editor. The FUSE Editor receives this message.
query_type |
Specifies the information to be returned. It can be one of the following: "list_type"
- Returns a list of the queries that can be made. |
buffer |
Specifies the buffer to obtain information about. |
Return value |
For the "list_type" query,
a space-separated list of supported query commands is returned. |
Replaces text in the current buffer. The FUSE Editor receives this message.
direction |
Specifies whether to move forward or backward within the buffer. It can be one of the following: "next" - Moves forward. |
option |
Specifies the occurrence to search for. It can be one of the following: "first"
- Replaces the first occurrence of the text in the buffer. |
old_text |
Specifies the text to be replaced. |
new_text |
Specifies the replacement text. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Searches for text in the current buffer. The FUSE Editor receives this message.
direction |
Specifies whether to move forward or backward within the buffer. It can be one of the following: "next" - Moves forward. |
option |
Specifies the occurrence to search for. It can be one of the following: "first"
- Replaces the first occurrence of the text in the buffer. |
text |
Specifies the text to search for. |
Return value |
The return value is one of the following: "SUCCESS" - The requested action was successfully completed. |
Requests Help information. The Helper Tool receives this message. All other tools send this message as part of a group of messages titled HELP_RECVS.
product |
Specifies the product name (for example, DEC FUSE). |
mode |
Can have one of the following values: "show" - Indicates a specific request for Help information. |
topic |
Specifies the topic hierarchy path for the help widget. |
Inserts a file into a code management library without using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the name of the library, or NULL to use the current library. |
librarytype |
Specifies the library type. It can be one of the following: |
filename |
Specifies the file to be inserted into the library. |
revision |
Specifies the revision number of the file, or NULL to use the default revision. |
comment |
Specifies a comment to be stored with the file. |
descname |
Specifies a text description file to be associated with the source file in the library. |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Inserts a file into a code management library using a dialog box. The Code Manager receives this message.
libraryname |
Specifies the name of the library, or NULL to use the current library. |
librarytype |
Specifies the library type. It can be one of the following: |
filename |
Specifies the file to be inserted into the library. |
revision |
Specifies the revision number of the file, or NULL to use the default revision. |
comment |
Specifies a comment to be stored with the file. |
Return value |
The return value is either "SUCCESS message" or "FAIL message." The message describes the successful completion of the message service or the reason for failure. |
Sends notification about a file insertion. Only the Code Manager sends this message.
instance_id |
Specifies the instance identifier of the tool requesting the file insertion. |
libraryname |
Specifies the name of the library. |
workdir |
Specifies the working directory. |
filename |
Specifies the name of the file inserted. |
revision |
Specifies the revision value of the file inserted. |
status |
Specifies the status of the file insert operation. It can be one of the following: 0
- All files successfully inserted. |
Locates the specified function call in a list of libraries. The Search Libraries box is displayed.
function_name |
The name of the function for which to search |
match_type |
Specifies the type of the function name. It can be the following: "anycase" |
Return value |
The return value can be one of the following: SUCCESS - The request was received. |
Locks a file in a code management library without using a dialog box. The Code Manager receives this message.
libraryname |
Can be one of the following: Full pathname of the library file. |
filename |
Specifies the full file name of the file to lock. |
revision |
Specifies the revision number of the file. The value can be NULL, in which case the revision number is next highest revision. |
Return value |
The return value can be one of the following: "SUCCESS" |
Locks a file in a code management library interactively, using a dialog box. The Code Manager receives this message.
libraryname |
Can be one of the following: Full pathname of the library file. |
filename |
Specifies the full file name of the file to lock. |
revision |
Specifies the revision number of the file. The value can be NULL, in which case the revision number is next highest revision. |
Return value |
The return value can be one of the following: "SUCCESS" |
Sends notification about a lock action. The Code Manager sends this message.
instance_id |
Specifies the instance identifier of the tool requesting the lock cancellation. |
libraryname |
Full pathname of the library file. |
workdir |
Specifies the working directory. |
filename |
Specifies the full file name of the file being locked. |
revision |
Specifies the revision value of the file. |
status |
Specifies the status of the file lock operation. It can be one of the following: 0
- All files successfully locked. |
Invokes the Function Lookup dialog box and fills the keywords field. The user must click on the Lookup function button to start the query.
keywords |
The list of keywords to look for. |
keyword_options |
Options for the query. Supported values: ANY: match all functions that use any of these keywords. |
function_type |
The type of function to look for. Supported values: DXML: Digital eXtended Math Library. |
reserved |
Reserved for future use. |
Return value |
The return value can be one of the following: SUCCESS: The Function Lookup dialog box was displayed. |
Displays a reference (man) page in a window. It is a trigger message; therefore, if no reference page display is running, it will be invoked. The Man Page Browser receives this message.
topic |
The topic for which to display the reference page information. |
section |
The section specifier for the specified reference page. |
Return value |
The return value can be one of the following: SUCCESS-The message was received. |
Displays a reference (man) page in a window and searches for the specified string. The reference page is positioned at the first occurrence of the search string. It is a trigger message; therefore, if no reference page display is running, it will be invoked. The Manual Browser receives this message.
topic |
The topic for which to display the reference page information. |
section |
The section specifier for the specified reference page. |
searchstring |
The string for which to search in the specified reference page. |
Return value |
The return value can be one of the following: SUCCESS - Specified reference page is displayed. |
Displays a list of reference pages whose name or description contains the specified keyword in the whatis database.
keyword |
The keyword for which to search. |
Return value |
The return value can be one of the following: SUCCESS-A list of references pages is displayed. |
Requests the editor to prepare to start a confirm replace operation. The FUSE Editor and emacs receive this message.
Return value |
The return value can be one of the following: SUCCESS-Specified reference page is displayed. |
Requests tools in the current project to update their project information. Sent by the Control Panel whenever there is a change to the project information.
project_file |
Name of the temporary file that the tools read to get the project information. |
Requests FUSE session information. The Control Panel receives this message.
info |
Specifies the requested information. It can be one of the following: "TOOL_GROUPS" - Returns the name of a file that lists information about each project (formerly tool group) using the following format: tool-group-name
"TOOLS" - Returns the name of a file that lists information about each tool using one line for each tool, as follows: tool-name
working-data-index1
working-data-index2
"SYSTEM_MENU" - Returns the name of a file that lists information about each active tool using one line for each tool, as follows: tool-name keyboard-equivalent
"PROJECT_INFO" - Returns the name of a temporary file that lists information needed by the project. Each tool processes this file to get startup information. |
Return value |
The return value can be one of the following: The name of the file containing the requested information. |
Invokes the Project Manager prepopulated with project information. The project is the same as that of the tool. This message is sent by tools to the Control Panel.
tool_option |
Informs the Control Panel which of the command buttons should be sensitive. It can be one of the following values: DF_ALL_TOOLS: Specifies that all
command buttons are available. |
target_needed |
Indicates whether the target field entry
in the Project Manager is required.
This field is checked only
if the value of the tool_option is
TRUE: User must enter a valid target in this field before
dismissing the box. |
makefile_needed |
Indicates whether the makefile field
entry in the Project Manager is required.
This field is checked
only if the value of the tool_option is
TRUE: User must enter a makefile in this field before dismissing
the box. |
libraries_needed |
Indicates whether the list of libraries
to open is required.
This field is checked only if the value of
the tool_option is
TRUE: User must select a list of libraries to open before
dismissing the box. |
reserved1 & reserved2 |
Reserved for future use. |
Return value |
The return value can be one of the following: FUSEMSG_RECV_SUCCESS: The Project Manager raised successfully. |
Brings up a pre-populated tool-specific dialog box for use by the Builder, Code Manager, static analysis toos, Database Manager, and Database transcript window.
dialog |
Name of the dialog box to invoke as follows: DF_BUILDER_DIALOG: Brings up the Builder Properties dialog
box. |
reserved |
Reserved for future use. |
Return value |
The return value can be one of the following: FUSEMSG_RECV_SUCCESS: Dialog box was invoked successfully. |
Informs the Builder to move to the first, next, previous, or last diagnostic. The Builder receives this message from the editors.
direction |
Indicates the diagnostic message to move to when the user clicks on the First, Next, Previous, or Last Diagnostic menu items. It is specified as the constants defined for the first, next, previous, and last directions in the DFEncase.h file. The constants can be the following: "DF_SHOW_DIAG_PREV" |
Return value |
The return value can be one of the following: SUCCESS |
Searches the files in the search directory or in the overall directory for a regular expression or string. If the expression or string is found, files and lines are displayed in the FUSE-Search Main Window. FUSE-Search receives this message.
search_directory |
Specifies the directory or the root of the directory tree in which the search is to be conducted (wildcards are accepted). If the working directory parameter is void, FUSE-Search uses either the working directory value currently stored in the FUSE configuration database for FUSE-Search, or the FUSE working directory if FUSE-Search was not previously activated. |
file_pattern |
Specifies a regular expression that identifies a set of files located in the target directory (tree) on which the search will be performed. If the parameter value is void, the Files field in the Main Window must be filled before starting the search operation. |
search_for_expression |
Specifies a regular expression or string to be located in the specified working directory (tree) and files. The way it is used depends on the match parameter value. If the parameter value is void, the Search For field in the Main Window must be filled before starting the search operation. |
match |
Specifies the way the search_for_expression parameter should be managed. It can be one of the following: "expression" - Regular expression to be interpreted with
the grep utility. |
case |
Specifies one of the following: "any_case" - Search is not case sensitive. |
line_matching_mode |
Specifies one of the following: "line_matching" - Matching lines are retrieved. |
dir_scan_mode |
Specifies one of the following: "scan_dir" - Search is performed only in the search directory. |
Return value |
The return value can be one of the following: SUCCESS - The search request has been accepted by FUSE-
Search. |
Searches the specified file for the specified string and then prompts the user to confirm whether to replace the string with the specified replacement string. The FUSE editor and emacs receive this message.
query_id |
Identifer for the confirm replace operation. |
file |
The file to search for the search string. |
search_string |
The string for which to search. |
replace_string |
The string with which to replace the search string. |
line |
The line from which to start the search. |
any_case |
Indicates whether to perform a case sensitive or case nonsensitive search. This can be one of the following: 0 - Performs a case sensitive search. |
match_option |
Indicates the type of search and can be one of the following: DF_LITERAL -
Indicates a literal search.
These three constants are defined in the DFencase.h file. |
more_files |
Indicates whether additional files must be searched after file specified in the file parameter. 0 - Indicates that there are no additional files to search. |
Return value |
The return value can be one of the following: SUCCESS - The editor started the confirm replace. |
Takes an
action on a tool.
The Control Panel sends this message.
Use the
FUSE_set_dest
function or the
fusescript
-set_dest
command to direct this message to the correct
tool.
command |
Specifies the action to take, which can only be STOP. |
param |
Reserved for future use. |
Sends information about a tool stop or stop cancellation. The Control Panel receives this message.
event |
Specifies how the tool was canceled and can be one of the following: "CANCEL_STOP"
- This event specifies that an attempt by the Control Panel to stop
the tool has been interrupted by the user.
For example, if an editor
has unsaved buffers, the user has the option to save the buffers
before exiting. |
Changes tool
display.
The Control Panel sends this message using the
FUSE_set_dest
function.
command |
Specifies the action to take on the tool display. It can be one of the following: "ICONIFY"
- Iconifies (minimizes) the tool.
If specified, param is omitted. |
parameter |
Provides additional information for some values of command, as follows: If command
is specified as "SET_COLOR", param specifies the color. |
Sends notification of a tool display change. The Control Panel receives this message.
event |
Specifies the tool display change and can be one of the following: "ICONIFY" |
Sends notification about a tool start. The Control Panel receives this message.
class |
Specifies the name of the tool class that was started. |
sid |
Specifies the unique integer assigned to each tool start, which is passed in the FUSE_SID environment variable. |
hostname |
Specifies the name of the workstation where the tool was started. |
pid |
Specifies the process identifier of the tool that was started. |
Return value |
The return value is the name of the project (formerly tool group) that the tool is joining. |
Sends information about a file in a code management library. The Code Manager receives this message.
libraryname |
Specifies the name of the code management library. |
filename |
Specifies the name of the file. |
revision |
Specifies the file's revision value or NULL. |
Return value |
The return value can be one of the following: "0 File is not in the library." |
Visualizes the data in the specified file. The Program Visualizer receives this message.
filespec |
Specifies the name of the dataset file to visualize. |
clearFlag |
Specifies whether or not to clear the view before displaying the file. The value can be one of the following: "1" - Clears the view before displaying the visualized file. |
deleteFlag |
Specifies whether to delete the file upon completion. The value can be one of the following: "1" - Deletes the file. |
reserved |
Reserved for future use. The value must be set to 0 (zero). |
Return value |
The return value can be one of the following: "0-file read OK" |
Starts an action on a static analysis database. The static analysis database server receives this message.
target |
Specifies the absolute pathname of the target. |
command |
Specifies the action to take. It can be one of the following: "new" - Reloads
or updates the database if it is not already running.
The return
value when this is specified can be "invalid_target", "illegal",
or "loading". |
Return value |
The return value can be one of the following: "invalid target" |
Sends notification of database activity. Only the static analysis database server can send this message.
target |
Specifies the absolute pathname of the target |
information |
Specifies the database activity information. It can be one of the following: "created"
- The database has been created. |
Sends a query to the database. The static analysis database server receives this message.
target |
Specifies the full pathname of the target |
query_type |
Specifies the entity to be queried for. It can be one of the following: "reference" |
name |
Specifies the string to locate and can be an identifier, a literal, or a regular expression. It can also be specified as NULL. |
name_match_type |
Specifies the type of expression in name. It can be one of the following: "anycase" |
file |
Specifies the file to be searched. It can also be specified as NULL. |
line |
Specifies the line number to be searched. It can also be specified as NULL. |
call_from |
Specifies the name of a function, if query_type is specified as a function. It can be either a literal or a regular expression. It can also be specified as NULL. |
call_from_match_type |
Specifies the type of expression in call_from. It can be one of the following: "anycase" |
data_type |
Specifies the data type if query_type is specified as declaration. It can be either an identifier, a literal, or regular expression. It can also be specified as NULL. |
data_type_match_type |
Specifies the type of expression in data_type. It can be one of the following: "anycase" |
class_specifier |
Specifies the class to be searched and can be specified only when query_type is "declaration." It can be one of the following (and can also be specified as NULL):
|
Return value |
The return value can be one of the following: "not_running" |
Makes a query to the currently configured target and displays the results. If the declaration specified is unique, loads it into the editor. The static analysis database server receives this message.
name |
Specifies the string to locate and can be an identifier, a literal, or a regular expression. It can also be specified as NULL. |
name_match_type |
Specifies the type of expression in name. It can be one of the following: "anycase" |
class_specifier |
See the description of the
|
Return value |
The return value can be one of the following: "SUCCESS - The parameters were valid and the query was issued. |
Instructs the cross-referencer to query the static analysis database server, using the currently configured target, and to display the results of the query. The cross-referencer receives this message.
querytype |
Specifies the entity to be queried for. It can be one of the following: "reference" |
name |
Specifies the string to locate and can be an identifier, a literal, or a regular expression. It can also be specified as NULL. |
name_match_type |
Specifies the type of expression in name. It can be one of the following: "anycase" |
file |
Specifies the file to be searched. It can also be specified as NULL. |
line |
Specifies the line number to be searched. It can also be specified as NULL. |
call_from |
Specifies the name of a function, if query_type is specified as a function. It can be either a literal or a regular expression. It can also be specified as NULL. |
call_from_match_type |
Specifies the type of expression in call_from. It can be one of the following: "anycase" |
data_type |
Specifies the data type if query_type is specified as declaration. It can be either an identifier, a literal, or regular expression. It can also be specified as NULL. |
data_type_match_type |
Specifies the type of expression in data_type. It can be one of the following: "anycase" |
class_specifier |
See the description of the class_specifier
parameter for the
|
Return value |
The return value can be one of the following: "SUCCESS" - The query file was displayed. |