freebsd-skq/crypto/heimdal/kcm/kcm-protos.h
stas e7e0b34988 - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
  o kgetcred(1) allows one to manually get a ticket for a particular service.
  o kf(1) securily forwards ticket to another host through an authenticated
    and encrypted stream.
  o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
    and other user kerberos operations. klist and kswitch are just symlinks
    to kcc(1) now.
  o kswitch(1) allows you to easily switch between kerberos credentials if
    you're running KCM.
  o hxtool(1) is a certificate management tool to use with PKINIT.
  o string2key(1) maps a password into key.
  o kdigest(8) is a userland tool to access the KDC's digest interface.
  o kimpersonate(8) creates a "fake" ticket for a service.

  We also now install manpages for some lirbaries that were not installed
  before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4.  All users are
  recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default.  To enable DES support (used
  by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
  disabled due to the function they use (krb5_get_err_text(3)) being
  deprecated.  I plan to work on this next.

- Heimdal's KDC now require sqlite to operate.  We use the bundled version
  and install it as libheimsqlite.  If some other FreeBSD components will
  require it in the future we can rename it to libbsdsqlite and use for these
  components as well.

- This is not a latest Heimdal version, the new one was released while I was
  working on the update.  I will update it to 1.5.2 soon, as it fixes some
  important bugs and security issues.
2012-03-22 08:48:42 +00:00

307 lines
5.5 KiB
C

/* This is a generated file */
#ifndef __kcm_protos_h__
#define __kcm_protos_h__
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
krb5_error_code
kcm_access (
krb5_context /*context*/,
kcm_client */*client*/,
kcm_operation /*opcode*/,
kcm_ccache /*ccache*/);
krb5_error_code
kcm_ccache_acquire (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_creds **/*credp*/);
krb5_error_code
kcm_ccache_destroy (
krb5_context /*context*/,
const char */*name*/);
krb5_error_code
kcm_ccache_destroy_client (
krb5_context /*context*/,
kcm_client */*client*/,
const char */*name*/);
krb5_error_code
kcm_ccache_destroy_if_empty (
krb5_context /*context*/,
kcm_ccache /*ccache*/);
krb5_error_code
kcm_ccache_enqueue_default (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_creds */*newcred*/);
struct kcm_creds *
kcm_ccache_find_cred_uuid (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
kcmuuid_t /*uuid*/);
char *
kcm_ccache_first_name (kcm_client */*client*/);
krb5_error_code
kcm_ccache_gen_new (
krb5_context /*context*/,
pid_t /*pid*/,
uid_t /*uid*/,
gid_t /*gid*/,
kcm_ccache */*ccache*/);
krb5_error_code
kcm_ccache_get_uuids (
krb5_context /*context*/,
kcm_client */*client*/,
kcm_operation /*opcode*/,
krb5_storage */*sp*/);
krb5_error_code
kcm_ccache_new (
krb5_context /*context*/,
const char */*name*/,
kcm_ccache */*ccache*/);
krb5_error_code
kcm_ccache_new_client (
krb5_context /*context*/,
kcm_client */*client*/,
const char */*name*/,
kcm_ccache */*ccache_p*/);
char *kcm_ccache_nextid (
pid_t /*pid*/,
uid_t /*uid*/,
gid_t /*gid*/);
krb5_error_code
kcm_ccache_refresh (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_creds **/*credp*/);
krb5_error_code
kcm_ccache_remove_cred (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_flags /*whichfields*/,
const krb5_creds */*mcreds*/);
krb5_error_code
kcm_ccache_remove_cred_internal (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_flags /*whichfields*/,
const krb5_creds */*mcreds*/);
krb5_error_code
kcm_ccache_remove_creds (
krb5_context /*context*/,
kcm_ccache /*ccache*/);
krb5_error_code
kcm_ccache_remove_creds_internal (
krb5_context /*context*/,
kcm_ccache /*ccache*/);
krb5_error_code
kcm_ccache_resolve (
krb5_context /*context*/,
const char */*name*/,
kcm_ccache */*ccache*/);
krb5_error_code
kcm_ccache_resolve_by_uuid (
krb5_context /*context*/,
kcmuuid_t /*uuid*/,
kcm_ccache */*ccache*/);
krb5_error_code
kcm_ccache_resolve_client (
krb5_context /*context*/,
kcm_client */*client*/,
kcm_operation /*opcode*/,
const char */*name*/,
kcm_ccache */*ccache*/);
krb5_error_code
kcm_ccache_retrieve_cred (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_flags /*whichfields*/,
const krb5_creds */*mcreds*/,
krb5_creds **/*credp*/);
krb5_error_code
kcm_ccache_retrieve_cred_internal (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_flags /*whichfields*/,
const krb5_creds */*mcreds*/,
krb5_creds **/*creds*/);
krb5_error_code
kcm_ccache_store_cred (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_creds */*creds*/,
int /*copy*/);
krb5_error_code
kcm_ccache_store_cred_internal (
krb5_context /*context*/,
kcm_ccache /*ccache*/,
krb5_creds */*creds*/,
int /*copy*/,
krb5_creds **/*credp*/);
krb5_error_code
kcm_chmod (
krb5_context /*context*/,
kcm_client */*client*/,
kcm_ccache /*ccache*/,
uint16_t /*mode*/);
krb5_error_code
kcm_chown (
krb5_context /*context*/,
kcm_client */*client*/,
kcm_ccache /*ccache*/,
uid_t /*uid*/,
gid_t /*gid*/);
krb5_error_code
kcm_cleanup_events (
krb5_context /*context*/,
kcm_ccache /*ccache*/);
void
kcm_configure (
int /*argc*/,
char **/*argv*/);
krb5_error_code
kcm_debug_ccache (krb5_context /*context*/);
krb5_error_code
kcm_debug_events (krb5_context /*context*/);
krb5_error_code
kcm_dispatch (
krb5_context /*context*/,
kcm_client */*client*/,
krb5_data */*req_data*/,
krb5_data */*resp_data*/);
krb5_error_code
kcm_enqueue_event (
krb5_context /*context*/,
kcm_event */*event*/);
krb5_error_code
kcm_enqueue_event_internal (
krb5_context /*context*/,
kcm_event */*event*/);
krb5_error_code
kcm_enqueue_event_relative (
krb5_context /*context*/,
kcm_event */*event*/);
krb5_error_code
kcm_internal_ccache (
krb5_context /*context*/,
kcm_ccache /*c*/,
krb5_ccache /*id*/);
int
kcm_is_same_session (
kcm_client */*client*/,
uid_t /*uid*/,
pid_t /*session*/);
void
kcm_log (
int /*level*/,
const char */*fmt*/,
...);
char*
kcm_log_msg (
int /*level*/,
const char */*fmt*/,
...);
char*
kcm_log_msg_va (
int /*level*/,
const char */*fmt*/,
va_list /*ap*/);
const char *
kcm_op2string (kcm_operation /*opcode*/);
void
kcm_openlog (void);
krb5_error_code
kcm_release_ccache (
krb5_context /*context*/,
kcm_ccache /*c*/);
krb5_error_code
kcm_remove_event (
krb5_context /*context*/,
kcm_event */*event*/);
krb5_error_code
kcm_retain_ccache (
krb5_context /*context*/,
kcm_ccache /*ccache*/);
krb5_error_code
kcm_run_events (
krb5_context /*context*/,
time_t /*now*/);
void
kcm_service (
void */*ctx*/,
const heim_idata */*req*/,
const heim_icred /*cred*/,
heim_ipc_complete /*complete*/,
heim_sipc_call /*cctx*/);
void
kcm_session_add (pid_t /*session_id*/);
void
kcm_session_setup_handler (void);
krb5_error_code
kcm_zero_ccache_data (
krb5_context /*context*/,
kcm_ccache /*cache*/);
krb5_error_code
kcm_zero_ccache_data_internal (
krb5_context /*context*/,
kcm_ccache_data */*cache*/);
#ifdef __cplusplus
}
#endif
#endif /* __kcm_protos_h__ */