ITK Function Reference

(V10000.1.0.60_20160308.00)
Macros | Functions
license.h File Reference
#include <unidefs.h>
#include <tc/tc_startup.h>
#include <tccore/libtccore_exports.h>
#include <tccore/libtccore_undef.h>

Go to the source code of this file.

Macros

#define ADA_group_name_size_c   256
 
#define ADA_ip_admin_role   "IP Admin"
 
#define ADA_ip_classifier_role   "IP Classifier"
 
#define ADA_itar_admin_role   "ITAR Admin"
 
#define ADA_itar_classifier_role   "ITAR Classifier"
 
#define ADA_lic_citizenship_size_c   2
 
#define ADA_license_category_size_c   128
 
#define ADA_license_id_size_c   128
 
#define ADA_license_InAccrWith_size_c   80
 
#define ADA_license_reason_size_c   128
 
#define ADA_site_admin_role   "ADA Site Admin"
 

Functions

TCCORE_API int ADA_add_license_group (tag_t license_tag, tag_t group_tag)
 
TCCORE_API int ADA_add_license_object (tag_t license_tag, tag_t object_tag)
 
TCCORE_API int ADA_add_license_object2 (tag_t license_tag, tag_t object_tag, char *ead_paragraph)
 
TCCORE_API int ADA_add_license_user (tag_t license_tag, tag_t user_tag)
 
TCCORE_API int ADA_ask_in_accordance_with (tag_t license_tag, char in_accordance[ADA_license_InAccrWith_size_c+1])
 
TCCORE_API int ADA_ask_in_accordance_with2 (tag_t license_tag, char **in_accordance)
 
TCCORE_API int ADA_ask_license_category (tag_t license_tag, char **category)
 
TCCORE_API int ADA_ask_license_citizenships (tag_t license_tag, int *num, char ***citizenships)
 
TCCORE_API int ADA_ask_license_expiry (tag_t license_tag, date_t *expiry)
 
TCCORE_API int ADA_ask_license_id (tag_t license_tag, char id[ADA_license_id_size_c+1])
 
TCCORE_API int ADA_ask_license_id2 (tag_t license_tag, char **id)
 
TCCORE_API int ADA_ask_license_lock (tag_t license_tag, date_t *lock_date)
 
TCCORE_API int ADA_ask_license_reason (tag_t license_tag, char reason[ADA_license_reason_size_c+1])
 
TCCORE_API int ADA_ask_license_reason2 (tag_t license_tag, char **reason)
 
TCCORE_API int ADA_create_license (const char *license_id, const char *license_type, tag_t *license_tag)
 
TCCORE_API int ADA_find_license (const char *licid, tag_t *license)
 
TCCORE_API int ADA_group_licensed (tag_t license_tag, tag_t group_tag, logical *is_licensed)
 
TCCORE_API int ADA_list_license_groups (tag_t license_tag, int *group_count, tag_t **group_tags)
 
TCCORE_API int ADA_list_license_objects (tag_t license_tag, int *object_count, tag_t **object_tags)
 
TCCORE_API int ADA_list_license_users (tag_t license_tag, int *user_count, tag_t **user_tags)
 
TCCORE_API int ADA_remove_license_group (tag_t license_tag, tag_t group_tag)
 
TCCORE_API int ADA_remove_license_object (tag_t license_tag, tag_t object_tag)
 
TCCORE_API int ADA_remove_license_user (tag_t license_tag, tag_t user_tag)
 
TCCORE_API int ADA_set_in_accordance_with (tag_t license_tag, const char *in_accordance)
 
TCCORE_API int ADA_set_license_category (tag_t license_tag, const char *category)
 
TCCORE_API int ADA_set_license_citizenships (tag_t license_tag, int num, const char **citizenships)
 
TCCORE_API int ADA_set_license_expiry (tag_t license_tag, date_t expiry)
 
TCCORE_API int ADA_set_license_id (tag_t license_tag, const char *id)
 
TCCORE_API int ADA_set_license_lock (tag_t license_tag, date_t myLockdate)
 
TCCORE_API int ADA_set_license_reason (tag_t license_tag, const char *reason)
 
TCCORE_API int ADA_user_licensed (tag_t license_tag, tag_t user_tag, logical *is_licensed)
 

Detailed Description

This header file declares functions for manipulating ADA (Authorized Data Access) licenses. An ADA license is used to grant time limited access to a list of users and/or groups identified in the license. Users that would be denied access to a Workspace Object because they have insufficient IP (Intelectual Property) or Gov (Governmental) clearance can be given special access by listing them or their group in a license and attaching the license to the Workspace Object. A license has a type associated with it to specify which kind of clearance it can override, IP or Gov.

Definition in file license.h.