resmgr_attr_t control structure

The control structure (type resmgr_attr_t) is passed to the resmgr_attach() function, which puts the resource manager's path into the general pathname space and binds requests on this path to a dispatch handle.

The control structure (from <sys/dispatch.h>) has the following contents:

typedef struct _resmgr_attr {
    unsigned flags;
    unsigned nparts_max;
    size_t   msg_max_size;
    int      (*other_func) (resmgr_context_t *ctp, void *msg);
    unsigned reserved[4];
} resmgr_attr_t;