_io_connect_link_reply

Structure of a connect message that redirects a client to another resource

Synopsis:

struct _io_connect_link_reply {
    uint32_t                    reserved1;
    uint32_t                    file_type;
    uint8_t                     eflag;
    uint8_t                     reserved2[1];
    uint16_t                    chroot_len;
    uint32_t                    umask;
    uint16_t                    nentries;
    uint16_t                    path_len;
/*
    struct _io_connect_entry    server[nentries];
    char                        path[path_len];
or
    struct _server_info         info;
    io_?_t                      msg;
*/
};

Description:

A resource manager uses the _io_connect_link_reply structure in a reply to a client that redirects the client to another resource. The members include:

file_type
The file type; one of the following (defined in <sys/ftype.h>):
eflag
Extended flags:
chroot_len
The length of chroot in the returned path.
umask
One of:
nentries
If this member is zero, the path is a symbolic link.
path_len
The length of the path including the terminating null character. If this member is zero, the path is null-terminated.

Classification:

QNX Neutrino

See also:

_io_connect, _io_connect_ftype_reply, resmgr_connect_funcs_t

Writing a Resource Manager