credential_access_subject_create_for_all_apps()

Create an access subject that represents all applications.

Synopsis:

#include <sys/credential/credential_policy.h>
 
int credential_access_subject_create_for_all_apps(unsigned int flag,
                                                  credential_access_subject_t **app_subject)

Since:

BlackBerry 10.3.1

Arguments:

flag

Unused flag, reserved for future use.

app_subject

On return, a pointer to the access subject structure. You must call credential_access_subject_release() to release this structure when you're done using it.

Library:

libcredential (For the qcc command, use the -l bps option to link against this library)

Description:

This function allocates a new credential_access_subject_t structure and initializes it to represent all applications.

Returns:

0 if operation was successful, error code otherwise.