secpol_get_type_id()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Return the type ID associated with a type name
Synopsis:
#include <secpol/secpol.h>
uint32_t secpol_get_type_id(secpol_file_t *handle,
const char *type_name)
Arguments:
- handle
- Handle to the security policy file. Usually NULL, which specifies that the default security policy file is used (either the system default or one set using secpol_open()).
- type_name
- Name of the type.
Library:
libsecpolReturns:
Type ID associated with the name, or SECPOL_INVALID_TYPE
if the name was not found.
Page updated: