PK_SESSION_ask_partitions   

PK_ERROR_code_t        PK_SESSION_ask_partitions
(
--- returned arguments ---
int             *const n_partitions,          --- number of partitions (>= 0)
PK_PARTITION_t **const partitions             --- partitions (optional)
)


This function returns the partitions in the session.


The output array 'partitions' is optional. If it is set to NULL, the function
will only compute the number of partitions in the session.