Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 8

resmgr_context_t

Context information that's passed between resource-manager functions

Synopsis:

#include <sys/resmgr.h>

typedef struct _resmgr_context {
    int                         rcvid;
    struct _msg_info            info;
    resmgr_iomsgs_t             *msg;
    dispatch_t                  *dpp;
    int                         id;
    unsigned                    tid;
    unsigned                    msg_max_size;
    int                         status;
    int                         offset;
    int                         size;
    iov_t                       iov[1];
} resmgr_context_t;

Description:

The resmgr_context_t structure defines context information that's passed to resource-manager functions.

The members include:

rcvid
The receive ID to use for messages to and from the client.
info
A _msg_info structure that contains information about the message received by the resource manager.
msg
A pointer to the message received by the resource manager, expressed as a union of all the possible message types.
dpp
The dispatch handle, created by dispatch_create().
id
The link Id, returned by resmgr_attach().
tid
Not used; always zero.
msg_max_size
The minimum amount of space reserved for receiving a message.
status
A place to store the status of the current operation. Always use _RESMGR_STATUS() to set this member.
offset
The offset, in bytes, into the client's message. You'll use this when working with combine messages.
size
The number of valid bytes in the message area.
iov
An I/O vector where you can place the data that you're returning to the client.

Classification:

QNX Neutrino

See also:

dispatch_create(), _msg_info, MsgInfo(), resmgr_attach(), resmgr_context_alloc(), resmgr_context_free(), _RESMGR_STATUS()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 148

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/resmgr_context_t.html on line 148