Programming Guides › Programming Guide for C › Policy Management API Guidance › Policy Management API Data Structures
Policy Management API Data Structures
Each data structure represents an entity in the SiteMinder policy store. The structures have a common format:
- The first field in each structure denotes the type of the structure, so that it can be freed by the correct Policy Management API memory function. When the structure is used as an input parameter, the first field is ignored by the Policy Management API. When the structure is used for a return, the first field is set properly by the Policy Management API.
- The last field of each structure is a pointer to the next item in a returned linked list. On input, this field is ignored, since the Policy Management API does not accept linked lists as input parameters. (If you supply a linked list as an input parameter, the function examines only the first item in the list.)
All the character arrays within the following structures are sized according to BFSIZE, which is set to 1024 characters. A 24-character TIMESIZE buffer is used for policy time restrictions.
Copyright © 2014 CA.
All rights reserved.
|
|