diff options
author | Russ Allbery <rra@stanford.edu> | 2007-10-05 02:58:47 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-10-05 02:58:47 +0000 |
commit | dbd33500b645f9caaa6dbb7d18a3f4932b53847a (patch) | |
tree | 29ccd775f40db8b862e1a6c9851c503cfa0e503b /client/internal.h | |
parent | f21fba65f194ff26bf72e23f0db311314529720b (diff) |
The wallet client now automatically sets the sync attribute on a keytab
object when get is called with the -S flag.
Diffstat (limited to 'client/internal.h')
-rw-r--r-- | client/internal.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 |