X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=scheduler%2Fcert.h;h=f2dc637bf0e326849b221c8526c2a7ffb000b469;hb=6922317779b71588d42494cd2393b2e64c0f1bec;hp=a6c24e86a152abf7148da96538bfe4e89de35d4d;hpb=ac884b6a1c1c3dfe73ef7e770d91ea225002a2c3;p=thirdparty%2Fcups.git diff --git a/scheduler/cert.h b/scheduler/cert.h index a6c24e86a..f2dc637bf 100644 --- a/scheduler/cert.h +++ b/scheduler/cert.h @@ -1,10 +1,9 @@ /* - * "$Id: cert.h 6649 2007-07-11 21:46:42Z mike $" + * "$Id$" * - * Authentication certificate definitions for the Common UNIX - * Printing System (CUPS). + * Authentication certificate definitions for the CUPS scheduler. * - * Copyright 2007-2008 by Apple Inc. + * Copyright 2007-2012 by Apple Inc. * Copyright 1997-2005 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -24,9 +23,7 @@ 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 */ + int type; /* AuthType for username */ } cupsd_cert_t; @@ -44,14 +41,13 @@ VAR time_t RootCertTime /* Root certificate update time */ * Prototypes... */ -extern void cupsdAddCert(int pid, const char *username, - void *ccache); +extern void cupsdAddCert(int pid, const char *username, int type); extern void cupsdDeleteCert(int pid); extern void cupsdDeleteAllCerts(void); -extern const char *cupsdFindCert(const char *certificate); +extern cupsd_cert_t *cupsdFindCert(const char *certificate); extern void cupsdInitCerts(void); /* - * End of "$Id: cert.h 6649 2007-07-11 21:46:42Z mike $". + * End of "$Id$". */