From dbd33500b645f9caaa6dbb7d18a3f4932b53847a Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 5 Oct 2007 02:58:47 +0000 Subject: The wallet client now automatically sets the sync attribute on a keytab object when get is called with the -S flag. --- client/internal.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/internal.h') diff --git a/client/internal.h b/client/internal.h index 960554e..7980fef 100644 --- a/client/internal.h +++ b/client/internal.h @@ -37,9 +37,10 @@ int run_command(struct remctl *, const char **command, char **data, /* Given a remctl object, the type for the wallet interface, the name of a keytab object, and a file name, call the correct wallet commands to - download a keytab and write it to that file. */ -void get_keytab(struct remctl *, const char *type, const char *name, - const char *file); + download a keytab and write it to that file. If srvtab is not NULL, write + a srvtab based on the keytab after a successful download. */ +int get_keytab(struct remctl *, const char *type, const char *name, + const char *file, const char *srvtab); /* Given a filename, some data, and a length, write that data to the given file safely and atomically by creating file.new, writing the data, linking -- cgit v1.2.3