aboutsummaryrefslogtreecommitdiff
path: root/client/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/internal.h')
-rw-r--r--client/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/internal.h b/client/internal.h
index 8595412..88b0e24 100644
--- a/client/internal.h
+++ b/client/internal.h
@@ -29,6 +29,11 @@ struct remctl;
BEGIN_DECLS
+/* Given a Kerberos context and a principal name, obtain Kerberos credentials
+ for that principal and store them in a memory cache for use by later
+ operations. */
+void kinit(krb5_context, const char *principal);
+
/* Given a remctl object, run a remctl command. If data is non-NULL, saves
the standard output from the command into data with the length in length.
Otherwise, prints it to standard output. Either way, prints standard error