Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

HookResultStruct Struct Reference
[HookBindings - Adaptor to the callback system]

#include <hooker.h>

Collaboration diagram for HookResultStruct:

Collaboration graph
[legend]

Detailed Description

typed result of a hook. This structure tracks the result of a hook execution. The return value stored within is used in our special typemaps for the swig interface generator.

Definition at line 65 of file hooker.h.

Data Fields

union {
   int   intResult
   char *   stringResult
data
Hook hook
HookResultType type


Field Documentation

union { ... } HookResultStruct::data
 

result data of different type

Referenced by getHookCmd(), initHookResult(), logWrite(), and logWriteChar().

Hook HookResultStruct::hook
 

the hook that produced this result Definition at line 71 of file hooker.h.

Referenced by getHookCmd(), initHookResult(), and logPrintf().

int HookResultStruct::intResult
 

integer result value Definition at line 68 of file hooker.h.

char* HookResultStruct::stringResult
 

string result value Definition at line 69 of file hooker.h.

HookResultType HookResultStruct::type
 

type of the result data Definition at line 66 of file hooker.h.

Referenced by evalHookHandle(), getHookCmd(), getsHookHandle(), glsInteractionHookHandle(), ICinteractionHookHandle(), initHookResult(), logFlush(), logWrite(), logWriteChar(), netsearchHookHandle(), partialResultHookHandle(), progressHookHandle(), resetHookHandle(), and tclHookHandle().


The documentation for this struct was generated from the following file:
CDG 0.95 (20 Oct 2004)