KIM should not provide keytab functions when building lite framework
authorAlexandra Ellwood <lxs@mit.edu>
Fri, 22 Aug 2008 15:36:33 +0000 (15:36 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Fri, 22 Aug 2008 15:36:33 +0000 (15:36 +0000)
ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20684 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/lib/kim-lite.exports [new file with mode: 0644]
src/kim/lib/kim_ccache.c
src/kim/lib/kim_credential.c

diff --git a/src/kim/lib/kim-lite.exports b/src/kim/lib/kim-lite.exports
new file mode 100644 (file)
index 0000000..39cb486
--- /dev/null
@@ -0,0 +1,142 @@
+kim_string_get_last_error_message
+
+kim_string_copy
+kim_string_compare
+kim_string_free
+
+kim_identity_create_from_string
+kim_identity_create_from_components
+kim_identity_create_from_krb5_principal
+kim_identity_copy
+kim_identity_compare
+kim_identity_get_string
+kim_identity_get_display_string
+kim_identity_get_realm
+kim_identity_get_number_of_components
+kim_identity_get_component_at_index
+kim_identity_get_krb5_principal
+kim_identity_get_gss_name
+kim_identity_change_password
+kim_identity_change_password_to_password
+kim_identity_free
+
+kim_prompt_callback_default
+kim_prompt_callback_gui
+kim_prompt_callback_cli
+kim_prompt_callback_none
+
+kim_options_create
+kim_options_copy
+kim_options_set_prompt_callback
+kim_options_get_prompt_callback
+kim_options_set_data
+kim_options_get_data
+kim_options_set_prompt_response
+kim_options_get_prompt_response
+kim_options_set_start_time
+kim_options_get_start_time
+kim_options_set_lifetime
+kim_options_get_lifetime
+kim_options_set_renewable
+kim_options_get_renewable
+kim_options_set_renewal_lifetime
+kim_options_get_renewal_lifetime
+kim_options_set_forwardable
+kim_options_get_forwardable
+kim_options_set_proxiable
+kim_options_get_proxiable
+kim_options_set_addressless
+kim_options_get_addressless
+kim_options_set_service_name
+kim_options_get_service_name
+kim_options_free
+
+kim_selection_hints_create
+kim_selection_hints_copy
+kim_selection_hints_set_hint
+kim_selection_hints_get_hint
+kim_selection_hints_set_application_name
+kim_selection_hints_get_application_name
+kim_selection_hints_set_explanation
+kim_selection_hints_get_explanation
+kim_selection_hints_set_options
+kim_selection_hints_get_options
+kim_selection_hints_set_allow_user_interaction
+kim_selection_hints_get_allow_user_interaction
+kim_selection_hints_set_remember_identity
+kim_selection_hints_get_remember_identity
+kim_selection_hints_get_identity
+kim_selection_hints_remember_identity
+kim_selection_hints_forget_identity
+kim_selection_hints_free
+
+kim_favorite_identities_create
+kim_favorite_identities_copy
+kim_favorite_identities_get_number_of_identities
+kim_favorite_identities_get_identity_at_index
+kim_favorite_identities_add_identity
+kim_favorite_identities_remove_identity
+kim_favorite_identities_remove_all_identities
+kim_favorite_identities_free
+
+kim_preferences_create
+kim_preferences_copy
+kim_preferences_set_options
+kim_preferences_get_options
+kim_preferences_set_remember_options
+kim_preferences_get_remember_options
+kim_preferences_set_client_identity
+kim_preferences_get_client_identity
+kim_preferences_set_remember_client_identity
+kim_preferences_get_remember_client_identity
+kim_preferences_set_favorite_identities
+kim_preferences_get_favorite_identities
+kim_preferences_synchronize
+kim_preferences_free
+
+kim_credential_iterator_create
+kim_credential_iterator_next
+kim_credential_iterator_free
+
+kim_credential_create_new
+kim_credential_create_from_krb5_creds
+kim_credential_copy
+kim_credential_get_krb5_creds
+kim_credential_get_client_identity
+kim_credential_get_service_identity
+kim_credential_is_tgt
+kim_credential_get_state
+kim_credential_get_start_time
+kim_credential_get_expiration_time
+kim_credential_get_renewal_expiration_time
+kim_credential_store
+kim_credential_renew
+kim_credential_validate
+kim_credential_free
+
+kim_ccache_iterator_create
+kim_ccache_iterator_next
+kim_ccache_iterator_free
+
+kim_ccache_create_new
+kim_ccache_create_new_if_needed
+kim_ccache_create_from_client_identity
+kim_ccache_create_from_default
+kim_ccache_create_from_type_and_name
+kim_ccache_create_from_krb5_ccache
+kim_ccache_copy
+kim_ccache_get_krb5_ccache
+kim_ccache_get_name
+kim_ccache_get_type
+kim_ccache_get_display_name
+kim_ccache_get_client_identity
+kim_ccache_get_valid_credential
+kim_ccache_get_state
+kim_ccache_get_start_time
+kim_ccache_get_expiration_time
+kim_ccache_get_renewal_expiration_time
+kim_ccache_set_default
+kim_ccache_renew
+kim_ccache_validate
+kim_ccache_destroy
+kim_ccache_free
index 44a073c74279a5141e283653b710563738ddc1c1..f2b6d16d367fc434c1c67a4a484441c57107482c 100644 (file)
@@ -313,6 +313,8 @@ kim_error kim_ccache_create_from_client_identity (kim_ccache   *out_ccache,
     return check_error (err);
 }
 
+#ifndef LEAN_CLIENT
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_ccache_create_from_keytab (kim_ccache    *out_ccache,
@@ -345,6 +347,8 @@ kim_error kim_ccache_create_from_keytab (kim_ccache    *out_ccache,
     return check_error (err);
 }
 
+#endif /* LEAN_CLIENT */
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_ccache_create_from_default (kim_ccache *out_ccache)
@@ -1021,6 +1025,8 @@ kim_error kim_ccache_set_default (kim_ccache io_ccache)
     return check_error (err);
 }
 
+#ifndef LEAN_CLIENT
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_ccache_verify (kim_ccache   in_ccache,
@@ -1047,6 +1053,8 @@ kim_error kim_ccache_verify (kim_ccache   in_ccache,
     return check_error (err);
 }
 
+#endif /* LEAN_CLIENT */
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_ccache_renew (kim_ccache  in_ccache,
index 0fb0e7e5a266093b8beb47812768eeea2e33960c..5467c497b55a837684d60989187b4033c10fddc9 100644 (file)
@@ -209,6 +209,8 @@ kim_error kim_credential_create_new (kim_credential *out_credential,
     return check_error (err);
 }
 
+#ifndef LEAN_CLIENT
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_credential_create_from_keytab (kim_credential *out_credential,
@@ -340,6 +342,8 @@ kim_error kim_credential_create_from_keytab (kim_credential *out_credential,
     return check_error (err);
 }
 
+#endif /* LEAN_CLIENT */
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_credential_create_from_krb5_creds (kim_credential *out_credential,
@@ -706,6 +710,8 @@ kim_error kim_credential_store (kim_credential  in_credential,
     return check_error (err);
 }
 
+#ifndef LEAN_CLIENT
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_credential_verify (kim_credential in_credential,
@@ -802,6 +808,8 @@ kim_error kim_credential_verify (kim_credential in_credential,
     return check_error (err);
 }
 
+#endif /* LEAN_CLIENT */
+
 /* ------------------------------------------------------------------------ */
 
 kim_error kim_credential_renew (kim_credential *io_credential,