Inter-Process Communication Functions

Cogent API and Utilities: Version 4.1
Prev |  | Next

# VI. Inter-Process Communication Functions

Table of Contents
`IP_AddFDHandler` -- tells `IP_Receive` to accept file input.
`IP_AttachPhoton` -- not fully documented.
`IP_AttachPhotonMainloop` -- not fully documented.
`IP_ConnectToPort` -- resolves a host name and connects to a port.
`IP_ConnectToService` -- like `IP_ConnectToPort`, but uses the service name.
`IP_DetachPhotonMainloop` -- not fully documented.
`IP_GetChannelID` -- returns the channel ID for IP library use.
`IP_GetConnectionID` -- returns the connection ID for IP library use.
`IP_IsPulse` -- validates a received message against a pulse ID.
`IP_ListenToPort` -- is a wrapper for `listen`.
`IP_ListenToService` -- like `IP_ListenToPort`, but uses the service name.
`IP_MsgCascade` -- writes message data to an `IP_MsgBuffer`.
`IP_MsgCreate` -- creates an `IP_Msg` structure.
`IP_MsgDefaultSize` -- gets the default size of interprocess messages.
`IP_MsgDestroy` -- frees memory associated with a message.
`IP_MsgInfoReply` -- replies to an `IP_SYNC` message using `IP_MsgInfo`.
`IP_MsgInfoReplyRaw` -- replies to an `IP_RAW` message using `IP_MsgInfo`.
`IP_MsgLisp` -- constructs a formatted text message.
`IP_MsgRaw` -- like `IP_MsgCascade`, with `IP_SUB_RAW` for its `subtype`.
`IP_MsgRawData` -- gives a pointer to `IP_RAW` message data.
`IP_MsgResize` -- resizes the `IP_MsgBuffer`, if possible.
`IP_NserveAdd` -- adds an entry to nserve.
`IP_NserveClose` -- closes the channel to nserve.
`IP_NserveInit` -- creates a task structure and informs nserve.
`IP_NserveInitMyself` -- declares current task structure information to nserve.
`IP_NserveLookup` -- fills in a known task structure.
`IP_NserveLookupId` -- finds a task by node, process and channel ID.
`IP_NserveLookupName` -- allocates and fills in a new task structure.
`IP_NservePackTaskInfo` -- makes a Lisp-parseable version of task information.
`IP_NserveQueryNameCount` -- gives the number of registered names.
`IP_NserveQueryNames` -- fills an array with nserve's names.
`IP_NserveReattach` -- closes and renews all task connections and queues.
`IP_NserveRemove` -- removes an entry from nserve.
`IP_NserveSetDomain` -- changes a task's domain name.
`IP_pfTaskComp` -- compares two tasks for equality.
`IP_PhotonGUIFilter` -- not fully documented.
`IP_PhotonGUIHandler` -- not fully documented.
`IP_ProcessMessage` -- classifies messages for `IP_Receive`.
`IP_PulseDestroy` -- destroys a pulse.
`IP_PulseNew` -- creates a new pulse.
`IP_PulseTimed` -- sets up timers to trigger pulses.
`IP_PulseTrigger` -- immediately sends a pulse.
`IP_QueueClose` -- closes a queue.
`IP_QueueOpen` -- opens a queue for reading or writing.
`IP_QueueRead` -- reads a message from the queue.
`IP_QueueStrerror` -- gives access to error strings.
`IP_QueueWait` -- requests notification of an event.
`IP_QueueWrite` -- writes a message to a queue.
`IP_Receive` -- receives any message.
`IP_ReceiveNonblock` -- receives any message, without blocking.
`IP_RemoveFDHandler` -- prevents `IP_Receive` from accepting file input.
`IP_Reply` -- replies to an `IP_SYNC` message using `rcvid`.
`IP_ReplyRaw` -- replies to an `IP_RAW` message using `rcvid`.
`IP_SelectFD` -- is used internally only.
`IP_SetChannelID` -- sets the channel ID for IP library use.
`IP_SetConnectionID` -- sets the connection ID for IP library use.
`IP_SetGUIHandler` -- sets callback functions for GUI events.
`IP_TaskCloseAsync` -- closes queues and cleans up resources.
`IP_TaskCloseSync` -- closes synchronous connections and cleans up resources.
`IP_TaskConnect` -- opens a connection to a receiver.
`IP_TaskCopy` -- copies a task structure.
`IP_TaskCreate` -- creates a new task structure.
`IP_TaskCreateMe` -- creates a task structure for the current process.
`IP_TaskDefaultDomain` -- returns the Cascade DataHub default domain.
`IP_TaskDestroy` -- closes connections and queues, removes the task and frees memory.
`IP_TaskFindID` -- finds a task by its node, process, and channel IDs.
`IP_TaskFindName` -- finds a task by its name.
`IP_TaskInitAsync` -- creates a read-only queue.
`IP_TaskInitAsyncWrites` -- opens a task's queue as write-only.
`IP_TaskIntern` -- adds a task to a process's task cache.
`IP_TaskNew` -- creates a new task structure.
`IP_TaskSendAsync` -- transmits a message via qserve and returns immediately.
`IP_TaskSendRaw` -- sends data in bytes, synchronously.
`IP_TaskSendSync` -- transmits a message, and waits for a reply.
`IP_TaskSetDomain` -- sets or changes a task's domain name.
`IP_TaskSetInfo` -- sets the fields in a task structure.
`IP_TaskSetQname` -- sets a task's queue name.
`IP_TaskUnintern` -- removes a task from a process's task cache.
`IP_TaskWaitAsync` -- registers the task for events in qserve.
`IP_TaskZero` -- sets all task structure fields to defaults.
`IP_TimerTime` -- adjusts timer parameters.
`IP_UnselectFD` -- is used internally only.

Prev | Home | Next
`HI_Version` | Up | `IP_AddFDHandler`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.