Credentials Cache API : CCAPI Function Helper Macros

# CCAPI Function Helper Macros

## Defines

- #define cc_context_release(context) ((context) -> functions -> release (context))
- #define cc_context_get_change_time(context, change_time) ((context) -> functions -> get_change_time (context, change_time))
- #define cc_context_get_default_ccache_name(context, name) ((context) -> functions -> get_default_ccache_name (context, name))
- #define cc_context_open_ccache(context, name, ccache) ((context) -> functions -> open_ccache (context, name, ccache))
- #define cc_context_open_default_ccache(context, ccache) ((context) -> functions -> open_default_ccache (context, ccache))
- #define cc_context_create_ccache(context, name, version, principal, ccache) ((context) -> functions -> create_ccache (context, name, version, principal, ccache))
- #define cc_context_create_default_ccache(context, version, principal, ccache) ((context) -> functions -> create_default_ccache (context, version, principal, ccache))
- #define cc_context_create_new_ccache(context, version, principal, ccache) ((context) -> functions -> create_new_ccache (context, version, principal, ccache))
- #define cc_context_new_ccache_iterator(context, iterator) ((context) -> functions -> new_ccache_iterator (context, iterator))
- #define cc_context_lock(context, type, block) ((context) -> functions -> lock (context, type, block))
- #define cc_context_unlock(context) ((context) -> functions -> unlock (context))
- #define cc_context_compare(context, compare_to, equal) ((context) -> functions -> compare (context, compare_to, equal))
- #define cc_context_wait_for_change(context) ((context) -> functions -> wait_for_change (context))
- #define cc_ccache_release(ccache) ((ccache) -> functions -> release (ccache))
- #define cc_ccache_destroy(ccache) ((ccache) -> functions -> destroy (ccache))
- #define cc_ccache_set_default(ccache) ((ccache) -> functions -> set_default (ccache))
- #define cc_ccache_get_credentials_version(ccache, version) ((ccache) -> functions -> get_credentials_version (ccache, version))
- #define cc_ccache_get_name(ccache, name) ((ccache) -> functions -> get_name (ccache, name))
- #define cc_ccache_get_principal(ccache, version, principal) ((ccache) -> functions -> get_principal (ccache, version, principal))
- #define cc_ccache_set_principal(ccache, version, principal) ((ccache) -> functions -> set_principal (ccache, version, principal))
- #define cc_ccache_store_credentials(ccache, credentials) ((ccache) -> functions -> store_credentials (ccache, credentials))
- #define cc_ccache_remove_credentials(ccache, credentials) ((ccache) -> functions -> remove_credentials (ccache, credentials))
- #define cc_ccache_new_credentials_iterator(ccache, iterator) ((ccache) -> functions -> new_credentials_iterator (ccache, iterator))
- #define cc_ccache_lock(ccache, type, block) ((ccache) -> functions -> lock (ccache, type, block))
- #define cc_ccache_unlock(ccache) ((ccache) -> functions -> unlock (ccache))
- #define cc_ccache_get_last_default_time(ccache, last_default_time) ((ccache) -> functions -> get_last_default_time (ccache, last_default_time))
- #define cc_ccache_get_change_time(ccache, change_time) ((ccache) -> functions -> get_change_time (ccache, change_time))
- #define cc_ccache_move(source, destination) ((source) -> functions -> move (source, destination))
- #define cc_ccache_compare(ccache, compare_to, equal) ((ccache) -> functions -> compare (ccache, compare_to, equal))
- #define cc_ccache_get_kdc_time_offset(ccache, version, time_offset) ((ccache) -> functions -> get_kdc_time_offset (ccache, version, time_offset))
- #define cc_ccache_set_kdc_time_offset(ccache, version, time_offset) ((ccache) -> functions -> set_kdc_time_offset (ccache, version, time_offset))
- #define cc_ccache_clear_kdc_time_offset(ccache, version) ((ccache) -> functions -> clear_kdc_time_offset (ccache, version))
- #define cc_ccache_wait_for_change(ccache) ((ccache) -> functions -> wait_for_change (ccache))
- #define cc_string_release(string) ((string) -> functions -> release (string))
- #define cc_credentials_release(credentials) ((credentials) -> functions -> release (credentials))
- #define cc_credentials_compare(credentials, compare_to, equal) ((credentials) -> functions -> compare (credentials, compare_to, equal))
- #define cc_ccache_iterator_release(iterator) ((iterator) -> functions -> release (iterator))
- #define cc_ccache_iterator_next(iterator, ccache) ((iterator) -> functions -> next (iterator, ccache))
- #define cc_ccache_iterator_clone(iterator, new_iterator) ((iterator) -> functions -> clone (iterator, new_iterator))
- #define cc_credentials_iterator_release(iterator) ((iterator) -> functions -> release (iterator))
- #define cc_credentials_iterator_next(iterator, credentials) ((iterator) -> functions -> next (iterator, credentials))
- #define cc_credentials_iterator_clone(iterator, new_iterator) ((iterator) -> functions -> clone (iterator, new_iterator))

## Define Documentation

#define cc_context_release | ( | context |  | ) | ((context) -> functions -> release (context))

| Helper macro for cc_context_f release()

#define cc_context_get_change_time | ( | context,
|  | change_time |  | ) | ((context) -> functions -> get_change_time (context, change_time))

| Helper macro for cc_context_f get_change_time()

#define cc_context_get_default_ccache_name | ( | context,
|  | name |  | ) | ((context) -> functions -> get_default_ccache_name (context, name))

| Helper macro for cc_context_f get_default_ccache_name()

#define cc_context_open_ccache | ( | context,
|  | name,
|  | ccache |  | ) | ((context) -> functions -> open_ccache (context, name, ccache))

| Helper macro for cc_context_f open_ccache()

#define cc_context_open_default_ccache | ( | context,
|  | ccache |  | ) | ((context) -> functions -> open_default_ccache (context, ccache))

| Helper macro for cc_context_f open_default_ccache()

#define cc_context_create_ccache | ( | context,
|  | name,
|  | version,
|  | principal,
|  | ccache |  | ) | ((context) -> functions -> create_ccache (context, name, version, principal, ccache))

| Helper macro for cc_context_f create_ccache()

#define cc_context_create_default_ccache | ( | context,
|  | version,
|  | principal,
|  | ccache |  | ) | ((context) -> functions -> create_default_ccache (context, version, principal, ccache))

| Helper macro for cc_context_f create_default_ccache()

#define cc_context_create_new_ccache | ( | context,
|  | version,
|  | principal,
|  | ccache |  | ) | ((context) -> functions -> create_new_ccache (context, version, principal, ccache))

| Helper macro for cc_context_f create_new_ccache()

#define cc_context_new_ccache_iterator | ( | context,
|  | iterator |  | ) | ((context) -> functions -> new_ccache_iterator (context, iterator))

| Helper macro for cc_context_f new_ccache_iterator()

#define cc_context_lock | ( | context,
|  | type,
|  | block |  | ) | ((context) -> functions -> lock (context, type, block))

| Helper macro for cc_context_f lock()

#define cc_context_unlock | ( | context |  | ) | ((context) -> functions -> unlock (context))

| Helper macro for cc_context_f unlock()

#define cc_context_compare | ( | context,
|  | compare_to,
|  | equal |  | ) | ((context) -> functions -> compare (context, compare_to, equal))

| Helper macro for cc_context_f compare()

#define cc_context_wait_for_change | ( | context |  | ) | ((context) -> functions -> wait_for_change (context))

| Helper macro for cc_context_f wait_for_change()

#define cc_ccache_release | ( | ccache |  | ) | ((ccache) -> functions -> release (ccache))

| Helper macro for cc_ccache_f release()

#define cc_ccache_destroy | ( | ccache |  | ) | ((ccache) -> functions -> destroy (ccache))

| Helper macro for cc_ccache_f destroy()

#define cc_ccache_set_default | ( | ccache |  | ) | ((ccache) -> functions -> set_default (ccache))

| Helper macro for cc_ccache_f set_default()

#define cc_ccache_get_credentials_version | ( | ccache,
|  | version |  | ) | ((ccache) -> functions -> get_credentials_version (ccache, version))

| Helper macro for cc_ccache_f get_credentials_version()

#define cc_ccache_get_name | ( | ccache,
|  | name |  | ) | ((ccache) -> functions -> get_name (ccache, name))

| Helper macro for cc_ccache_f get_name()

#define cc_ccache_get_principal | ( | ccache,
|  | version,
|  | principal |  | ) | ((ccache) -> functions -> get_principal (ccache, version, principal))

| Helper macro for cc_ccache_f get_principal()

#define cc_ccache_set_principal | ( | ccache,
|  | version,
|  | principal |  | ) | ((ccache) -> functions -> set_principal (ccache, version, principal))

| Helper macro for cc_ccache_f set_principal()

#define cc_ccache_store_credentials | ( | ccache,
|  | credentials |  | ) | ((ccache) -> functions -> store_credentials (ccache, credentials))

| Helper macro for cc_ccache_f store_credentials()

#define cc_ccache_remove_credentials | ( | ccache,
|  | credentials |  | ) | ((ccache) -> functions -> remove_credentials (ccache, credentials))

| Helper macro for cc_ccache_f remove_credentials()

#define cc_ccache_new_credentials_iterator | ( | ccache,
|  | iterator |  | ) | ((ccache) -> functions -> new_credentials_iterator (ccache, iterator))

| Helper macro for cc_ccache_f new_credentials_iterator()

#define cc_ccache_lock | ( | ccache,
|  | type,
|  | block |  | ) | ((ccache) -> functions -> lock (ccache, type, block))

| Helper macro for cc_ccache_f lock()

#define cc_ccache_unlock | ( | ccache |  | ) | ((ccache) -> functions -> unlock (ccache))

| Helper macro for cc_ccache_f unlock()

#define cc_ccache_get_last_default_time | ( | ccache,
|  | last_default_time |  | ) | ((ccache) -> functions -> get_last_default_time (ccache, last_default_time))

| Helper macro for cc_ccache_f get_last_default_time()

#define cc_ccache_get_change_time | ( | ccache,
|  | change_time |  | ) | ((ccache) -> functions -> get_change_time (ccache, change_time))

| Helper macro for cc_ccache_f get_change_time()

#define cc_ccache_move | ( | source,
|  | destination |  | ) | ((source) -> functions -> move (source, destination))

| Helper macro for cc_ccache_f move()

#define cc_ccache_compare | ( | ccache,
|  | compare_to,
|  | equal |  | ) | ((ccache) -> functions -> compare (ccache, compare_to, equal))

| Helper macro for cc_ccache_f compare()

#define cc_ccache_get_kdc_time_offset | ( | ccache,
|  | version,
|  | time_offset |  | ) | ((ccache) -> functions -> get_kdc_time_offset (ccache, version, time_offset))

| Helper macro for cc_ccache_f get_kdc_time_offset()

#define cc_ccache_set_kdc_time_offset | ( | ccache,
|  | version,
|  | time_offset |  | ) | ((ccache) -> functions -> set_kdc_time_offset (ccache, version, time_offset))

| Helper macro for cc_ccache_f set_kdc_time_offset()

#define cc_ccache_clear_kdc_time_offset | ( | ccache,
|  | version |  | ) | ((ccache) -> functions -> clear_kdc_time_offset (ccache, version))

| Helper macro for cc_ccache_f clear_kdc_time_offset()

#define cc_ccache_wait_for_change | ( | ccache |  | ) | ((ccache) -> functions -> wait_for_change (ccache))

| Helper macro for cc_ccache_f wait_for_change()

#define cc_string_release | ( | string |  | ) | ((string) -> functions -> release (string))

| Helper macro for cc_string_f release()

#define cc_credentials_release | ( | credentials |  | ) | ((credentials) -> functions -> release (credentials))

| Helper macro for cc_credentials_f release()

#define cc_credentials_compare | ( | credentials,
|  | compare_to,
|  | equal |  | ) | ((credentials) -> functions -> compare (credentials, compare_to, equal))

| Helper macro for cc_credentials_f compare()

#define cc_ccache_iterator_release | ( | iterator |  | ) | ((iterator) -> functions -> release (iterator))

| Helper macro for cc_ccache_iterator_f release()

#define cc_ccache_iterator_next | ( | iterator,
|  | ccache |  | ) | ((iterator) -> functions -> next (iterator, ccache))

| Helper macro for cc_ccache_iterator_f next()

#define cc_ccache_iterator_clone | ( | iterator,
|  | new_iterator |  | ) | ((iterator) -> functions -> clone (iterator, new_iterator))

| Helper macro for cc_ccache_iterator_f clone()

#define cc_credentials_iterator_release | ( | iterator |  | ) | ((iterator) -> functions -> release (iterator))

| Helper macro for cc_credentials_iterator_f release()

#define cc_credentials_iterator_next | ( | iterator,
|  | credentials |  | ) | ((iterator) -> functions -> next (iterator, credentials))

| Helper macro for cc_credentials_iterator_f next()

#define cc_credentials_iterator_clone | ( | iterator,
|  | new_iterator |  | ) | ((iterator) -> functions -> clone (iterator, new_iterator))

| Helper macro for cc_credentials_iterator_f clone()