PreviousNext

Interface Identifier Vector

The interface identifier (id) vector data structure contains a list of interfaces offered by a server. The interface identifier vector contains a count member (count), followed by an array of pointers to interface identifiers (rpc_if_id_t).

The C language representation of an interface identifier vector is as follows:

typedef struct {
unsigned32 count;
rpc_if_id_t *if_id[1];
} rpc_if_id_vector_t;

The interface identifier vector is a read-only vector. To obtain a vector of the interface identifiers registered by a server with the RPC runtime, an application calls the rpc_mgmt_inq_if_ids( ) routine. To obtain a vector of the interface identifiers exported by a server to a name service database, an application calls the rpc_ns_mgmt_entry_inq_if_ids( ) routine.

The RPC runtime allocates memory for the interface identifier vector. The application calls the rpc_if_id_vector_free( ) routine to free the interface identifier vector.