]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/cert.h
2 * "$Id: cert.h 7383 2008-03-20 20:58:07Z mike $"
4 * Authentication certificate definitions for the Common UNIX
5 * Printing System (CUPS).
7 * Copyright 2007-2008 by Apple Inc.
8 * Copyright 1997-2005 by Easy Software Products.
10 * These coded instructions, statements, and computer programs are the
11 * property of Apple Inc. and are protected by Federal copyright
12 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 * which should have been included with this file. If this file is
14 * file is missing or damaged, see the license at "http://www.cups.org/".
18 * Certificate structure...
21 typedef struct cupsd_cert_s
23 struct cupsd_cert_s
*next
; /* Next certificate in list */
24 int pid
; /* Process ID (0 for root certificate) */
25 char certificate
[33]; /* 32 hex characters, or 128 bits */
26 char username
[33]; /* Authenticated username */
28 krb5_ccache ccache
; /* Kerberos credential cache */
29 #endif /* HAVE_GSSAPI */
37 VAR cupsd_cert_t
*Certs
/* List of certificates */
39 VAR
time_t RootCertTime
/* Root certificate update time */
47 extern void cupsdAddCert(int pid
, const char *username
,
49 extern void cupsdDeleteCert(int pid
);
50 extern void cupsdDeleteAllCerts(void);
51 extern cupsd_cert_t
*cupsdFindCert(const char *certificate
);
52 extern void cupsdInitCerts(void);
56 * End of "$Id: cert.h 7383 2008-03-20 20:58:07Z mike $".