diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-01-22 22:37:41 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-01-22 22:37:41 +0000 |
commit | 5bd77a735f888a051bcc81bbb241ddac9274b059 (patch) | |
tree | 3d589f86d660d0dfae3501c8be780e56173bdf9c /scheduler/cert.h | |
parent | 91c84a3551145559de2956179661e111e373db95 (diff) | |
download | cups-5bd77a735f888a051bcc81bbb241ddac9274b059.tar.gz |
Merge changes from CUPS 1.4svn-r7242.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@598 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/cert.h')
-rw-r--r-- | scheduler/cert.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scheduler/cert.h b/scheduler/cert.h index 614017149..bac490ae6 100644 --- a/scheduler/cert.h +++ b/scheduler/cert.h @@ -4,7 +4,7 @@ * Authentication certificate definitions for the Common UNIX * Printing System (CUPS). * - * Copyright 2007 by Apple Inc. + * Copyright 2007-2008 by Apple Inc. * Copyright 1997-2005 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -24,6 +24,9 @@ typedef struct cupsd_cert_s int pid; /* Process ID (0 for root certificate) */ char certificate[33]; /* 32 hex characters, or 128 bits */ char username[33]; /* Authenticated username */ +#ifdef HAVE_GSSAPI + krb5_ccache ccache; /* Kerberos credential cache */ +#endif /* HAVE_GSSAPI */ } cupsd_cert_t; @@ -39,7 +42,8 @@ VAR time_t RootCertTime; /* Root certificate update time */ * Prototypes... */ -extern void cupsdAddCert(int pid, const char *username); +extern void cupsdAddCert(int pid, const char *username, + void *ccache); extern void cupsdDeleteCert(int pid); extern void cupsdDeleteAllCerts(void); extern const char *cupsdFindCert(const char *certificate); |